- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#qa94e060]
#backlinks
*説明 [#za6344aa]
-パス: [[linux-4.4.1/drivers/staging/android/ion/ion.c]]
-FIXME: これは何?
--説明
**参考 [#ve604c82]
*実装 [#jf8505ab]
/**
* struct ion_device - the metadata of the ion device node
* @dev: the actual misc device
* @buffers: an rb tree of all the existing buffers
* @buffer_lock: lock protecting the tree of buffers
* @lock: rwsem protecting the tree of heaps and clients
* @heaps: list of all the heaps in the system
* @user_clients: list of all the clients created from userspace
*/
struct ion_device {
struct miscdevice dev;
-
--[[linux-4.4.1/miscdevice]]
struct rb_root buffers;
-
--[[linux-4.4.1/rb_root]]
struct mutex buffer_lock;
struct rw_semaphore lock;
-
--[[linux-4.4.1/mutex]]
--[[linux-4.4.1/rw_semaphore]]
struct plist_head heaps;
-
--[[linux-4.4.1/plist_head]]
long (*custom_ioctl)(struct ion_client *client, unsigned int cmd,
unsigned long arg);
-
--[[linux-4.4.1/ion_client]]
struct rb_root clients;
struct dentry *debug_root;
struct dentry *heaps_debug_root;
struct dentry *clients_debug_root;
-
--[[linux-4.4.1/dentry]]
};
*コメント [#q1544472]