*参照元 [#v3891446] #backlinks *説明 [#y0029635] -パス: [[linux-4.4.1/drivers/staging/android/ion/ion.c]] -FIXME: これは何? --説明 **参考 [#rb2a4582] *実装 [#s3d0fc6a] /** * struct ion_client - a process/hw block local address space * @node: node in the tree of all clients * @dev: backpointer to ion device * @handles: an rb tree of all the handles in this client * @idr: an idr space for allocating handle ids * @lock: lock protecting the tree of handles * @name: used for debugging * @display_name: used for debugging (unique version of @name) * @display_serial: used for debugging (to make display_name unique) * @task: used for debugging * * A client represents a list of buffers this client may access. * The mutex stored here is used to protect both handles tree * as well as the handles themselves, and should be held while modifying either. */ struct ion_client { struct rb_node node; struct ion_device *dev; struct rb_root handles; - --[[linux-4.4.1/rb_node]] --[[linux-4.4.1/ion_device]] --[[linux-4.4.1/rb_root]] struct idr idr; struct mutex lock; - --[[linux-4.4.1/idr]] --[[linux-4.4.1/mutex]] const char *name; char *display_name; int display_serial; struct task_struct *task; pid_t pid; - --[[linux-4.4.1/task_struct]] --[[linux-4.4.1/pid_t]] struct dentry *debug_root; - --[[linux-4.4.1/dentry]] }; *コメント [#s5d8e363]