Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dmmap_lock.h94 smp_store_release(&mm->mm_lock_seq, mm->mm_lock_seq + 1); in vma_end_write_all()
Dmm.h662 if (READ_ONCE(vma->vm_lock_seq) == READ_ONCE(vma->vm_mm->mm_lock_seq)) in vma_start_read()
679 if (unlikely(vma->vm_lock_seq == smp_load_acquire(&vma->vm_mm->mm_lock_seq))) { in vma_start_read()
694 static bool __is_vma_write_locked(struct vm_area_struct *vma, int *mm_lock_seq) in __is_vma_write_locked() argument
702 *mm_lock_seq = vma->vm_mm->mm_lock_seq; in __is_vma_write_locked()
703 return (vma->vm_lock_seq == *mm_lock_seq); in __is_vma_write_locked()
713 int mm_lock_seq; in vma_start_write() local
715 if (__is_vma_write_locked(vma, &mm_lock_seq)) in vma_start_write()
725 WRITE_ONCE(vma->vm_lock_seq, mm_lock_seq); in vma_start_write()
731 int mm_lock_seq; in vma_assert_write_locked() local
733 VM_BUG_ON_VMA(!__is_vma_write_locked(vma, &mm_lock_seq), vma); in vma_assert_write_locked()
Dmm_types.h785 int mm_lock_seq; member
/linux-6.6.21/mm/
Dinit-mm.c43 .mm_lock_seq = 0,
/linux-6.6.21/kernel/
Dfork.c1268 mm->mm_lock_seq = 0; in mm_init()