Lines Matching refs:ttm_object_file

70 struct ttm_object_file {  struct
128 struct ttm_object_file *tfile;
133 static inline struct ttm_object_file *
134 ttm_object_file_ref(struct ttm_object_file *tfile) in ttm_object_file_ref()
142 struct ttm_object_file *tfile = in ttm_object_file_destroy()
143 container_of(kref, struct ttm_object_file, refcount); in ttm_object_file_destroy()
149 static inline void ttm_object_file_unref(struct ttm_object_file **p_tfile) in ttm_object_file_unref()
151 struct ttm_object_file *tfile = *p_tfile; in ttm_object_file_unref()
158 int ttm_base_object_init(struct ttm_object_file *tfile, in ttm_base_object_init()
230 struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file *tfile, in ttm_base_object_lookup()
284 bool ttm_ref_object_exists(struct ttm_object_file *tfile, in ttm_ref_object_exists()
320 int ttm_ref_object_add(struct ttm_object_file *tfile, in ttm_ref_object_add()
401 struct ttm_object_file *tfile = ref->tfile; in ttm_ref_object_release()
419 int ttm_ref_object_base_unref(struct ttm_object_file *tfile, in ttm_ref_object_base_unref()
440 void ttm_object_file_release(struct ttm_object_file **p_tfile) in ttm_object_file_release()
445 struct ttm_object_file *tfile = *p_tfile; in ttm_object_file_release()
469 struct ttm_object_file *ttm_object_file_init(struct ttm_object_device *tdev, in ttm_object_file_init()
472 struct ttm_object_file *tfile = kmalloc(sizeof(*tfile), GFP_KERNEL); in ttm_object_file_init()
626 int ttm_prime_fd_to_handle(struct ttm_object_file *tfile, in ttm_prime_fd_to_handle()
662 int ttm_prime_handle_to_fd(struct ttm_object_file *tfile, in ttm_prime_handle_to_fd()
758 int ttm_prime_object_init(struct ttm_object_file *tfile, size_t size, in ttm_prime_object_init()