/Linux-v4.19/arch/sh/include/asm/ |
D | pgtable-3level.h | 41 #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()
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | pgtable-64.h | 69 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro 73 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | pgtable-64.h | 314 #define __pmd_offset(address) pmd_index(address) 320 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro 336 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
|
/Linux-v4.19/arch/x86/mm/ |
D | init_32.c | 112 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()
|
D | ident_map.c | 12 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
|
D | init_64.c | 477 int i = pmd_index(paddr); in phys_pmd_init() 480 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init() 977 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | pgtable-3level.h | 168 #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()
|
/Linux-v4.19/arch/x86/kernel/ |
D | head64.c | 250 i = pmd_index(vaddr); in __startup_64() 345 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
|
/Linux-v4.19/arch/arm/mm/ |
D | idmap.c | 43 pmd += pmd_index(addr); in idmap_add_pmd()
|
/Linux-v4.19/arch/um/include/asm/ |
D | pgtable-3level.h | 95 pmd_index(address))
|
D | pgtable.h | 318 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
|
/Linux-v4.19/arch/um/kernel/ |
D | mem.c | 96 j = pmd_index(vaddr); in fixrange_init()
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | pgtable.h | 432 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro 434 ((pmd_t *) pgd_page_vaddr(*(dir)) + pmd_index(address))
|
/Linux-v4.19/arch/x86/power/ |
D | hibernate_64.c | 89 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
|
/Linux-v4.19/arch/hexagon/include/asm/ |
D | pgtable.h | 230 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
|
/Linux-v4.19/arch/s390/mm/ |
D | gup.c | 105 pmdp += pmd_index(addr); in gup_pmd_range()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | pgtable.h | 1169 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro 1204 return pmd + pmd_index(address); in pmd_offset() 1376 sto = (unsigned long) pmdp - pmd_index(addr) * sizeof(pmd_t); in __pmdp_idte()
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | pgtable.h | 498 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro 500 #define pmd_offset_phys(dir, addr) (pud_page_paddr(READ_ONCE(*(dir))) + pmd_index(addr) * sizeof(pm…
|
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 990 #define pmd_index(address) (((address) >> (PMD_SHIFT)) & (PTRS_PER_PMD - 1)) macro 1003 (((pmd_t *) pud_page_vaddr(*(pudp))) + pmd_index(addr))
|
/Linux-v4.19/arch/x86/include/asm/ |
D | pgtable.h | 793 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function 858 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
|
/Linux-v4.19/arch/x86/xen/ |
D | mmu_pv.c | 574 nr = last ? pmd_index(limit) + 1 : PTRS_PER_PMD; in xen_pmd_walk() 1088 pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); in xen_cleanhighmap() 2036 pmd = native_make_pmd(xen_read_phys_ulong(pa + pmd_index(vaddr) * in xen_early_virt_to_phys()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | pgtable-radix.c | 809 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
|
/Linux-v4.19/mm/ |
D | hugetlb.c | 4567 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()
|