Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm/include/asm/
Dpgtable-3level.h190 #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()
Dpgtable.h155 #define pud_write(pud) pmd_write(__pmd(pud_val(pud)))
/linux-6.6.21/arch/arc/include/asm/
Dhugepage.h32 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
/linux-6.6.21/arch/loongarch/include/asm/
Dpgtable.h506 #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/
Dpgtable.h412 #define pmd_write pmd_write macro
413 static inline int pmd_write(pmd_t pmd) function
/linux-6.6.21/arch/riscv/include/asm/
Dpgtable.h673 #define pmd_write pmd_write macro
674 static inline int pmd_write(pmd_t pmd) in pmd_write() function
/linux-6.6.21/mm/
Dpage_table_check.c208 pmd_write(pmd)); in __page_table_check_pmd_set()
Dmapping_dirty_helpers.c133 WARN_ON(pmd_write(pmdval) || pmd_dirty(pmdval)); in wp_clean_pmd_entry()
Dhuge_memory.c1032 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()
Ddebug_vm_pgtable.c205 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()
Dhmm.c181 return (pmd_write(pmd) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : in pmd_to_hmm_pfn_flags()
Drmap.c972 if (!pmd_dirty(*pmd) && !pmd_write(*pmd)) in page_vma_mkclean_one()
Dgup.c2886 if (!pmd_write(orig) && gup_must_unshare(NULL, flags, &folio->page)) { in gup_huge_pmd()
Dmemory.c5131 !pmd_write(vmf.orig_pmd)) { in __handle_mm_fault()
/linux-6.6.21/arch/sparc/include/asm/
Dpgtable_64.h698 #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/
Dpgtable.h773 (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/
Dpgtable.h760 #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/
Dpgtable.h181 #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/
Darch_pgtable_helpers.rst105 | pmd_write | Tests a writable PMD |
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1112 #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/
Dpgtable.h505 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) macro
/linux-6.6.21/fs/
Duserfaultfd.c360 if (!pmd_write(_pmd) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()