Searched refs:pmd_index (Results 1 – 20 of 20) 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()
131 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro134 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
225 #define __pmd_offset(address) pmd_index(address)231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro247 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
26 pmd += pmd_index(addr); in idmap_add_pmd()
109 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
408 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
135 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()210 pmd_idx = pmd_index(vaddr); in page_table_range_init()215 pmd = pmd + pmd_index(vaddr); in page_table_range_init()289 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
36 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()
413 int i = pmd_index(address); in phys_pmd_init()417 pmd_t *pmd = pmd_page + pmd_index(address); in phys_pmd_init()
94 pmd_index(address))
333 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
96 pmd_index(address) * sizeof(pmd_t); in __pmd_idte()
1117 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro1130 #define pmd_offset(pud, address) ((pmd_t *) pud + pmd_index(address))1151 return pmd + pmd_index(address); in pmd_offset()
112 pmdp += pmd_index(addr); in gup_pmd_range()
126 j = pmd_index(vaddr); in fixrange_init()
455 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function523 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
326 #define pmd_index(address) \ macro
238 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
448 #define pmd_index(address) \ macro
712 pmdidx_limit = pmd_index(limit); in __xen_pgd_walk()