Home
last modified time | relevance | path

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

12

/arch/sh/include/asm/
Dpgtable-3level.h41 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
44 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/mips/include/asm/
Dpgtable-64.h330 #define __pmd_offset(address) pmd_index(address)
336 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
352 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/x86/kernel/
Dhead64.c162 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64()
166 for (; i <= pmd_index((unsigned long)_end); i++) in __startup_64()
274 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
/arch/x86/mm/
Dinit_32.c112 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()
141 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()
223 pmd_idx = pmd_index(vaddr); in page_table_range_init()
228 pmd = pmd + pmd_index(vaddr); in page_table_range_init()
302 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
Dident_map.c12 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
Dmem_encrypt.c340 pmd_p += pmd_index(ppd->vaddr); in sme_populate_pgd_large()
354 pmd_p += pmd_index(ppd->vaddr); in sme_populate_pgd()
Dinit_64.c466 int i = pmd_index(paddr); in phys_pmd_init()
469 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init()
957 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
/arch/um/include/asm/
Dpgtable-3level.h95 pmd_index(address))
Dpgtable.h325 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/arm/mm/
Didmap.c43 pmd += pmd_index(addr); in idmap_add_pmd()
/arch/arm/include/asm/
Dpgtable-3level.h168 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
171 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
/arch/tile/include/asm/
Dpgtable_64.h129 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
Dpgtable.h396 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
/arch/um/kernel/
Dmem.c98 j = pmd_index(vaddr); in fixrange_init()
/arch/parisc/include/asm/
Dpgtable.h432 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
434 ((pmd_t *) pgd_page_vaddr(*(dir)) + pmd_index(address))
/arch/x86/power/
Dhibernate_64.c84 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
/arch/m32r/include/asm/
Dpgtable.h316 #define pmd_index(address) \ macro
/arch/metag/include/asm/
Dpgtable.h192 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/metag/mm/
Dinit.c276 j = pmd_index(vaddr); in allocate_pgtables()
/arch/s390/mm/
Dgup.c107 pmdp += pmd_index(addr); in gup_pmd_range()
/arch/tile/mm/
Dhugetlbpage.c132 pmd_index(addr), 1); in huge_pte_offset()
/arch/hexagon/include/asm/
Dpgtable.h231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/arm64/include/asm/
Dpgtable.h456 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
458 #define pmd_offset_phys(dir, addr) (pud_page_paddr(*(dir)) + pmd_index(addr) * sizeof(pmd_t))
/arch/s390/include/asm/
Dpgtable.h1163 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
1198 return pmd + pmd_index(address); in pmd_offset()
1370 sto = (unsigned long) pmdp - pmd_index(addr) * sizeof(pmd_t); in __pmdp_idte()
/arch/mn10300/include/asm/
Dpgtable.h439 #define pmd_index(address) \ macro

12