Home
last modified time | relevance | path

Searched refs:pmd_trans_huge (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.1.9/mm/
Dpgtable-generic.c139 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()
Dpage_vma_mapped.c212 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()
Dmigrate_device.c73 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()
Duserfaultfd.c638 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()
Dhmm.c354 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()
Dmapping_dirty_helpers.c141 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) in wp_clean_pmd_entry()
Dmprotect.c306 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()
Dmremap.c100 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()
Dhuge_memory.c1126 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()
Dmadvise.c342 if (pmd_trans_huge(*pmd)) { in madvise_cold_or_pageout_pte_range()
610 if (pmd_trans_huge(*pmd)) in madvise_free_pte_range()
Dgup.c726 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/
Dvaddr.c306 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/
Dtranshuge.rst95 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
Darch_pgtable_helpers.rst95 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
/linux-6.1.9/arch/arm/include/asm/
Dpgtable-3level.h191 #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/
Dhugepage.h38 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dpgtable.c52 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()
Dhash_pgtable.c229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
/linux-6.1.9/include/linux/
Dhuge_mm.h198 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()
Dpgtable.h1273 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/
Dpgtable.h440 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/
Dtlb.c205 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
/linux-6.1.9/arch/powerpc/mm/
Dpgtable.c444 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { in __find_linux_pte()
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable.h473 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/
Dpgtable.h575 static inline int pmd_trans_huge(pmd_t pmd) function

12