Home
last modified time | relevance | path

Searched refs:pmd_write (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/include/asm/
Dpgtable-3level.h187 #define pmd_write(pmd) (pmd_isclear((pmd), L_PMD_SECT_RDONLY)) macro
190 #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()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dhugepage.h32 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
/kernel/linux/linux-5.10/include/linux/
Dpgtable.h401 #define pmd_savedwrite pmd_write
518 (pmd_present(pmd) && (!(write) || pmd_write(pmd)))
1098 #ifndef pmd_write
1099 static inline int pmd_write(pmd_t pmd) in pmd_write() function
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable.h600 #define pmd_write pmd_write macro
601 static inline int pmd_write(pmd_t pmd) function
/kernel/linux/linux-5.10/mm/
Ddebug_vm_pgtable.c171 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()
Dmapping_dirty_helpers.c139 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
Dhuge_memory.c984 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()
Dhmm.c179 return (pmd_write(pmd) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : in pmd_to_hmm_pfn_flags()
Drmap.c953 if (!pmd_dirty(*pmd) && !pmd_write(*pmd)) in page_mkclean_one()
Dmemory.c4597 if (dirty && !pmd_write(orig_pmd)) { in __handle_mm_fault()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dpgtable_64.h701 #define pmd_write pmd_write macro
702 static inline unsigned long pmd_write(pmd_t pmd) in pmd_write() function
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgtable.h740 #define pmd_write pmd_write macro
741 static inline int pmd_write(pmd_t pmd) in pmd_write() function
1645 if (pmd_write(pmd)) in pmdp_set_wrprotect()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable.h1131 #define pmd_write pmd_write macro
1132 static inline int pmd_write(pmd_t pmd) in pmd_write() function
/kernel/linux/linux-5.10/Documentation/vm/
Darch_pgtable_helpers.rst101 | pmd_write | Tests a writable PMD |
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpgtable.h441 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1121 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
/kernel/linux/linux-5.10/fs/
Ddax.c846 if (!pmd_dirty(*pmdp) && !pmd_write(*pmdp)) in dax_entry_mkclean()
Duserfaultfd.c320 if (!pmd_write(_pmd) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()