Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmmap_lock.h122 vma->vm_lock_seq = UINT_MAX; in vma_lock_init()
175 if (READ_ONCE(vma->vm_lock_seq) == READ_ONCE(mm->mm_lock_seq.sequence)) in vma_start_read()
227 if (unlikely(vma->vm_lock_seq == raw_read_seqcount(&mm->mm_lock_seq))) { in vma_start_read()
280 return (vma->vm_lock_seq == *mm_lock_seq); in __is_vma_write_locked()
/linux/tools/testing/vma/
H A Dvma_internal.h345 unsigned int vm_lock_seq; member
652 vma->vm_lock_seq = UINT_MAX; in vma_init()
931 vma->vm_lock_seq++; in vma_start_write()
H A Dvma.c123 vma->vm_lock_seq = UINT_MAX; in alloc_and_link_vma()
271 int seq = vma->vm_lock_seq; in vma_write_started()
274 vma->vm_lock_seq = UINT_MAX; in vma_write_started()
/linux/mm/
H A Dmmap_lock.c95 WRITE_ONCE(vma->vm_lock_seq, mm_lock_seq); in __vma_start_write()