Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/arch/riscv/include/asm/
Dpgtable-64.h69 #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/
Dpgtable-64.h314 #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/
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()
Dinit_64.c477 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/
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()
/Linux-v4.19/arch/x86/kernel/
Dhead64.c250 i = pmd_index(vaddr); in __startup_64()
345 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
/Linux-v4.19/arch/arm/mm/
Didmap.c43 pmd += pmd_index(addr); in idmap_add_pmd()
/Linux-v4.19/arch/um/include/asm/
Dpgtable-3level.h95 pmd_index(address))
Dpgtable.h318 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/Linux-v4.19/arch/um/kernel/
Dmem.c96 j = pmd_index(vaddr); in fixrange_init()
/Linux-v4.19/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))
/Linux-v4.19/arch/x86/power/
Dhibernate_64.c89 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
/Linux-v4.19/arch/hexagon/include/asm/
Dpgtable.h230 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/Linux-v4.19/arch/s390/mm/
Dgup.c105 pmdp += pmd_index(addr); in gup_pmd_range()
/Linux-v4.19/arch/s390/include/asm/
Dpgtable.h1169 #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/
Dpgtable.h498 #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/
Dpgtable.h990 #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/
Dpgtable.h793 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/
Dmmu_pv.c574 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/
Dpgtable-radix.c809 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
/Linux-v4.19/mm/
Dhugetlb.c4567 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()