Searched refs:pmd_table (Results 1 – 7 of 7) sorted by relevance
34 pmd_t *pmd_table; in resume_one_md_table_init() local37 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()
101 pmd_t *pmd_table = (pmd_t *) memblock_alloc_low(PAGE_SIZE, PAGE_SIZE); in one_md_table_init() local102 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()
71 pmd_t *pmd_table; in one_md_table_init() local75 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()
117 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro197 #define pmd_trans_huge(pmd) (pmd_val(pmd) && !pmd_table(pmd))
106 if (pmd_table(pmd)) { in copy_pmd()
898 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()
591 #define pmd_table(pmd) ((pmd_val(pmd) & PMD_TYPE_MASK) == \ macro595 #define pmd_leaf(pmd) (pmd_present(pmd) && !pmd_table(pmd))596 #define pmd_bad(pmd) (!pmd_table(pmd))