Home
last modified time | relevance | path

Searched refs:uffd_wp (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/mm/
Dmprotect.c92 bool uffd_wp = cp_flags & MM_CP_UFFD_WP; in change_pte_range() local
167 if (uffd_wp) in change_pte_range()
252 if (uffd_wp) in change_pte_range()
269 if (likely(!uffd_wp)) in change_pte_range()
Dhuge_memory.c1812 bool uffd_wp = cp_flags & MM_CP_UFFD_WP; in change_huge_pmd() local
1848 if (uffd_wp) in change_huge_pmd()
1910 if (uffd_wp) in change_huge_pmd()
2073 bool young, write, soft_dirty, pmd_migration = false, uffd_wp = false; in __split_huge_pmd_locked() local
2162 uffd_wp = pmd_swp_uffd_wp(old_pmd); in __split_huge_pmd_locked()
2172 uffd_wp = pmd_uffd_wp(old_pmd); in __split_huge_pmd_locked()
2232 if (uffd_wp) in __split_huge_pmd_locked()
2247 if (uffd_wp) in __split_huge_pmd_locked()
Dhugetlb.c5103 bool uffd_wp = pte_swp_uffd_wp(entry); in copy_hugetlb_page_range() local
5113 if (userfaultfd_wp(src_vma) && uffd_wp) in copy_hugetlb_page_range()
6572 bool uffd_wp = cp_flags & MM_CP_UFFD_WP; in hugetlb_change_protection() local
6595 if (!uffd_wp) { in hugetlb_change_protection()
6616 WARN_ON_ONCE(uffd_wp || uffd_wp_resolve); in hugetlb_change_protection()
6642 if (uffd_wp) in hugetlb_change_protection()
6661 if (uffd_wp) in hugetlb_change_protection()
6669 if (unlikely(uffd_wp)) in hugetlb_change_protection()
Dmemory.c4069 bool uffd_wp = vmf_orig_pte_uffd_wp(vmf); in do_anonymous_page() local
4157 if (uffd_wp) in do_anonymous_page()
4334 bool uffd_wp = vmf_orig_pte_uffd_wp(vmf); in set_pte_range() local
4349 if (unlikely(uffd_wp)) in set_pte_range()