Searched refs:kref_read (Results 1 – 6 of 6) sorted by relevance
34 static inline unsigned int kref_read(const struct kref *kref) in kref_read() function
134 WARN_ON_ONCE(kref_read(&kobj->kref) == 0); in kobject_has_children()
259 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
730 WARN_ON(!kref_read(&bo->kref)); in ttm_bo_reserve()755 WARN_ON(!kref_read(&bo->kref)); in ttm_bo_reserve_slowpath()
197 if (kref_read(&h->ref) <= 2 && in cache_put()
1021 kref_read(&d->dev.kobj.kref)); in hci_dev_put()1029 kref_read(&d->dev.kobj.kref)); in hci_dev_hold()