Searched refs:userfaultfd_wp (Results 1 – 9 of 9) sorted by relevance
136 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() function149 return userfaultfd_wp(vma) && pte_uffd_wp(pte); in userfaultfd_pte_wp()155 return userfaultfd_wp(vma) && pmd_uffd_wp(pmd); in userfaultfd_huge_pmd_wp()221 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() function305 if (!userfaultfd_wp(vma)) in userfaultfd_wp_use_markers()
540 if ((srcm & PTE_MARKER_UFFD_WP) && userfaultfd_wp(dst_vma)) in copy_pte_marker()575 if (vma_is_anonymous(vma) || !userfaultfd_wp(vma)) in pte_install_uffd_wp_if_needed()
1506 if (userfaultfd_wp(vma)) in collapse_pte_mapped_thp()1719 if (userfaultfd_wp(vma)) in retract_page_tables()1741 if (unlikely(vma->anon_vma || userfaultfd_wp(vma))) { in retract_page_tables()
819 if (!userfaultfd_wp(dst_vma)) { in mwriteprotect_range()
5021 if (userfaultfd_wp(vma) && huge_pte_uffd_wp(old)) in hugetlb_install_folio()5098 if (!userfaultfd_wp(dst_vma)) in copy_hugetlb_page_range()5113 if (userfaultfd_wp(src_vma) && uffd_wp) in copy_hugetlb_page_range()5117 if (!userfaultfd_wp(dst_vma)) in copy_hugetlb_page_range()5198 if (!userfaultfd_wp(dst_vma)) in copy_hugetlb_page_range()6200 if (userfaultfd_wp(vma) && huge_pte_uffd_wp(huge_ptep_get(ptep)) && in hugetlb_fault()
867 if (!userfaultfd_wp(dst_vma)) in copy_nonpresent_pte()975 if (!userfaultfd_wp(dst_vma)) in copy_present_pte()1249 if (userfaultfd_wp(dst_vma)) in vma_needs_copy()3355 if (unlikely(userfaultfd_wp(vmf->vma) && in do_wp_page()3685 if (unlikely(!userfaultfd_wp(vmf->vma))) in pte_marker_handle_uffd_wp()
1105 if (!userfaultfd_wp(dst_vma)) in copy_huge_pmd()1150 if (!userfaultfd_wp(dst_vma)) in copy_huge_pmd()
1530 if (userfaultfd_wp(vma)) in vma_wants_writenotify()
1663 if (userfaultfd_wp(vma)) in userfaultfd_unregister()