Home
last modified time | relevance | path

Searched refs:pmd_leaf (Results 1 – 18 of 18) sorted by relevance

/arch/arm/include/asm/
Dkfence.h37 if (pmd_leaf(*pmd)) { in arch_kfence_init_pool()
Dpgtable-2level.h217 #define pmd_leaf(pmd) (pmd_val(pmd) & 2) macro
Dpgtable-3level.h122 #define pmd_leaf(pmd) pmd_sect(pmd) macro
/arch/riscv/include/asm/
Dpgtable.h243 #define pmd_leaf pmd_leaf macro
244 static inline int pmd_leaf(pmd_t pmd) in pmd_leaf() function
751 return pmd_leaf(pmd) && pmd_user(pmd); in pmd_user_accessible_page()
763 return pmd_leaf(pmd); in pmd_trans_huge()
/arch/riscv/mm/
Dpageattr.c60 if (pmd_leaf(val)) { in pageattr_pmd_entry()
111 if (pmd_leaf(*pmdp)) { in __split_linear_mapping_pmd()
450 if (pmd_leaf(*pmd)) in kernel_page_present()
Dpgtable.c66 if (!pmd_leaf(READ_ONCE(*pmd))) in pmd_clear_huge()
Dfault.c169 if (pmd_leaf(*pmd_k)) in vmalloc_fault()
Dhugetlbpage.c409 return pmd_leaf(pmd); in pmd_huge()
/arch/arc/include/asm/
Dpgtable-levels.h183 #define pmd_leaf(x) (pmd_val(x) & _PAGE_HW_SZ) macro
/arch/riscv/kernel/
Dhibernate.c222 if (pmd_leaf(pmd)) { in temp_pgtable_map_pmd()
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c1152 if (pmd_leaf(*pmd)) in radix__vmemmap_populate_address()
1187 if (pmd_leaf(*pmd)) in vmemmap_compound_tail_page()
1250 if (pmd_leaf(READ_ONCE(*pmd))) { in vmemmap_populate_compound_pages()
/arch/loongarch/include/asm/
Dpgtable.h615 #define pmd_leaf(pmd) ((pmd_val(pmd) & _PAGE_HUGE) != 0) macro
/arch/x86/include/asm/
Dpgtable.h263 #define pmd_leaf pmd_large macro
1694 return pmd_leaf(pmd) && (pmd_val(pmd) & _PAGE_PRESENT) && (pmd_val(pmd) & _PAGE_USER); in pmd_user_accessible_page()
/arch/mips/include/asm/
Dpgtable.h756 #define pmd_leaf(pmd) ((pmd_val(pmd) & _PAGE_HUGE) != 0) macro
/arch/arm64/include/asm/
Dpgtable.h612 #define pmd_leaf(pmd) (pmd_present(pmd) && !pmd_table(pmd)) macro
893 return pmd_leaf(pmd) && !pmd_present_invalid(pmd) && (pmd_user(pmd) || pmd_user_exec(pmd)); in pmd_user_accessible_page()
/arch/sparc/include/asm/
Dpgtable_64.h683 #define pmd_leaf pmd_large macro
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1486 #define pmd_leaf pmd_is_leaf macro
/arch/s390/include/asm/
Dpgtable.h725 #define pmd_leaf pmd_large macro