Searched refs:vm_ref_count (Results 1 – 4 of 4) sorted by relevance
220 return atomic_cmpxchg(&vma->vm_ref_count, 1, -1) == 1; in trylock_vma_ref_count()232 VM_BUG_ON_VMA(atomic_cmpxchg(&vma->vm_ref_count, -1, 1) != -1, in unlock_vma_ref_count()
183 if (atomic_dec_and_test(&vma->vm_ref_count)) in put_vma()2441 if (vma && !atomic_inc_unless_negative(&vma->vm_ref_count)) in get_vma()
386 atomic_t vm_ref_count; /* see vma_get(), vma_put() */ member
667 atomic_set(&vma->vm_ref_count, 1); in INIT_VMA()