Home
last modified time | relevance | path

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

/include/linux/
Dmm.h721 int oldcnt; in vma_refcount_put() local
724 if (!__refcount_dec_and_test(&vma->vm_refcnt, &oldcnt)) { in vma_refcount_put()
726 if (is_vma_writer_only(oldcnt - 1)) in vma_refcount_put()
743 int oldcnt; in vma_start_read() local
761 if (unlikely(!__refcount_inc_not_zero_limited_acquire(&vma->vm_refcnt, &oldcnt, in vma_start_read()
764 return oldcnt ? NULL : ERR_PTR(-EAGAIN); in vma_start_read()
795 int oldcnt; in vma_start_read_locked_nested() local
798 if (unlikely(!__refcount_inc_not_zero_limited_acquire(&vma->vm_refcnt, &oldcnt, in vma_start_read_locked_nested()