/linux-6.1.9/mm/ |
D | pgtable-generic.c | 139 VM_BUG_ON(pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_clear_flush() 223 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
|
D | page_vma_mapped.c | 212 if (pmd_trans_huge(pmde) || is_pmd_migration_entry(pmde) || in page_vma_mapped_walk() 228 if (likely(pmd_trans_huge(pmde) || pmd_devmap(pmde))) { in page_vma_mapped_walk()
|
D | migrate_device.c | 73 if (pmd_trans_huge(*pmdp)) { in migrate_vma_collect_pmd() 77 if (unlikely(!pmd_trans_huge(*pmdp))) { in migrate_vma_collect_pmd() 599 if (pmd_trans_huge(*pmdp) || pmd_devmap(*pmdp)) in migrate_vma_insert_page()
|
D | userfaultfd.c | 638 if (unlikely(pmd_trans_huge(dst_pmdval))) { in __mcopy_atomic() 648 if (unlikely(pmd_trans_huge(*dst_pmd))) { in __mcopy_atomic() 654 BUG_ON(pmd_trans_huge(*dst_pmd)); in __mcopy_atomic()
|
D | hmm.c | 354 if (pmd_devmap(pmd) || pmd_trans_huge(pmd)) { in hmm_vma_walk_pmd() 366 if (!pmd_devmap(pmd) && !pmd_trans_huge(pmd)) in hmm_vma_walk_pmd()
|
D | mapping_dirty_helpers.c | 141 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) in wp_clean_pmd_entry()
|
D | mprotect.c | 306 if (pmd_trans_huge(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge() 388 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) { in change_pmd_range()
|
D | mremap.c | 100 VM_BUG_ON(pmd_trans_huge(*pmd)); in alloc_new_pmd() 540 if (is_swap_pmd(*old_pmd) || pmd_trans_huge(*old_pmd) || in move_page_tables()
|
D | huge_memory.c | 1126 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd() 1737 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd() 1918 if (likely(is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || in __pmd_trans_huge_lock() 2051 VM_BUG_ON(!is_pmd_migration_entry(*pmd) && !pmd_trans_huge(*pmd) in __split_huge_pmd_locked() 2286 if (pmd_trans_huge(*pmd) || pmd_devmap(*pmd) || in __split_huge_pmd()
|
D | madvise.c | 342 if (pmd_trans_huge(*pmd)) { in madvise_cold_or_pageout_pte_range() 610 if (pmd_trans_huge(*pmd)) in madvise_free_pte_range()
|
D | gup.c | 726 if (likely(!pmd_trans_huge(pmdval))) in follow_pmd_mask() 745 if (unlikely(!pmd_trans_huge(*pmd))) { in follow_pmd_mask() 950 VM_BUG_ON(pmd_trans_huge(*pmd)); in get_gate_page() 2820 if (unlikely(pmd_trans_huge(pmd) || pmd_huge(pmd) || in gup_pmd_range()
|
/linux-6.1.9/mm/damon/ |
D | vaddr.c | 306 if (pmd_trans_huge(*pmd)) { in damon_mkold_pmd_entry() 313 if (pmd_trans_huge(*pmd)) { in damon_mkold_pmd_entry() 438 if (pmd_trans_huge(*pmd)) { in damon_young_pmd_entry() 445 if (!pmd_trans_huge(*pmd)) { in damon_young_pmd_entry()
|
/linux-6.1.9/Documentation/mm/ |
D | transhuge.rst | 95 pmd_trans_huge() on the pmd returned by pmd_offset. You must hold the 99 pmd_trans_huge returns false, you just fallback in the old code 100 paths. If instead pmd_trans_huge returns true, you have to take the 101 page table lock (pmd_lock()) and re-run pmd_trans_huge. Taking the 104 pagetable walk). If the second pmd_trans_huge returns false, you
|
D | arch_pgtable_helpers.rst | 95 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
|
/linux-6.1.9/arch/arm/include/asm/ |
D | pgtable-3level.h | 191 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd)) 194 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd)) macro
|
/linux-6.1.9/arch/arc/include/asm/ |
D | hugepage.h | 38 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 52 WARN_ON(!pmd_trans_huge(*pmdp) && !pmd_devmap(*pmdp)); in pmdp_set_access_flags() 137 VM_BUG_ON((pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_get_and_clear_full()
|
D | hash_pgtable.c | 229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
|
/linux-6.1.9/include/linux/ |
D | huge_mm.h | 198 if (is_swap_pmd(*____pmd) || pmd_trans_huge(*____pmd) \ 238 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) in pmd_trans_huge_lock()
|
D | pgtable.h | 1273 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 1413 if (pmd_none(pmdval) || pmd_trans_huge(pmdval) || in pmd_none_or_trans_huge_or_clear_bad()
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | pgtable.h | 440 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 513 if (pmd_trans_huge(pmd)) in pmd_page()
|
/linux-6.1.9/arch/sparc/mm/ |
D | tlb.c | 205 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | pgtable.c | 444 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { in __find_linux_pte()
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | pgtable.h | 473 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 500 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd))
|
/linux-6.1.9/arch/mips/include/asm/ |
D | pgtable.h | 575 static inline int pmd_trans_huge(pmd_t pmd) function
|