/linux-4.1.27/include/linux/ |
D | huge_mm.h | 106 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/ |
D | pgtable_64.c | 371 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()
|
D | tlb_hash64.c | 222 if (unlikely(hugepage_shift && pmd_trans_huge(*(pmd_t *)pte))) in __flush_hash_table_range()
|
D | hugetlbpage.c | 707 if (!shift || pmd_trans_huge(__pmd(pte_val(pte)))) in follow_huge_addr()
|
D | hash_utils_64.c | 1089 if (pmd_trans_huge(*(pmd_t *)ptep)) in hash_page_mm()
|
/linux-4.1.27/mm/ |
D | mprotect.c | 50 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()
|
D | mremap.c | 68 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()
|
D | gup.c | 189 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()
|
D | huge_memory.c | 865 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()
|
D | memory.c | 963 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()
|
D | rmap.c | 634 if (!pmd_present(pmde) || pmd_trans_huge(pmde)) in mm_find_pmd()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | pgtable-3level.h | 231 #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/ |
D | pgtable.h | 565 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/ |
D | pgtable-ppc64.h | 462 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/ |
D | tlb.c | 184 if (pmd_trans_huge(orig)) { in set_pmd_at()
|
D | fault_64.c | 115 if (pmd_trans_huge(*pmdp)) { in get_user_insn()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | pgtable.h | 487 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/ |
D | transhuge.txt | 338 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/ |
D | pgtable_64.h | 677 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/ |
D | pgtable.h | 491 #define pmd_trans_huge pmd_huge_page macro
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | pgtable.h | 278 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !(pmd_val(pmd) & PMD_TABLE_BIT)) macro
|
/linux-4.1.27/arch/x86/include/asm/ |
D | pgtable.h | 166 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
|
/linux-4.1.27/arch/s390/include/asm/ |
D | pgtable.h | 1554 static inline int pmd_trans_huge(pmd_t pmd) in pmd_trans_huge() function
|
/linux-4.1.27/arch/arm/kvm/ |
D | mmu.c | 47 #define kvm_pmd_huge(_x) (pmd_huge(_x) || pmd_trans_huge(_x))
|