pmd_index 159 arch/arm/include/asm/pgtable-3level.h return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); pmd_index 44 arch/arm/mm/idmap.c pmd += pmd_index(addr); pmd_index 560 arch/arm64/include/asm/pgtable.h #define pmd_offset_phys(dir, addr) (pud_page_paddr(READ_ONCE(*(dir))) + pmd_index(addr) * sizeof(pmd_t)) pmd_index 324 arch/mips/include/asm/pgtable-64.h #define __pmd_offset(address) pmd_index(address) pmd_index 346 arch/mips/include/asm/pgtable-64.h return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); pmd_index 455 arch/parisc/include/asm/pgtable.h ((pmd_t *) pgd_page_vaddr(*(dir)) + pmd_index(address)) pmd_index 1016 arch/powerpc/include/asm/book3s/64/pgtable.h (((pmd_t *) pud_page_vaddr(*(pudp))) + pmd_index(addr)) pmd_index 797 arch/powerpc/mm/book3s64/radix_pgtable.c pmd = pmd_start + pmd_index(addr); pmd_index 65 arch/riscv/include/asm/pgtable-64.h return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); pmd_index 251 arch/riscv/mm/init.c uintptr_t pmd_index = pmd_index(va); pmd_index 254 arch/riscv/mm/init.c if (pmd_none(pmdp[pmd_index])) pmd_index 255 arch/riscv/mm/init.c pmdp[pmd_index] = pfn_pmd(PFN_DOWN(pa), prot); pmd_index 259 arch/riscv/mm/init.c if (pmd_none(pmdp[pmd_index])) { pmd_index 261 arch/riscv/mm/init.c pmdp[pmd_index] = pfn_pmd(PFN_DOWN(pte_phys), PAGE_TABLE); pmd_index 265 arch/riscv/mm/init.c pte_phys = PFN_PHYS(_pmd_pfn(pmdp[pmd_index])); pmd_index 1267 arch/s390/include/asm/pgtable.h return (pmd_t *) pud_deref(*pud) + pmd_index(address); pmd_index 1451 arch/s390/include/asm/pgtable.h sto = (unsigned long) pmdp - pmd_index(addr) * sizeof(pmd_t); pmd_index 47 arch/sh/include/asm/pgtable-3level.h return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); pmd_index 95 arch/um/include/asm/pgtable-3level.h pmd_index(address)) pmd_index 106 arch/um/kernel/mem.c j = pmd_index(vaddr); pmd_index 878 arch/x86/include/asm/pgtable.h return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); pmd_index 239 arch/x86/kernel/head64.c for (i = 0; i < pmd_index((unsigned long)_text); i++) pmd_index 243 arch/x86/kernel/head64.c for (; i <= pmd_index((unsigned long)_end); i++) pmd_index 270 arch/x86/kernel/head64.c i = pmd_index(vaddr); pmd_index 365 arch/x86/kernel/head64.c pmd_p[pmd_index(address)] = pmd; pmd_index 12 arch/x86/mm/ident_map.c pmd_t *pmd = pmd_page + pmd_index(addr); pmd_index 112 arch/x86/mm/init_32.c int pmd_idx = pmd_index(vaddr); pmd_index 141 arch/x86/mm/init_32.c pmd_idx = pmd_index(vaddr); pmd_index 223 arch/x86/mm/init_32.c pmd_idx = pmd_index(vaddr); pmd_index 228 arch/x86/mm/init_32.c pmd = pmd + pmd_index(vaddr); pmd_index 302 arch/x86/mm/init_32.c pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); pmd_index 508 arch/x86/mm/init_64.c int i = pmd_index(paddr); pmd_index 511 arch/x86/mm/init_64.c pmd_t *pmd = pmd_page + pmd_index(paddr); pmd_index 1037 arch/x86/mm/init_64.c pmd = pmd_start + pmd_index(addr); pmd_index 158 arch/x86/power/hibernate_32.c set_pmd(pmd + pmd_index(restore_jump_address), pmd_index 68 arch/x86/power/hibernate_64.c set_pmd(pmd + pmd_index(restore_jump_address), pmd_index 582 arch/x86/xen/mmu_pv.c nr = last ? pmd_index(limit) + 1 : PTRS_PER_PMD; pmd_index 1097 arch/x86/xen/mmu_pv.c pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); pmd_index 2035 arch/x86/xen/mmu_pv.c pmd = native_make_pmd(xen_read_phys_ulong(pa + pmd_index(vaddr) * pmd_index 4820 mm/hugetlb.c if (pmd_index(addr) != pmd_index(saddr) || pmd_index 123 tools/testing/selftests/kvm/lib/aarch64/processor.c ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, vaddr) * 8; pmd_index 166 tools/testing/selftests/kvm/lib/aarch64/processor.c ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, gva) * 8;