Lines Matching refs:ttm_object_file
38 * struct ttm_object_file
60 struct ttm_object_file {
103 * a particular ttm_object_file. It also carries a ref count to avoid creating
104 * multiple ref objects if a ttm_object_file references the same base
114 struct ttm_object_file *tfile;
117 static inline struct ttm_object_file *
118 ttm_object_file_ref(struct ttm_object_file *tfile)
126 struct ttm_object_file *tfile =
127 container_of(kref, struct ttm_object_file, refcount);
133 static inline void ttm_object_file_unref(struct ttm_object_file **p_tfile)
135 struct ttm_object_file *tfile = *p_tfile;
142 int ttm_base_object_init(struct ttm_object_file *tfile,
214 struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file *tfile,
245 int ttm_ref_object_add(struct ttm_object_file *tfile,
314 struct ttm_object_file *tfile = ref->tfile;
332 int ttm_ref_object_base_unref(struct ttm_object_file *tfile,
353 void ttm_object_file_release(struct ttm_object_file **p_tfile)
358 struct ttm_object_file *tfile = *p_tfile;
382 struct ttm_object_file *ttm_object_file_init(struct ttm_object_device *tdev,
385 struct ttm_object_file *tfile = kmalloc(sizeof(*tfile), GFP_KERNEL);