Searched refs:pmd_index (Results 1 – 25 of 29) sorted by relevance
12
41 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro44 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
330 #define __pmd_offset(address) pmd_index(address)336 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro352 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
162 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64()166 for (; i <= pmd_index((unsigned long)_end); i++) in __startup_64()274 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
112 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()141 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()223 pmd_idx = pmd_index(vaddr); in page_table_range_init()228 pmd = pmd + pmd_index(vaddr); in page_table_range_init()302 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
12 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
340 pmd_p += pmd_index(ppd->vaddr); in sme_populate_pgd_large()354 pmd_p += pmd_index(ppd->vaddr); in sme_populate_pgd()
466 int i = pmd_index(paddr); in phys_pmd_init()469 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init()957 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
95 pmd_index(address))
325 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
43 pmd += pmd_index(addr); in idmap_add_pmd()
168 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro171 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
129 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
396 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
98 j = pmd_index(vaddr); in fixrange_init()
432 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro434 ((pmd_t *) pgd_page_vaddr(*(dir)) + pmd_index(address))
84 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
316 #define pmd_index(address) \ macro
192 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
276 j = pmd_index(vaddr); in allocate_pgtables()
107 pmdp += pmd_index(addr); in gup_pmd_range()
132 pmd_index(addr), 1); in huge_pte_offset()
231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
456 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro458 #define pmd_offset_phys(dir, addr) (pud_page_paddr(*(dir)) + pmd_index(addr) * sizeof(pmd_t))
1163 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro1198 return pmd + pmd_index(address); in pmd_offset()1370 sto = (unsigned long) pmdp - pmd_index(addr) * sizeof(pmd_t); in __pmdp_idte()
439 #define pmd_index(address) \ macro