Home
last modified time | relevance | path

Searched refs:pmd_index (Results 1 – 20 of 20) sorted by relevance

/arch/sh/include/asm/
Dpgtable-3level.h39 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
42 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/arm/include/asm/
Dpgtable-3level.h131 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
134 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
/arch/mips/include/asm/
Dpgtable-64.h225 #define __pmd_offset(address) pmd_index(address)
231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
247 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/arm/mm/
Didmap.c26 pmd += pmd_index(addr); in idmap_add_pmd()
/arch/tile/include/asm/
Dpgtable_64.h109 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
Dpgtable.h408 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
/arch/x86/mm/
Dinit_32.c135 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()
Dhugetlbpage.c36 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()
Dinit_64.c413 int i = pmd_index(address); in phys_pmd_init()
417 pmd_t *pmd = pmd_page + pmd_index(address); in phys_pmd_init()
/arch/um/include/asm/
Dpgtable-3level.h94 pmd_index(address))
Dpgtable.h333 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/s390/include/asm/
Dhugetlb.h96 pmd_index(address) * sizeof(pmd_t); in __pmd_idte()
Dpgtable.h1117 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
1130 #define pmd_offset(pud, address) ((pmd_t *) pud + pmd_index(address))
1151 return pmd + pmd_index(address); in pmd_offset()
/arch/s390/mm/
Dgup.c112 pmdp += pmd_index(addr); in gup_pmd_range()
/arch/um/kernel/
Dmem.c126 j = pmd_index(vaddr); in fixrange_init()
/arch/x86/include/asm/
Dpgtable.h455 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
523 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/m32r/include/asm/
Dpgtable.h326 #define pmd_index(address) \ macro
/arch/hexagon/include/asm/
Dpgtable.h238 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/mn10300/include/asm/
Dpgtable.h448 #define pmd_index(address) \ macro
/arch/x86/xen/
Dmmu.c712 pmdidx_limit = pmd_index(limit); in __xen_pgd_walk()