Searched refs:pmd_table (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/arch/x86/power/ |
D | hibernate_32.c | 34 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-5.19.10/arch/um/kernel/ |
D | mem.c | 82 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init() local 83 if (!pmd_table) in one_md_table_init() 87 set_pud(pud, __pud(_KERNPG_TABLE + (unsigned long) __pa(pmd_table))); in one_md_table_init() 88 BUG_ON(pmd_table != pmd_offset(pud, 0)); in one_md_table_init()
|
/linux-5.19.10/arch/x86/mm/ |
D | init_32.c | 72 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()
|
/linux-5.19.10/arch/arm/include/asm/ |
D | pgtable-3level.h | 114 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro 194 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd))
|
/linux-5.19.10/arch/arm64/mm/ |
D | trans_pgd.c | 104 if (pmd_table(pmd)) { in copy_pmd()
|
D | mmu.c | 897 WARN_ON(!pmd_table(pmd)); in unmap_hotplug_pmd_range() 1031 WARN_ON(!pmd_present(pmd) || !pmd_table(pmd) || pmd_sect(pmd)); in free_empty_pmd_table() 1411 if (!pmd_table(pmd)) { in pmd_free_pte_page()
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | pgtable.h | 572 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro 576 #define pmd_leaf(pmd) (pmd_present(pmd) && !pmd_table(pmd)) 577 #define pmd_bad(pmd) (!pmd_table(pmd))
|