Lines Matching refs:kref
82 struct kref refcount;
125 struct kref kref; member
169 static void ttm_object_file_destroy(struct kref *kref) in ttm_object_file_destroy() argument
172 container_of(kref, struct ttm_object_file, refcount); in ttm_object_file_destroy()
224 static void ttm_release_base(struct kref *kref) in ttm_release_base() argument
227 container_of(kref, struct ttm_base_object, refcount); in ttm_release_base()
311 if (kref_get_unless_zero(&ref->kref)) { in ttm_ref_object_add()
329 kref_init(&ref->kref); in ttm_ref_object_add()
346 ttm_ref_object_release(struct kref *kref) in ttm_ref_object_release() argument
349 container_of(kref, struct ttm_ref_object, kref); in ttm_ref_object_release()
375 kref_put(&ref->kref, ttm_ref_object_release); in ttm_ref_object_base_unref()
397 ttm_ref_object_release(&ref->kref); in ttm_object_file_release()