Home
last modified time | relevance | path

Searched refs:VM_UFFD_WP (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/
H A Duserfaultfd_k.h24 #define __VM_UFFD_FLAGS (VM_UFFD_MISSING | VM_UFFD_WP | VM_UFFD_MINOR)
116 return vma->vm_flags & (VM_UFFD_WP | VM_UFFD_MINOR); in uffd_disable_huge_pmd_share()
128 return vma->vm_flags & (VM_UFFD_WP | VM_UFFD_MINOR); in uffd_disable_fault_around()
138 return vma->vm_flags & VM_UFFD_WP; in userfaultfd_wp()
175 if ((vm_flags & VM_UFFD_WP) && !vma_is_anonymous(vma)) in vma_can_userfault()
H A Dmm.h289 #define VM_UFFD_WP 0x00001000 /* wrprotect pages tracking */ macro
/openbmc/linux/fs/
H A Duserfaultfd.c144 const bool uffd_wp_changed = (vma->vm_flags ^ flags) & VM_UFFD_WP; in userfaultfd_set_vm_flags()
265 if (reason & VM_UFFD_WP) in userfault_msg()
303 if (!huge_pte_write(pte) && (reason & VM_UFFD_WP)) in userfaultfd_huge_must_wait()
360 if (!pmd_write(_pmd) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()
378 if (!pte_write(ptent) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()
1353 vm_flags |= VM_UFFD_WP; in userfaultfd_register()
1434 if ((vm_flags & VM_UFFD_WP) && !(cur->vm_flags & VM_MAYWRITE)) in userfaultfd_register()
/openbmc/linux/include/trace/events/
H A Dmmflags.h181 {VM_UFFD_WP, "uffd_wp" }, \
/openbmc/linux/mm/
H A Duserfaultfd.c664 if ((flags & MFILL_ATOMIC_WP) && !(dst_vma->vm_flags & VM_UFFD_WP)) in mfill_atomic()
H A Dmemory.c3367 return handle_userfault(vmf, VM_UFFD_WP); in do_wp_page()
4923 return handle_userfault(vmf, VM_UFFD_WP); in wp_huge_pmd()
H A Dhugetlb.c6218 return handle_userfault(&vmf, VM_UFFD_WP); in hugetlb_fault()
/openbmc/linux/fs/proc/
H A Dtask_mmu.c682 [ilog2(VM_UFFD_WP)] = "uw", in show_smap_vma_flags()