Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmmap_lock.h94 smp_store_release(&mm->mm_lock_seq, mm->mm_lock_seq + 1); in vma_end_write_all()
H A Dmm.h661 * We can use READ_ONCE() for the mm_lock_seq here, and don't need in vma_start_read()
663 * we don't rely on for anything - the mm_lock_seq read against which we in vma_start_read()
666 if (READ_ONCE(vma->vm_lock_seq) == READ_ONCE(vma->vm_mm->mm_lock_seq)) in vma_start_read()
675 * vma->vm_lock_seq under vma->vm_lock protection and mm->mm_lock_seq in vma_start_read()
678 * We must use ACQUIRE semantics for the mm_lock_seq so that if we are in vma_start_read()
683 if (unlikely(vma->vm_lock_seq == smp_load_acquire(&vma->vm_mm->mm_lock_seq))) { in vma_start_read()
698 static bool __is_vma_write_locked(struct vm_area_struct *vma, int *mm_lock_seq) in __is_vma_write_locked() argument
704 * mm->mm_lock_seq can't be concurrently modified. in __is_vma_write_locked()
706 *mm_lock_seq = vma->vm_mm->mm_lock_seq; in __is_vma_write_locked()
717 int mm_lock_seq; vma_start_write() local
735 int mm_lock_seq; vma_assert_write_locked() local
[all...]
H A Dmm_types.h845 int mm_lock_seq;
815 int mm_lock_seq; global() member
/openbmc/linux/mm/
H A Dinit-mm.c43 .mm_lock_seq = 0,
/openbmc/linux/kernel/
H A Dfork.c1269 mm->mm_lock_seq = 0; in mm_init()