Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/mm/
A 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()
A Dpage_vma_mapped.c215 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 Duserfaultfd.c626 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 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()
A Dhmm.c354 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 Dmapping_dirty_helpers.c141 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) in wp_clean_pmd_entry()
A Dmprotect.c313 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 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()
A Dgup.c672 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 Dhuge_memory.c1126 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 Dmadvise.c356 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 Dtranshuge.rst93 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 Darch_pgtable_helpers.rst93 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
/linux-6.3-rc2/mm/damon/
A Dvaddr.c306 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 Dpgtable-3level.h194 #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 Dpgtable.c91 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
/linux-6.3-rc2/arch/arc/include/asm/
A Dhugepage.h38 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A 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()
A Dhash_pgtable.c229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
/linux-6.3-rc2/include/linux/
A 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()
A Dpgtable.h1250 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 Dpgtable.h473 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 Dtlb.c205 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
/linux-6.3-rc2/arch/powerpc/mm/
A Dpgtable.c444 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { in __find_linux_pte()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dpgtable.h476 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))

Completed in 67 milliseconds

12