Home
last modified time | relevance | path

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

/linux/tools/testing/vma/
H A Dshared.c58 vma->vm_lock_seq = UINT_MAX; in alloc_and_link_vma()
90 int seq = vma->vm_lock_seq; in vma_write_started()
93 vma->vm_lock_seq = UINT_MAX; in vma_write_started()
/linux/tools/testing/vma/include/
H A Dcustom.h55 vma->vm_lock_seq++; in vma_start_write()
62 vma->vm_lock_seq++; in vma_start_write_killable()
H A Ddup.h550 unsigned int vm_lock_seq; member
1004 vma->vm_lock_seq = UINT_MAX; in vma_init()
/linux/mm/
H A Dmmap_lock.c160 WRITE_ONCE(vma->vm_lock_seq, mm_lock_seq);
226 if (READ_ONCE(vma->vm_lock_seq) == READ_ONCE(mm->mm_lock_seq.sequence)) { in vma_start_read()
237 * vm_lock_seq check and checks inside lock_vma_under_rcu(). in vma_start_read()
252 * Overflow of vm_lock_seq/mm_lock_seq might produce false locked result. in lock_vma_under_rcu()
254 * vma->vm_lock_seq under vma->vm_refcnt protection and mm->mm_lock_seq in lock_vma_under_rcu()
262 if (unlikely(vma->vm_lock_seq == raw_read_seqcount(&mm->mm_lock_seq))) { in lock_vma_under_rcu()
/linux/include/linux/
H A Dmm_types.h958 unsigned int vm_lock_seq; member