Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dhuge_mm.h106 if (unlikely(pmd_trans_huge(*____pmd))) \
116 pmd_trans_huge(*____pmd)); \
136 if (pmd_trans_huge(*pmd)) in pmd_trans_huge_lock()
/linux-4.1.27/arch/powerpc/mm/
Dpgtable_64.c371 if (pmd_trans_huge(pmd) || pmd_huge(pmd)) in pmd_page()
509 WARN_ON(!pmd_trans_huge(*pmdp)); in pmdp_set_access_flags()
531 WARN_ON(!pmd_trans_huge(*pmdp)); in pmd_hugepage_update()
563 if (pmd_trans_huge(*pmdp)) { in pmdp_clear_flush()
633 WARN_ON(!pmd_trans_huge(*pmdp)); in pmdp_splitting_flush()
724 WARN_ON(!pmd_trans_huge(pmd)); in set_pmd_at()
Dtlb_hash64.c222 if (unlikely(hugepage_shift && pmd_trans_huge(*(pmd_t *)pte))) in __flush_hash_table_range()
Dhugetlbpage.c707 if (!shift || pmd_trans_huge(__pmd(pte_val(pte)))) in follow_huge_addr()
Dhash_utils_64.c1089 if (pmd_trans_huge(*(pmd_t *)ptep)) in hash_page_mm()
/linux-4.1.27/mm/
Dmprotect.c50 if (unlikely(pmd_trans_huge(*pmd) || pmd_none(*pmd))) { in lock_pte_protection()
150 if (!pmd_trans_huge(*pmd) && pmd_none_or_clear_bad(pmd)) in change_pmd_range()
159 if (pmd_trans_huge(*pmd)) { in change_pmd_range()
Dmremap.c68 VM_BUG_ON(pmd_trans_huge(*pmd)); in alloc_new_pmd()
193 if (pmd_trans_huge(*old_pmd)) { in move_page_tables()
213 VM_BUG_ON(pmd_trans_huge(*old_pmd)); in move_page_tables()
Dgup.c189 if (pmd_trans_huge(*pmd)) { in follow_page_mask()
195 if (likely(pmd_trans_huge(*pmd))) { in follow_page_mask()
235 VM_BUG_ON(pmd_trans_huge(*pmd)); in get_gate_page()
1219 if (unlikely(pmd_trans_huge(pmd) || pmd_huge(pmd))) { in gup_pmd_range()
Dhuge_memory.c865 if (unlikely(!pmd_trans_huge(pmd))) { in copy_huge_pmd()
1449 VM_BUG_ON(pmd_trans_huge(*new_pmd)); in move_huge_pmd()
1533 if (likely(pmd_trans_huge(*pmd))) { in __pmd_trans_huge_lock()
1592 if (pmd_trans_huge(*pmd)) { in page_check_address_pmd()
2899 if (unlikely(!pmd_trans_huge(*pmd))) { in __split_huge_page_pmd()
2925 if (unlikely(pmd_trans_huge(*pmd))) in __split_huge_page_pmd()
Dmemory.c963 if (pmd_trans_huge(*src_pmd)) { in copy_pmd_range()
1195 if (pmd_trans_huge(*pmd)) { in zap_pmd_range()
1426 VM_BUG_ON(pmd_trans_huge(*pmd)); in __get_locked_pte()
1653 VM_BUG_ON(pmd_trans_huge(*pmd)); in remap_pmd_range()
3330 if (pmd_trans_huge(orig_pmd)) { in __handle_mm_fault()
3506 VM_BUG_ON(pmd_trans_huge(*pmd)); in __follow_pte()
Drmap.c634 if (!pmd_present(pmde) || pmd_trans_huge(pmde)) in mm_find_pmd()
/linux-4.1.27/arch/arm/include/asm/
Dpgtable-3level.h231 #define pmd_thp_or_huge(pmd) (pmd_huge(pmd) || pmd_trans_huge(pmd))
234 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd)) macro
/linux-4.1.27/include/asm-generic/
Dpgtable.h565 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
647 if (pmd_none(pmdval) || pmd_trans_huge(pmdval)) in pmd_none_or_trans_huge_or_clear_bad()
/linux-4.1.27/arch/powerpc/include/asm/
Dpgtable-ppc64.h462 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
472 if (pmd_trans_huge(pmd)) in pmd_trans_splitting()
/linux-4.1.27/arch/sparc/mm/
Dtlb.c184 if (pmd_trans_huge(orig)) { in set_pmd_at()
Dfault_64.c115 if (pmd_trans_huge(*pmdp)) { in get_user_insn()
/linux-4.1.27/arch/mips/include/asm/
Dpgtable.h487 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
598 if (pmd_trans_huge(pmd)) in pmd_page()
/linux-4.1.27/Documentation/vm/
Dtranshuge.txt338 pmd_trans_huge() on the pmd returned by pmd_offset. You must hold the
342 pmd_trans_huge returns false, you just fallback in the old code
343 paths. If instead pmd_trans_huge returns true, you have to take the
344 mm->page_table_lock and re-run pmd_trans_huge. Taking the
347 pagetable walk). If the second pmd_trans_huge returns false, you
/linux-4.1.27/arch/sparc/include/asm/
Dpgtable_64.h677 static inline unsigned long pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
688 return pmd_trans_huge(pmd) && pte_special(pte); in pmd_trans_splitting()
/linux-4.1.27/arch/tile/include/asm/
Dpgtable.h491 #define pmd_trans_huge pmd_huge_page macro
/linux-4.1.27/arch/arm64/include/asm/
Dpgtable.h278 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !(pmd_val(pmd) & PMD_TABLE_BIT)) macro
/linux-4.1.27/arch/x86/include/asm/
Dpgtable.h166 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
/linux-4.1.27/arch/s390/include/asm/
Dpgtable.h1554 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
/linux-4.1.27/arch/arm/kvm/
Dmmu.c47 #define kvm_pmd_huge(_x) (pmd_huge(_x) || pmd_trans_huge(_x))