Home
last modified time | relevance | path

Searched refs:oldcnt (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dmmap_lock.h140 int oldcnt; in vma_refcount_put() local
143 if (!__refcount_dec_and_test(&vma->vm_refcnt, &oldcnt)) { in vma_refcount_put()
145 if (is_vma_writer_only(oldcnt - 1)) in vma_refcount_put()
158 int oldcnt; in vma_start_read_locked_nested() local
161 if (unlikely(!__refcount_inc_not_zero_limited_acquire(&vma->vm_refcnt, &oldcnt, in vma_start_read_locked_nested()
/linux/mm/
H A Dmmap_lock.c167 int oldcnt; in vma_start_read() local
188 if (unlikely(!__refcount_inc_not_zero_limited_acquire(&vma->vm_refcnt, &oldcnt, in vma_start_read()
191 vma = oldcnt ? NULL : ERR_PTR(-EAGAIN); in vma_start_read()
/linux/net/netfilter/
H A Dnft_ct.c234 int oldcnt; in nft_ct_set_zone_eval() local
255 __refcount_inc(&ct->ct_general.use, &oldcnt); in nft_ct_set_zone_eval()
256 if (likely(oldcnt == 1)) { in nft_ct_set_zone_eval()