Searched refs:pmd_write (Results 1 – 18 of 18) sorted by relevance
187 #define pmd_write(pmd) (pmd_isclear((pmd), L_PMD_SECT_RDONLY)) macro190 #define pud_write(pud) pmd_write(__pmd(pud_val(pud)))192 #define pmd_hugewillfault(pmd) (!pmd_young(pmd) || !pmd_write(pmd))241 if (pmd_write(pmd) && pmd_dirty(pmd)) in set_pmd_at()
32 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
401 #define pmd_savedwrite pmd_write518 (pmd_present(pmd) && (!(write) || pmd_write(pmd)))1098 #ifndef pmd_write1099 static inline int pmd_write(pmd_t pmd) in pmd_write() function
600 #define pmd_write pmd_write macro601 static inline int pmd_write(pmd_t pmd) function
171 WARN_ON(!pmd_write(pmd_mkwrite(pmd_wrprotect(pmd)))); in pmd_basic_tests()174 WARN_ON(pmd_write(pmd_wrprotect(pmd_mkwrite(pmd)))); in pmd_basic_tests()204 WARN_ON(pmd_write(pmd)); in pmd_advanced_tests()217 WARN_ON(!(pmd_write(pmd) && pmd_dirty(pmd))); in pmd_advanced_tests()
139 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
984 if (flags & FOLL_WRITE && !pmd_write(*pmd)) in follow_devmap_pmd()1336 return pmd_write(pmd) || in can_follow_write_pmd()1811 preserve_write = prot_numa && pmd_write(*pmd); in change_huge_pmd()1887 BUG_ON(vma_is_anonymous(vma) && !preserve_write && pmd_write(entry)); in change_huge_pmd()2122 write = pmd_write(old_pmd); in __split_huge_pmd_locked()2969 entry = make_migration_entry(page, pmd_write(pmdval)); in set_pmd_migration_entry()
179 return (pmd_write(pmd) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : in pmd_to_hmm_pfn_flags()
953 if (!pmd_dirty(*pmd) && !pmd_write(*pmd)) in page_mkclean_one()
4597 if (dirty && !pmd_write(orig_pmd)) { in __handle_mm_fault()
701 #define pmd_write pmd_write macro702 static inline unsigned long pmd_write(pmd_t pmd) in pmd_write() function
740 #define pmd_write pmd_write macro741 static inline int pmd_write(pmd_t pmd) in pmd_write() function1645 if (pmd_write(pmd)) in pmdp_set_wrprotect()
1131 #define pmd_write pmd_write macro1132 static inline int pmd_write(pmd_t pmd) in pmd_write() function
101 | pmd_write | Tests a writable PMD |
441 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
1121 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
846 if (!pmd_dirty(*pmdp) && !pmd_write(*pmdp)) in dax_entry_mkclean()
320 if (!pmd_write(_pmd) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()