Searched refs:pmd_index (Results 1 – 23 of 23) sorted by relevance
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()
238 #define __pmd_offset(address) pmd_index(address)244 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro260 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
111 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()140 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()222 pmd_idx = pmd_index(vaddr); in page_table_range_init()227 pmd = pmd + pmd_index(vaddr); in page_table_range_init()301 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
65 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()465 int i = pmd_index(address); in phys_pmd_init()468 pmd_t *pmd = pmd_page + pmd_index(address); in phys_pmd_init()883 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
41 pmd += pmd_index(addr); in idmap_add_pmd()
169 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro172 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
128 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
407 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
94 pmd_index(address))
331 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
104 pmd_p[pmd_index(address)] = pmd; in early_make_pgtable()
1364 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro1377 #define pmd_offset(pud, address) ((pmd_t *) pud + pmd_index(address))1398 return pmd + pmd_index(address); in pmd_offset()1527 sto = (unsigned long) pmdp - pmd_index(address) * sizeof(pmd_t); in __pmdp_idte()1539 sto = (unsigned long) pmdp - pmd_index(address) * sizeof(pmd_t); in __pmdp_idte_local()
112 pmdp += pmd_index(addr); in gup_pmd_range()
114 j = pmd_index(vaddr); in fixrange_init()
529 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function599 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
412 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro416 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
326 #define pmd_index(address) \ macro
274 j = pmd_index(vaddr); in allocate_pgtables()
238 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
130 pmd_index(addr), 1); in huge_pte_offset()
285 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
448 #define pmd_index(address) \ macro
686 pmdidx_limit = pmd_index(limit); in __xen_pgd_walk()1146 pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); in xen_cleanhighmap()