Searched refs:pmd_trans_huge (Results 1 – 25 of 34) sorted by relevance
12
138 VM_BUG_ON(pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_clear_flush()214 VM_BUG_ON(pmd_trans_huge(*pmdp)); in pmdp_collapse_flush()
221 if (pmd_trans_huge(pmde) || is_pmd_migration_entry(pmde)) { in page_vma_mapped_walk()224 if (likely(pmd_trans_huge(pmde))) { in page_vma_mapped_walk()
586 if (unlikely(pmd_trans_huge(dst_pmdval))) { in __mcopy_atomic()596 if (unlikely(pmd_trans_huge(*dst_pmd))) { in __mcopy_atomic()602 BUG_ON(pmd_trans_huge(*dst_pmd)); in __mcopy_atomic()
356 if (pmd_devmap(pmd) || pmd_trans_huge(pmd)) { in hmm_vma_walk_pmd()368 if (!pmd_devmap(pmd) && !pmd_trans_huge(pmd)) in hmm_vma_walk_pmd()
212 if (pmd_trans_huge(pmdval)) in pmd_none_or_clear_bad_unless_trans_huge()260 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) { in change_pmd_range()
140 if (pmd_trans_huge(pmdval) || pmd_devmap(pmdval)) in wp_clean_pmd_entry()
98 VM_BUG_ON(pmd_trans_huge(*pmd)); in alloc_new_pmd()535 if (is_swap_pmd(*old_pmd) || pmd_trans_huge(*old_pmd) || in move_page_tables()
326 if (pmd_trans_huge(*pmd)) { in madvise_cold_or_pageout_pte_range()585 if (pmd_trans_huge(*pmd)) in madvise_free_pte_range()
667 if (likely(!pmd_trans_huge(pmdval))) in follow_pmd_mask()686 if (unlikely(!pmd_trans_huge(*pmd))) { in follow_pmd_mask()883 VM_BUG_ON(pmd_trans_huge(*pmd)); in get_gate_page()2639 if (unlikely(pmd_trans_huge(pmd) || pmd_huge(pmd) || in gup_pmd_range()
1078 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd()1681 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd()1835 if (likely(is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || in __pmd_trans_huge_lock()1972 VM_BUG_ON(!is_pmd_migration_entry(*pmd) && !pmd_trans_huge(*pmd) in __split_huge_pmd_locked()2171 if (pmd_trans_huge(*pmd)) { in __split_huge_pmd()
2257 if (pmd_trans_huge(*pmdp)) { in migrate_vma_collect_pmd()2261 if (unlikely(!pmd_trans_huge(*pmdp))) { in migrate_vma_collect_pmd()2731 if (pmd_trans_huge(*pmdp) || pmd_devmap(*pmdp)) in migrate_vma_insert_page()
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()
95 pmd_trans_huge() on the pmd returned by pmd_offset. You must hold the99 pmd_trans_huge returns false, you just fallback in the old code100 paths. If instead pmd_trans_huge returns true, you have to take the101 page table lock (pmd_lock()) and re-run pmd_trans_huge. Taking the104 pagetable walk). If the second pmd_trans_huge returns false, you
93 | pmd_trans_huge | Tests a Transparent Huge Page (THP) at PMD |
191 #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
39 #define pmd_trans_huge(pmd) (pmd_val(pmd) & _PAGE_HW_SZ) macro
202 if (is_swap_pmd(*____pmd) || pmd_trans_huge(*____pmd) \239 if (is_swap_pmd(*pmd) || pmd_trans_huge(*pmd) || pmd_devmap(*pmd)) in pmd_trans_huge_lock()
1179 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function1320 if (pmd_none(pmdval) || pmd_trans_huge(pmdval) || in pmd_none_or_trans_huge_or_clear_bad()
43 WARN_ON(!pmd_trans_huge(*pmdp) && !pmd_devmap(*pmdp)); in pmdp_set_access_flags()128 VM_BUG_ON((pmd_present(*pmdp) && !pmd_trans_huge(*pmdp) && in pmdp_huge_get_and_clear_full()
229 VM_BUG_ON(pmd_trans_huge(*pmdp)); in hash__pmdp_collapse_flush()
205 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
432 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { in __find_linux_pte()
432 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function457 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd))
584 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
1465 if (pmd_trans_huge(*vmf->pmd) || pmd_devmap(*vmf->pmd)) { in dax_iomap_pte_fault()1587 if (!pmd_none(*vmf->pmd) && !pmd_trans_huge(*vmf->pmd) && in dax_iomap_pmd_fault()
Completed in 56 milliseconds