Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 24 of 24) sorted by relevance

/include/linux/
Dkref.h23 atomic_t refcount; member
32 atomic_set(&kref->refcount, 1); in kref_init()
41 WARN_ON(!atomic_read(&kref->refcount)); in kref_get()
42 atomic_inc(&kref->refcount); in kref_get()
68 if (atomic_sub_and_test((int) count, &kref->refcount)) { in kref_sub()
115 return atomic_add_unless(&kref->refcount, 1, 0); in kref_get_unless_zero()
Diocontext.h102 atomic_long_t refcount; member
129 if (ioc && atomic_long_inc_not_zero(&ioc->refcount)) { in ioc_task_link()
Drmap.h37 atomic_t refcount; member
73 atomic_inc(&anon_vma->refcount); in get_anon_vma()
80 if (atomic_dec_and_test(&anon_vma->refcount)) in put_anon_vma()
Dtty_ldisc.h151 int refcount; member
Drpmsg.h147 struct kref refcount; member
Dremoteproc.h395 struct kref refcount; member
Dslub_def.h95 int refcount; /* Refcount for slab cache destroy */ member
Dpm.h497 unsigned int refcount; member
Dperf_event.h928 atomic_long_t refcount; member
1028 atomic_t refcount; member
Dcgroup.h219 atomic_t refcount; member
Disdn.h511 int refcount; /* Number of opens */ member
Dnetdevice.h236 int refcount; member
/include/net/
Dnetrom.h96 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()
Dax25.h159 atomic_t refcount; member
168 atomic_inc(&((ax25)->refcount))
172 if (atomic_dec_and_test(&assoc->refcount)) { in ax25_uid_put()
186 atomic_t refcount; member
195 atomic_inc(&ax25_rt->refcount); in ax25_hold_route()
202 if (atomic_dec_and_test(&ax25_rt->refcount)) in ax25_put_route()
245 atomic_t refcount; member
254 atomic_inc(&((__ax25)->refcount))
258 if (atomic_dec_and_test(&ax25->refcount)) { in ax25_cb_put()
Dnetlabel.h137 atomic_t refcount; member
239 atomic_set(&cache->refcount, 1); in netlbl_secattr_cache_alloc()
253 if (!atomic_dec_and_test(&cache->refcount)) in netlbl_secattr_cache_free()
Dcipso_ipv4.h89 atomic_t refcount; member
/include/media/
Dvideobuf2-memops.h26 atomic_t *refcount; member
/include/drm/ttm/
Dttm_object.h127 struct kref refcount; member
/include/linux/mlx4/
Ddevice.h419 atomic_t refcount; member
428 atomic_t refcount; member
440 atomic_t refcount; member
/include/linux/sunrpc/
Dcache.h178 if (atomic_read(&h->ref.refcount) <= 2 && in cache_put()
/include/rdma/
Dib_addr.h47 atomic_t refcount; member
/include/drm/
DdrmP.h626 struct kref refcount; member
684 struct kref refcount; /* refcount for this master */ member
1629 kref_get(&obj->refcount); in drm_gem_object_reference()
1636 kref_put(&obj->refcount, drm_gem_object_free); in drm_gem_object_unreference()
1645 kref_put(&obj->refcount, drm_gem_object_free); in drm_gem_object_unreference_unlocked()
/include/scsi/
Dlibiscsi.h136 atomic_t refcount; member
/include/sound/
Dcore.h135 atomic_t refcount; /* refcount for disconnection */ member