Home
last modified time | relevance | path

Searched refs:write_protect_seq (Results 1 – 9 of 9) sorted by relevance

/linux/mm/
H A Dinit-mm.c37 .write_protect_seq = SEQCNT_ZERO(init_mm.write_protect_seq),
H A Dgup.c3402 seq = raw_read_seqcount(&current->mm->write_protect_seq); in gup_fast()
3427 if (read_seqcount_retry(&current->mm->write_protect_seq, seq)) { in gup_fast()
H A Dmemory.c1389 raw_write_seqcount_begin(&src_mm->write_protect_seq); in copy_page_range()
1408 raw_write_seqcount_end(&src_mm->write_protect_seq); in copy_page_range()
H A Dhugetlb.c5385 raw_write_seqcount_begin(&src->write_protect_seq); in copy_hugetlb_page_range()
5544 raw_write_seqcount_end(&src->write_protect_seq); in copy_hugetlb_page_range()
/linux/arch/x86/kernel/
H A Dtboot.c102 .write_protect_seq = SEQCNT_ZERO(tboot_mm.write_protect_seq),
/linux/drivers/firmware/efi/
H A Defi.c71 .write_protect_seq = SEQCNT_ZERO(efi_mm.write_protect_seq),
/linux/include/linux/
H A Dmm_types.h891 seqcount_t write_protect_seq; member
H A Dmm.h1980 * The caller has to hold the PT lock and the vma->vm_mm->->write_protect_seq.
1985 VM_BUG_ON(!(raw_read_seqcount(&vma->vm_mm->write_protect_seq) & 1)); in folio_needs_cow_for_dma()
/linux/kernel/
H A Dfork.c1261 seqcount_init(&mm->write_protect_seq); in mm_init()