Lines Matching defs:refcount
74 struct kref refcount;
136 kref_get(&tfile->refcount);
143 container_of(kref, struct ttm_object_file, refcount);
154 kref_put(&tfile->refcount, ttm_object_file_destroy);
174 kref_init(&base->refcount);
201 container_of(kref, struct ttm_base_object, refcount);
225 kref_put(&base->refcount, ttm_release_base);
237 * of the object requires a refcount to be taken using kref_get_unless_zero().
276 if (!kref_get_unless_zero(&base->refcount))
292 if (base && !kref_get_unless_zero(&base->refcount))
402 kref_get(&base->refcount);
504 kref_init(&tfile->refcount);
574 * Obtain a file reference from a lookup structure that doesn't refcount
588 * ttm_prime_refcount_release - refcount release method for a prime object.