Searched refs:refcount (Results 1 – 24 of 24) sorted by relevance
23 atomic_t refcount; member32 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()
102 atomic_long_t refcount; member129 if (ioc && atomic_long_inc_not_zero(&ioc->refcount)) { in ioc_task_link()
37 atomic_t refcount; member73 atomic_inc(&anon_vma->refcount); in get_anon_vma()80 if (atomic_dec_and_test(&anon_vma->refcount)) in put_anon_vma()
151 int refcount; member
147 struct kref refcount; member
395 struct kref refcount; member
95 int refcount; /* Refcount for slab cache destroy */ member
497 unsigned int refcount; member
928 atomic_long_t refcount; member1028 atomic_t refcount; member
219 atomic_t refcount; member
511 int refcount; /* Number of opens */ member
236 int refcount; member
96 atomic_t refcount; member112 atomic_t refcount; member121 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()
159 atomic_t refcount; member168 atomic_inc(&((ax25)->refcount))172 if (atomic_dec_and_test(&assoc->refcount)) { in ax25_uid_put()186 atomic_t refcount; member195 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; member254 atomic_inc(&((__ax25)->refcount))258 if (atomic_dec_and_test(&ax25->refcount)) { in ax25_cb_put()
137 atomic_t refcount; member239 atomic_set(&cache->refcount, 1); in netlbl_secattr_cache_alloc()253 if (!atomic_dec_and_test(&cache->refcount)) in netlbl_secattr_cache_free()
89 atomic_t refcount; member
26 atomic_t *refcount; member
127 struct kref refcount; member
419 atomic_t refcount; member428 atomic_t refcount; member440 atomic_t refcount; member
178 if (atomic_read(&h->ref.refcount) <= 2 && in cache_put()
47 atomic_t refcount; member
626 struct kref refcount; member684 struct kref refcount; /* refcount for this master */ member1629 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()
136 atomic_t refcount; member
135 atomic_t refcount; /* refcount for disconnection */ member