/linux-6.6.21/arch/arm/include/asm/ |
D | pgtable-3level.h | 190 #define pmd_write(pmd) (pmd_isclear((pmd), L_PMD_SECT_RDONLY)) macro 193 #define pmd_hugewillfault(pmd) (!pmd_young(pmd) || !pmd_write(pmd)) 242 if (pmd_write(pmd) && pmd_dirty(pmd)) in set_pmd_at()
|
D | pgtable.h | 155 #define pud_write(pud) pmd_write(__pmd(pud_val(pud)))
|
/linux-6.6.21/arch/arc/include/asm/ |
D | hugepage.h | 32 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | pgtable.h | 506 #define pmd_write pmd_write macro 507 static inline int pmd_write(pmd_t pmd) in pmd_write() function
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgtable.h | 412 #define pmd_write pmd_write macro 413 static inline int pmd_write(pmd_t pmd) function
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | pgtable.h | 673 #define pmd_write pmd_write macro 674 static inline int pmd_write(pmd_t pmd) in pmd_write() function
|
/linux-6.6.21/mm/ |
D | page_table_check.c | 208 pmd_write(pmd)); in __page_table_check_pmd_set()
|
D | mapping_dirty_helpers.c | 133 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
|
D | huge_memory.c | 1032 if (flags & FOLL_WRITE && !pmd_write(*pmd)) in follow_devmap_pmd() 1411 if (pmd_write(pmd)) in can_follow_write_pmd() 1468 if (!pmd_write(*pmd) && gup_must_unshare(vma, flags, page)) in follow_trans_huge_pmd() 1512 writable = pmd_write(pmd); in do_huge_pmd_numa_page() 1921 if ((cp_flags & MM_CP_TRY_CHANGE_WRITABLE) && !pmd_write(entry) && in change_huge_pmd() 2169 write = pmd_write(old_pmd); in __split_huge_pmd_locked() 3230 if (pmd_write(pmdval)) in set_pmd_migration_entry() 3290 VM_BUG_ON(pmd_write(pmde) && PageAnon(new) && !PageAnonExclusive(new)); in remove_migration_pmd()
|
D | debug_vm_pgtable.c | 205 WARN_ON(!pmd_write(pmd_mkwrite(pmd_wrprotect(pmd), args->vma))); in pmd_basic_tests() 208 WARN_ON(pmd_write(pmd_wrprotect(pmd_mkwrite(pmd, args->vma)))); in pmd_basic_tests() 249 WARN_ON(pmd_write(pmd)); in pmd_advanced_tests() 263 WARN_ON(!(pmd_write(pmd) && pmd_dirty(pmd))); in pmd_advanced_tests()
|
D | hmm.c | 181 return (pmd_write(pmd) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : in pmd_to_hmm_pfn_flags()
|
D | rmap.c | 972 if (!pmd_dirty(*pmd) && !pmd_write(*pmd)) in page_vma_mkclean_one()
|
D | gup.c | 2886 if (!pmd_write(orig) && gup_must_unshare(NULL, flags, &folio->page)) { in gup_huge_pmd()
|
D | memory.c | 5131 !pmd_write(vmf.orig_pmd)) { in __handle_mm_fault()
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | pgtable_64.h | 698 #define pmd_write pmd_write macro 699 static inline unsigned long pmd_write(pmd_t pmd) in pmd_write() function
|
/linux-6.6.21/include/linux/ |
D | pgtable.h | 773 (pmd_present(pmd) && (!(write) || pmd_write(pmd))) 1349 #ifndef pmd_write 1350 static inline int pmd_write(pmd_t pmd) in pmd_write() function
|
/linux-6.6.21/arch/s390/include/asm/ |
D | pgtable.h | 760 #define pmd_write pmd_write macro 761 static inline int pmd_write(pmd_t pmd) in pmd_write() function 1778 if (pmd_write(pmd)) in pmdp_set_wrprotect()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | pgtable.h | 181 #define pmd_write pmd_write macro 182 static inline int pmd_write(pmd_t pmd) in pmd_write() function
|
/linux-6.6.21/Documentation/mm/ |
D | arch_pgtable_helpers.rst | 105 | pmd_write | Tests a writable PMD |
|
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 1112 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro 1233 if (pmd_write(*pmdp)) in pmdp_set_wrprotect()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | pgtable.h | 505 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
|
/linux-6.6.21/fs/ |
D | userfaultfd.c | 360 if (!pmd_write(_pmd) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()
|