Lines Matching refs:refcount
363 kref_init(&fb->refcount);
386 container_of(kref, struct drm_framebuffer, refcount);
425 kref_get(&fb->refcount);
439 kref_put(&fb->refcount, drm_framebuffer_free);
448 kref_get(&fb->refcount);
460 kref_put(&fb->refcount, drm_framebuffer_free_bug);
547 * Since we're holding a reference ourselves, observing a refcount of 1
548 * means that we're the last holder and can skip it. Also, the refcount
557 if (atomic_read(&fb->refcount.refcount) > 1) {
1954 * connectors from it), hence we need to refcount the fbs across all