Searched refs:pmd_index (Results 1 – 17 of 17) 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()
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()
136 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()211 pmd_idx = pmd_index(vaddr); in page_table_range_init()216 pmd = pmd + pmd_index(vaddr); in page_table_range_init()290 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))
325 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
96 pmd_index(address) * sizeof(pmd_t); in __pmd_idte()
1048 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro1061 #define pmd_offset(pud, address) ((pmd_t *) pud + pmd_index(address))1082 return pmd + pmd_index(address); in pmd_offset()
118 unsigned int index = pmd_index(vaddr); in spmd_addr()174 return gpage + pmd_index(vaddr) * sizeof(pmd_t); in gpmd_addr()1110 pmd_index(cpu->lg->kernel_address) == SWITCHER_PMD_INDEX) in page_table_guest_data_init()
100 pmdp += pmd_index(addr); in gup_pmd_range()
445 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function513 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
124 j = pmd_index(vaddr); in fixrange_init()
326 #define pmd_index(address) \ macro
409 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
448 #define pmd_index(address) \ macro
823 pmdidx_limit = pmd_index(limit); in __xen_pgd_walk()