Searched refs:vm_lock_seq (Results 1 – 5 of 5) sorted by relevance
58 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()
55 vma->vm_lock_seq++; in vma_start_write()62 vma->vm_lock_seq++; in vma_start_write_killable()
550 unsigned int vm_lock_seq; member1004 vma->vm_lock_seq = UINT_MAX; in vma_init()
160 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()
958 unsigned int vm_lock_seq; member