/openbmc/linux/mm/ |
H A D | pgtable-generic.c | 142 VM_BUG_ON(pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_clear_flush() 228 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush() 296 if (unlikely(pmd_trans_huge(pmdval) || pmd_devmap(pmdval))) in __pte_offset_map()
|
H A D | page_vma_mapped.c | 238 if (pmd_trans_huge(pmde) || is_pmd_migration_entry(pmde) || in page_vma_mapped_walk() 254 if (likely(pmd_trans_huge(pmde) || pmd_devmap(pmde))) { in page_vma_mapped_walk()
|
H 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() 593 if (pmd_trans_huge(*pmdp) || pmd_devmap(*pmdp)) in migrate_vma_insert_page()
|
H 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()
|
H A D | mapping_dirty_helpers.c | 132 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) { in wp_clean_pmd_entry()
|
H A D | mremap.c | 100 VM_BUG_ON(pmd_trans_huge(*pmd)); in alloc_new_pmd() 559 if (is_swap_pmd(*old_pmd) || pmd_trans_huge(*old_pmd) || in move_page_tables()
|
H A D | huge_memory.c | 1106 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd() 1751 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd() 1934 if (likely(is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || in __pmd_trans_huge_lock() 2071 VM_BUG_ON(!is_pmd_migration_entry(*pmd) && !pmd_trans_huge(*pmd) in __split_huge_pmd_locked() 2277 if (pmd_trans_huge(*pmd) || pmd_devmap(*pmd) || in __split_huge_pmd()
|
H A D | madvise.c | 364 if (pmd_trans_huge(*pmd)) { in madvise_cold_or_pageout_pte_range() 639 if (pmd_trans_huge(*pmd)) in madvise_free_pte_range()
|
H A D | gup.c | 626 if (likely(!pmd_trans_huge(pmdval))) in follow_pmd_mask() 637 if (unlikely(!pmd_trans_huge(*pmd))) { in follow_pmd_mask() 3005 if (unlikely(pmd_trans_huge(pmd) || pmd_huge(pmd) || in gup_pmd_range()
|
H A D | debug_vm_pgtable.c | 958 WARN_ON(!pmd_trans_huge(pmd_mkhuge(pmd))); in pmd_thp_tests() 961 WARN_ON(!pmd_trans_huge(pmd_mkinvalid(pmd_mkhuge(pmd)))); in pmd_thp_tests()
|
H A D | memory.c | 1153 if (is_swap_pmd(*src_pmd) || pmd_trans_huge(*src_pmd) in copy_pmd_range() 1550 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) { in zap_pmd_range() 1814 VM_BUG_ON(pmd_trans_huge(*pmd)); in walk_to_pmd() 2372 VM_BUG_ON(pmd_trans_huge(*pmd)); in remap_pmd_range() 5153 if (pmd_trans_huge(vmf.orig_pmd) || pmd_devmap(vmf.orig_pmd)) { in __handle_mm_fault() 5640 VM_BUG_ON(pmd_trans_huge(*pmd)); in follow_pte()
|
/openbmc/linux/Documentation/mm/ |
H 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
|
H A D | arch_pgtable_helpers.rst | 97 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
|
/openbmc/linux/mm/damon/ |
H A D | vaddr.c | 309 if (pmd_trans_huge(pmdp_get(pmd))) { in damon_mkold_pmd_entry() 318 if (pmd_trans_huge(pmde)) { in damon_mkold_pmd_entry() 449 if (pmd_trans_huge(pmdp_get(pmd))) { in damon_young_pmd_entry() 460 if (!pmd_trans_huge(pmde)) { in damon_young_pmd_entry()
|
/openbmc/linux/arch/arm/include/asm/ |
H 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
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | hugepage.h | 38 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
|
/openbmc/linux/include/linux/ |
H A D | huge_mm.h | 176 if (is_swap_pmd(*____pmd) || pmd_trans_huge(*____pmd) \ 216 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) in pmd_trans_huge_lock()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | pgtable.c | 132 VM_BUG_ON(pmd_trans_huge(pmdp_get(pmdp))); in pmdp_collapse_flush()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | pgtable.c | 53 WARN_ON(!pmd_trans_huge(*pmdp) && !pmd_devmap(*pmdp)); in pmdp_set_access_flags() 184 VM_BUG_ON((pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_get_and_clear_full()
|
H A D | hash_pgtable.c | 229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | pgtable.h | 492 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function 565 if (pmd_trans_huge(pmd)) in pmd_page()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | tlb.c | 209 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | pgtable.c | 470 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { in __find_linux_pte()
|
/openbmc/linux/arch/arm64/include/asm/ |
H 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))
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | pgtable.h | 628 static inline int pmd_trans_huge(pmd_t pmd) function
|