/linux-6.3-rc2/mm/ |
A 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()
|
A D | page_vma_mapped.c | 215 if (pmd_trans_huge(pmde) || is_pmd_migration_entry(pmde) || in page_vma_mapped_walk() 231 if (likely(pmd_trans_huge(pmde) || pmd_devmap(pmde))) { in page_vma_mapped_walk()
|
A D | userfaultfd.c | 626 if (unlikely(pmd_trans_huge(dst_pmdval))) { in __mcopy_atomic() 636 if (unlikely(pmd_trans_huge(*dst_pmd))) { in __mcopy_atomic() 642 BUG_ON(pmd_trans_huge(*dst_pmd)); in __mcopy_atomic()
|
A 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()
|
A D | hmm.c | 354 if (pmd_devmap(pmd) || pmd_trans_huge(pmd)) { in hmm_vma_walk_pmd() 365 if (!pmd_devmap(pmd) && !pmd_trans_huge(pmd)) in hmm_vma_walk_pmd()
|
A D | mapping_dirty_helpers.c | 141 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) in wp_clean_pmd_entry()
|
A D | mprotect.c | 313 if (pmd_trans_huge(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge() 405 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) { in change_pmd_range()
|
A 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()
|
A D | gup.c | 672 if (likely(!pmd_trans_huge(pmdval))) in follow_pmd_mask() 683 if (unlikely(!pmd_trans_huge(*pmd))) { in follow_pmd_mask() 858 VM_BUG_ON(pmd_trans_huge(*pmd)); in get_gate_page() 2777 if (unlikely(pmd_trans_huge(pmd) || pmd_huge(pmd) || in gup_pmd_range()
|
A D | huge_memory.c | 1126 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd() 1774 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd() 1951 if (likely(is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || in __pmd_trans_huge_lock() 2084 VM_BUG_ON(!is_pmd_migration_entry(*pmd) && !pmd_trans_huge(*pmd) in __split_huge_pmd_locked() 2291 if (pmd_trans_huge(*pmd) || pmd_devmap(*pmd) || in __split_huge_pmd()
|
A D | madvise.c | 356 if (pmd_trans_huge(*pmd)) { in madvise_cold_or_pageout_pte_range() 621 if (pmd_trans_huge(*pmd)) in madvise_free_pte_range()
|
/linux-6.3-rc2/Documentation/mm/ |
A D | transhuge.rst | 93 pmd_trans_huge() on the pmd returned by pmd_offset. You must hold the 97 pmd_trans_huge returns false, you just fallback in the old code 98 paths. If instead pmd_trans_huge returns true, you have to take the 99 page table lock (pmd_lock()) and re-run pmd_trans_huge. Taking the 102 pagetable walk). If the second pmd_trans_huge returns false, you
|
A D | arch_pgtable_helpers.rst | 93 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
|
/linux-6.3-rc2/mm/damon/ |
A 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() 439 if (pmd_trans_huge(*pmd)) { in damon_young_pmd_entry() 446 if (!pmd_trans_huge(*pmd)) { in damon_young_pmd_entry()
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | pgtable-3level.h | 194 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd)) 197 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd)) macro
|
/linux-6.3-rc2/arch/riscv/mm/ |
A D | pgtable.c | 91 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
|
/linux-6.3-rc2/arch/arc/include/asm/ |
A D | hugepage.h | 38 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
|
/linux-6.3-rc2/arch/powerpc/mm/book3s64/ |
A 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()
|
A D | hash_pgtable.c | 229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
|
/linux-6.3-rc2/include/linux/ |
A 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()
|
A D | pgtable.h | 1250 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 1378 if (pmd_none(pmdval) || pmd_trans_huge(pmdval) || in pmd_none_or_trans_huge_or_clear_bad()
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | pgtable.h | 473 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 546 if (pmd_trans_huge(pmd)) in pmd_page()
|
/linux-6.3-rc2/arch/sparc/mm/ |
A D | tlb.c | 205 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
|
/linux-6.3-rc2/arch/powerpc/mm/ |
A D | pgtable.c | 444 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { in __find_linux_pte()
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | pgtable.h | 476 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 503 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd))
|