Home
last modified time | relevance | path

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

12

/linux/mm/
H A Dpgtable-generic.c144 VM_BUG_ON(pmd_present(*pmdp) && !pmd_trans_huge(*pmdp)); in pmdp_huge_clear_flush()
229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
297 if (unlikely(pmd_trans_huge(pmdval))) in ___pte_offset_map()
H A Dpage_vma_mapped.c245 if (pmd_trans_huge(pmde) || pmd_is_migration_entry(pmde)) { in page_vma_mapped_walk()
261 if (likely(pmd_trans_huge(pmde))) { in page_vma_mapped_walk()
H A Dmapping_dirty_helpers.c132 if (pmd_trans_huge(pmdval)) { in wp_clean_pmd_entry()
H A Dmadvise.c376 if (pmd_trans_huge(*pmd)) { in madvise_cold_or_pageout_pte_range()
667 if (pmd_trans_huge(*pmd)) in madvise_free_pte_range()
1089 return pmd_trans_huge(pmdval); in guard_install_pmd_entry()
1230 if (pmd_trans_huge(pmdval)) in guard_remove_pmd_entry()
H A Dhmm.c428 if (pmd_trans_huge(pmd)) { in hmm_vma_walk_pmd()
439 if (!pmd_trans_huge(pmd)) in hmm_vma_walk_pmd()
H A Dmigrate_device.c153 if (pmd_trans_huge(*pmdp)) { in migrate_vma_collect_huge_pmd()
262 if (pmd_trans_huge(*pmdp) || !pmd_present(*pmdp)) { in migrate_vma_collect_pmd()
1011 if (pmd_trans_huge(*pmdp)) { in migrate_vma_insert_page()
H A Duserfaultfd.c806 pmd_trans_huge(dst_pmdval))) { in mfill_atomic()
1305 pmd_trans_huge(*dst_pmd) || pmd_trans_huge(*src_pmd)) { in move_pages_ptes()
1850 if (unlikely(pmd_trans_huge(dst_pmdval))) { in move_pages()
H A Ddebug_vm_pgtable.c925 WARN_ON(!pmd_trans_huge(pmd_mkhuge(pmd))); in pmd_thp_tests()
928 WARN_ON(!pmd_trans_huge(pmd_mkinvalid(pmd_mkhuge(pmd)))); in pmd_thp_tests()
H A Dhuge_memory.c1902 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd()
2478 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd()
2732 if (!pmd_trans_huge(src_pmdval)) { in move_pages_huge_pmd()
3006 VM_WARN_ON_ONCE(!pmd_is_valid_softleaf(*pmd) && !pmd_trans_huge(*pmd)); in __split_huge_pmd_locked()
3273 if (pmd_trans_huge(*pmd) || pmd_is_valid_softleaf(*pmd)) in split_huge_pmd_locked()
H A Dpagewalk.c165 if (pmd_present(*pmd) && pmd_trans_huge(*pmd)) in walk_pmd_range()
H A Dgup.c736 if (pmd_trans_huge(pmdval) && (flags & FOLL_TOUCH)) in follow_huge_pmd()
930 if (pmd_trans_huge(pmdval) && (flags & FOLL_SPLIT_PMD)) { in follow_pmd_mask()
/linux/Documentation/mm/
H 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
H A Darch_pgtable_helpers.rst89 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
/linux/arch/arc/include/asm/
H A Dhugepage.h43 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
/linux/arch/powerpc/mm/book3s64/
H A Dpgtable.c66 WARN_ON(!pmd_trans_huge(*pmdp)); in pmdp_set_access_flags()
213 VM_BUG_ON((pmd_present(*pmdp) && !pmd_trans_huge(*pmdp)) || in pmdp_huge_get_and_clear_full()
H A Dhash_pgtable.c230 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
/linux/arch/riscv/mm/
H A Dpgtable.c145 VM_BUG_ON(pmd_trans_huge(pmdp_get(pmdp))); in pmdp_collapse_flush()
/linux/arch/loongarch/include/asm/
H A Dpgtable.h504 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
578 if (pmd_trans_huge(pmd)) in pmd_page()
/linux/arch/sparc/mm/
H A Dtlb.c218 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
/linux/arch/arm/include/asm/
H A Dpgtable-3level.h195 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd)) macro
/linux/arch/powerpc/mm/
H A Dpgtable.c524 if (pmd_trans_huge(pmd)) { in __find_linux_pte()
/linux/include/linux/
H A Dhuge_mm.h439 return pmd_trans_huge(pmd); in pmd_is_huge()
/linux/arch/mips/include/asm/
H A Dpgtable.h621 static inline int pmd_trans_huge(pmd_t pmd) function
/linux/fs/
H A Ddax.c1903 if (pmd_trans_huge(*vmf->pmd)) { in dax_iomap_pte_fault()
2024 if (!pmd_none(*vmf->pmd) && !pmd_trans_huge(*vmf->pmd)) { in dax_iomap_pmd_fault()
/linux/arch/sparc/include/asm/
H A Dpgtable_64.h723 static inline unsigned long pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function

12