Home
last modified time | relevance | path

Searched refs:pmd_table (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/x86/power/
Dhibernate_32.c34 pmd_t *pmd_table; in resume_one_md_table_init() local
37 pmd_table = (pmd_t *)get_safe_page(GFP_ATOMIC); in resume_one_md_table_init()
38 if (!pmd_table) in resume_one_md_table_init()
41 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); in resume_one_md_table_init()
45 BUG_ON(pmd_table != pmd_offset(pud, 0)); in resume_one_md_table_init()
49 pmd_table = pmd_offset(pud, 0); in resume_one_md_table_init()
52 return pmd_table; in resume_one_md_table_init()
/linux-6.6.21/arch/um/kernel/
Dmem.c101 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init() local
102 if (!pmd_table) in one_md_table_init()
106 set_pud(pud, __pud(_KERNPG_TABLE + (unsigned long) __pa(pmd_table))); in one_md_table_init()
107 BUG_ON(pmd_table != pmd_offset(pud, 0)); in one_md_table_init()
/linux-6.6.21/arch/x86/mm/
Dinit_32.c71 pmd_t *pmd_table; in one_md_table_init() local
75 pmd_table = (pmd_t *)alloc_low_page(); in one_md_table_init()
76 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); in one_md_table_init()
79 BUG_ON(pmd_table != pmd_offset(pud, 0)); in one_md_table_init()
81 return pmd_table; in one_md_table_init()
86 pmd_table = pmd_offset(pud, 0); in one_md_table_init()
88 return pmd_table; in one_md_table_init()
/linux-6.6.21/arch/arm/include/asm/
Dpgtable-3level.h117 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro
197 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd))
/linux-6.6.21/arch/arm64/mm/
Dtrans_pgd.c106 if (pmd_table(pmd)) { in copy_pmd()
Dmmu.c898 WARN_ON(!pmd_table(pmd)); in unmap_hotplug_pmd_range()
1032 WARN_ON(!pmd_present(pmd) || !pmd_table(pmd) || pmd_sect(pmd)); in free_empty_pmd_table()
1222 if (!pmd_table(pmd)) { in pmd_free_pte_page()
/linux-6.6.21/arch/arm64/include/asm/
Dpgtable.h591 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro
595 #define pmd_leaf(pmd) (pmd_present(pmd) && !pmd_table(pmd))
596 #define pmd_bad(pmd) (!pmd_table(pmd))