Linux Kernel
3.7.1
|
Data Fields | |
struct drm_hash_item | hash |
struct list_head | head |
struct kref | kref |
enum ttm_ref_type | ref_type |
struct ttm_base_object * | obj |
struct ttm_object_file * | tfile |
struct ttm_ref_object
: Hash entry for the per-file object reference hash.
: List entry for the per-file list of ref-objects.
: Ref count.
: Base object this ref object is referencing.
: Type of ref object.
This is similar to an idr object, but it also has a hash table entry that allows lookup with a pointer to the referenced object as a key. In that way, one can easily detect whether a base object is referenced by a particular ttm_object_file. It also carries a ref count to avoid creating multiple ref objects if a ttm_object_file references the same base object more than once.
Definition at line 110 of file ttm_object.c.
struct drm_hash_item hash |
Definition at line 111 of file ttm_object.c.
Definition at line 112 of file ttm_object.c.
Definition at line 113 of file ttm_object.c.
struct ttm_base_object* obj |
Definition at line 115 of file ttm_object.c.
enum ttm_ref_type ref_type |
Definition at line 114 of file ttm_object.c.
struct ttm_object_file* tfile |
Definition at line 116 of file ttm_object.c.