Home
last modified time | relevance | path

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

/include/linux/
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()
166 int oldcnt; in vma_start_read() local
184 if (unlikely(!__refcount_inc_not_zero_limited_acquire(&vma->vm_refcnt, &oldcnt, in vma_start_read()
187 return oldcnt ? NULL : ERR_PTR(-EAGAIN); in vma_start_read()
243 int oldcnt; in vma_start_read_locked_nested() local
246 if (unlikely(!__refcount_inc_not_zero_limited_acquire(&vma->vm_refcnt, &oldcnt, in vma_start_read_locked_nested()

Completed in 5 milliseconds