Searched refs:pmd_index (Results 1 – 25 of 27) sorted by relevance
12
39 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro42 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
242 #define __pmd_offset(address) pmd_index(address)248 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro264 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
110 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()139 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()221 pmd_idx = pmd_index(vaddr); in page_table_range_init()226 pmd = pmd + pmd_index(vaddr); in page_table_range_init()300 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
11 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
405 int i = pmd_index(paddr); in phys_pmd_init()408 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init()829 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
41 pmd += pmd_index(addr); in idmap_add_pmd()
94 pmd_index(address))
318 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
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()
128 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
396 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
98 pmd_p[pmd_index(address)] = pmd; in early_make_pgtable()
70 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
98 j = pmd_index(vaddr); in fixrange_init()
431 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro433 ((pmd_t *) pgd_page_vaddr(*(dir)) + pmd_index(address))
104 pmdp += pmd_index(addr); in gup_pmd_range()
190 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
315 #define pmd_index(address) \ macro
130 pmd_index(addr), 1); in huge_pte_offset()
274 j = pmd_index(vaddr); in allocate_pgtables()
231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
1063 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro1086 return pmd + pmd_index(address); in pmd_offset()1247 sto = (unsigned long) pmdp - pmd_index(address) * sizeof(pmd_t); in __pmdp_idte()
589 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function655 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
468 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro470 #define pmd_offset_phys(dir, addr) (pud_page_paddr(*(dir)) + pmd_index(addr) * sizeof(pmd_t))
759 #define pmd_index(address) (((address) >> (PMD_SHIFT)) & (PTRS_PER_PMD - 1)) macro772 (((pmd_t *) pud_page_vaddr(*(pudp))) + pmd_index(addr))