/include/linux/ |
D | kref.h | 24 atomic_t refcount; member 33 atomic_set(&kref->refcount, 1); in kref_init() 46 WARN_ON_ONCE(atomic_inc_return(&kref->refcount) < 2); in kref_get() 72 if (atomic_sub_and_test((int) count, &kref->refcount)) { in kref_sub() 106 if (unlikely(!atomic_add_unless(&kref->refcount, -1, 1))) { in kref_put_mutex() 108 if (unlikely(!atomic_dec_and_test(&kref->refcount))) { in kref_put_mutex() 136 return atomic_add_unless(&kref->refcount, 1, 0); in kref_get_unless_zero()
|
D | iocontext.h | 98 atomic_long_t refcount; member 130 WARN_ON_ONCE(atomic_long_read(&ioc->refcount) <= 0); in get_io_context_active() 132 atomic_long_inc(&ioc->refcount); in get_io_context_active()
|
D | fence.h | 73 struct kref refcount; member 194 kref_put(&fence->refcount, fence_release); in fence_put() 206 kref_get(&fence->refcount); in fence_get() 218 if (kref_get_unless_zero(&fence->refcount)) in fence_get_rcu()
|
D | rmap.h | 37 atomic_t refcount; member 104 atomic_inc(&anon_vma->refcount); in get_anon_vma() 111 if (atomic_dec_and_test(&anon_vma->refcount)) in put_anon_vma()
|
D | cpu_rmap.h | 28 struct kref refcount; member
|
D | slab_def.h | 43 int refcount; member
|
D | zpool.h | 83 atomic_t refcount; member
|
D | slub_def.h | 77 int refcount; /* Refcount for slab cache destroy */ member
|
D | rpmsg.h | 110 struct kref refcount; member
|
D | tty_ldisc.h | 205 int refcount; member
|
/include/rdma/ |
D | rdmavt_mr.h | 86 atomic_t refcount; member 122 if (unlikely(atomic_dec_and_test(&mr->refcount))) in rvt_put_mr() 128 atomic_inc(&mr->refcount); in rvt_get_mr()
|
D | rdmavt_qp.h | 306 atomic_t refcount ____cacheline_aligned_in_smp; 439 atomic_t refcount; member 474 atomic_inc(&qp->refcount); in rvt_get_qp() 483 if (qp && atomic_dec_and_test(&qp->refcount)) in rvt_put_qp()
|
/include/net/ |
D | netrom.h | 96 atomic_t refcount; member 112 atomic_t refcount; member 121 atomic_inc(&((__nr_node)->refcount)) 125 if (atomic_dec_and_test(&nr_node->refcount)) { in nr_node_put() 131 atomic_inc(&((__nr_neigh)->refcount)) 135 if (atomic_dec_and_test(&nr_neigh->refcount)) { in nr_neigh_put()
|
D | ax25.h | 161 atomic_t refcount; member 170 atomic_inc(&((ax25)->refcount)) 174 if (atomic_dec_and_test(&assoc->refcount)) { in ax25_uid_put() 188 atomic_t refcount; member 197 atomic_inc(&ax25_rt->refcount); in ax25_hold_route() 204 if (atomic_dec_and_test(&ax25_rt->refcount)) in ax25_put_route() 247 atomic_t refcount; member 269 atomic_inc(&((__ax25)->refcount)) 273 if (atomic_dec_and_test(&ax25->refcount)) { in ax25_cb_put()
|
D | calipso.h | 60 atomic_t refcount; member
|
D | netlabel.h | 139 atomic_t refcount; member 298 atomic_set(&cache->refcount, 1); in netlbl_secattr_cache_alloc() 312 if (!atomic_dec_and_test(&cache->refcount)) in netlbl_secattr_cache_free()
|
/include/drm/ |
D | drm_gem.h | 55 struct kref refcount; member 199 kref_get(&obj->refcount); in drm_gem_object_reference() 221 kref_put(&obj->refcount, drm_gem_object_free); in __drm_gem_object_unreference()
|
D | drm_auth.h | 46 struct kref refcount; member
|
D | drm_framebuffer.h | 250 return atomic_read(&fb->base.refcount.refcount); in drm_framebuffer_read_refcount()
|
D | drm_mode_object.h | 57 struct kref refcount; member
|
D | drm_irq.h | 93 atomic_t refcount; /* number of users of vblank interruptsper crtc */ member
|
/include/media/ |
D | videobuf2-memops.h | 28 atomic_t *refcount; member
|
/include/drm/ttm/ |
D | ttm_object.h | 131 struct kref refcount; member
|
D | ttm_bo_driver.h | 867 WARN_ON(!atomic_read(&bo->kref.refcount)); in ttm_bo_reserve() 892 WARN_ON(!atomic_read(&bo->kref.refcount)); in ttm_bo_reserve_slowpath()
|
/include/linux/mlx5/ |
D | cq.h | 45 atomic_t refcount; member
|