Home
last modified time | relevance | path

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

/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()
/arch/um/kernel/
Dmem.c84 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init() local
85 if (!pmd_table) in one_md_table_init()
89 set_pud(pud, __pud(_KERNPG_TABLE + (unsigned long) __pa(pmd_table))); in one_md_table_init()
90 if (pmd_table != pmd_offset(pud, 0)) in one_md_table_init()
/arch/x86/mm/
Dinit_32.c72 pmd_t *pmd_table; in one_md_table_init() local
76 pmd_table = (pmd_t *)alloc_low_page(); in one_md_table_init()
77 paravirt_alloc_pmd(&init_mm, __pa(pmd_table) >> PAGE_SHIFT); in one_md_table_init()
78 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); in one_md_table_init()
81 BUG_ON(pmd_table != pmd_offset(pud, 0)); in one_md_table_init()
83 return pmd_table; in one_md_table_init()
88 pmd_table = pmd_offset(pud, 0); in one_md_table_init()
90 return pmd_table; in one_md_table_init()
/arch/arm/include/asm/
Dpgtable-3level.h114 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro
196 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd))
/arch/arm64/include/asm/
Dpgtable.h525 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro
529 #define pmd_leaf(pmd) (pmd_present(pmd) && !pmd_table(pmd))
530 #define pmd_bad(pmd) (!pmd_table(pmd))
/arch/arm64/mm/
Dmmu.c901 WARN_ON(!pmd_table(pmd)); in unmap_hotplug_pmd_range()
1035 WARN_ON(!pmd_present(pmd) || !pmd_table(pmd) || pmd_sect(pmd)); in free_empty_pmd_table()
1435 if (!pmd_table(pmd)) { in pmd_free_pte_page()
/arch/arm64/kernel/
Dhibernate.c536 if (pmd_table(pmd)) { in copy_pmd()