Home
last modified time | relevance | path

Searched refs:pmd_index (Results 1 – 23 of 23) 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/mips/include/asm/
Dpgtable-64.h238 #define __pmd_offset(address) pmd_index(address)
244 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
260 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/x86/mm/
Dinit_32.c111 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()
Dinit_64.c65 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()
/arch/arm/mm/
Didmap.c41 pmd += pmd_index(addr); in idmap_add_pmd()
/arch/arm/include/asm/
Dpgtable-3level.h169 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
172 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
/arch/tile/include/asm/
Dpgtable_64.h128 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
Dpgtable.h407 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
/arch/um/include/asm/
Dpgtable-3level.h94 pmd_index(address))
Dpgtable.h331 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/x86/kernel/
Dhead64.c104 pmd_p[pmd_index(address)] = pmd; in early_make_pgtable()
/arch/s390/include/asm/
Dpgtable.h1364 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
1377 #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()
/arch/s390/mm/
Dgup.c112 pmdp += pmd_index(addr); in gup_pmd_range()
/arch/um/kernel/
Dmem.c114 j = pmd_index(vaddr); in fixrange_init()
/arch/x86/include/asm/
Dpgtable.h529 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
599 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/arm64/include/asm/
Dpgtable.h412 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
416 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
/arch/m32r/include/asm/
Dpgtable.h326 #define pmd_index(address) \ macro
/arch/metag/mm/
Dinit.c274 j = pmd_index(vaddr); in allocate_pgtables()
/arch/hexagon/include/asm/
Dpgtable.h238 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/tile/mm/
Dhugetlbpage.c130 pmd_index(addr), 1); in huge_pte_offset()
/arch/metag/include/asm/
Dpgtable.h285 #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.c686 pmdidx_limit = pmd_index(limit); in __xen_pgd_walk()
1146 pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); in xen_cleanhighmap()