Searched refs:refcount (Results 1 - 13 of 13) sorted by relevance
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_linux.c | 33 atomic_set(&kref->refcount, 1); 39 atomic_inc(&kref->refcount); 45 if (!atomic_dec_uint_nv(&kref->refcount))
|
H A D | drm_stub.c | 107 kref_init(&master->refcount); 125 kref_get(&master->refcount); 131 struct drm_master *master = container_of(kref, struct drm_master, refcount); 172 kref_put(&(*master)->refcount, drm_master_destroy);
|
H A D | drm_drv.c | 480 kref_get(&obj->refcount); 487 kref_put(&obj->refcount, drm_gem_object_free); 496 kref_put(&obj->refcount, drm_gem_object_free);
|
H A D | drm_gem.c | 317 kref_init(&obj->refcount); 355 kref_init(&obj->refcount); 404 * doing the delete on it and dropping the refcount, or the user 405 * could race us to double-decrement the refcount and cause a 420 /* Release reference and decrement refcount. */ 741 kref_put(&obj->refcount, drm_gem_object_ref_bug);
|
H A D | drm_crtc.c | 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) > [all...] |
/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | drm_linux.h | 164 atomic_t refcount; member in struct:kref
|
H A D | radeon_state.c | 2016 * Note that refcount can be at most 2, since during a free refcount=3 2043 if ((dev_priv->surfaces[i].refcount != 0) && 2064 if ((dev_priv->surfaces[i].refcount == 1) && 2073 dev_priv->surfaces[i].refcount++; 2080 if ((dev_priv->surfaces[i].refcount == 1) && 2089 dev_priv->surfaces[i].refcount++; 2098 if (dev_priv->surfaces[i].refcount == 0) { 2105 dev_priv->surfaces[i].refcount = 1; 2139 dev_priv->surfaces[s->surface_index].refcount [all...] |
H A D | radeon_drv.h | 212 int refcount; member in struct:radeon_surface
|
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drm_linux.h | 172 atomic_t refcount; member in struct:kref
|
H A D | drm_crtc.h | 258 struct kref refcount; member in struct:drm_framebuffer
|
H A D | drmP.h | 594 struct kref refcount; member in struct:drm_gem_object 977 struct kref refcount; /* refcount for this master */ member in struct:drm_master
|
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | intel_display.c | 1408 if (pll->refcount == 0) { 1409 DRM_ERROR("pll refcount equal to 0"); 1441 if (pll->refcount == 0) { 1442 DRM_ERROR("pll refcount equal to 0"); 3034 if (pll->refcount == 0) { 3035 DRM_ERROR("bad PCH PLL refcount\n"); 3039 if (--pll->refcount == 0) { 3043 DRM_ERROR("PCH PLL refcount is 0, but it's still active"); 3076 if (pll->refcount == 0) 3081 DRM_DEBUG_KMS("CRTC:%d sharing existing %s (refcount [all...] |
H A D | i915_drv.h | 150 int refcount; /* count of number of CRTCs sharing this PLL */ member in struct:intel_shared_dpll
|
Completed in 77 milliseconds