Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Duserfaultfd_k.h119 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() function
132 return userfaultfd_wp(vma) && pte_uffd_wp(pte); in userfaultfd_pte_wp()
138 return userfaultfd_wp(vma) && pmd_uffd_wp(pmd); in userfaultfd_huge_pmd_wp()
203 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() function
Dmm_inline.h561 if (vma_is_anonymous(vma) || !userfaultfd_wp(vma)) in pte_install_uffd_wp_if_needed()
/linux-6.1.9/mm/
Duserfaultfd.c775 if (!userfaultfd_wp(dst_vma)) in mwriteprotect_range()
Dmemory.c882 WARN_ON_ONCE(!userfaultfd_wp(dst_vma)); in copy_nonpresent_pte()
886 if (!userfaultfd_wp(dst_vma)) in copy_nonpresent_pte()
991 if (!userfaultfd_wp(dst_vma)) in copy_present_pte()
1253 if (userfaultfd_wp(dst_vma)) in vma_needs_copy()
3387 if (unlikely(userfaultfd_wp(vmf->vma) && in do_wp_page()
3690 if (unlikely(!userfaultfd_wp(vmf->vma) || vma_is_anonymous(vmf->vma))) in pte_marker_handle_uffd_wp()
Dkhugepaged.c1471 if (userfaultfd_wp(vma)) in collapse_pte_mapped_thp()
1692 if (userfaultfd_wp(vma)) { in retract_page_tables()
Dhugetlb.c5023 if (!userfaultfd_wp(dst_vma) && uffd_wp) in copy_hugetlb_page_range()
5038 if (userfaultfd_wp(src_vma) && uffd_wp) in copy_hugetlb_page_range()
5042 if (!userfaultfd_wp(dst_vma) && uffd_wp) in copy_hugetlb_page_range()
5050 if (userfaultfd_wp(dst_vma)) in copy_hugetlb_page_range()
6089 if (userfaultfd_wp(vma) && huge_pte_uffd_wp(huge_ptep_get(ptep)) && in hugetlb_fault()
Dhuge_memory.c1118 if (!userfaultfd_wp(dst_vma)) in copy_huge_pmd()
1163 if (!userfaultfd_wp(dst_vma)) in copy_huge_pmd()
Dmmap.c1528 if (userfaultfd_wp(vma)) in vma_wants_writenotify()
/linux-6.1.9/fs/
Duserfaultfd.c1639 if (userfaultfd_wp(vma)) in userfaultfd_unregister()