pgd_index 288 arch/alpha/include/asm/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) pgd_index 240 arch/alpha/mm/fault.c long index = pgd_index(address); pgd_index 339 arch/arc/include/asm/pgtable.h #define pgd_offset(mm, addr) (((mm)->pgd)+pgd_index(addr)) pgd_index 358 arch/arc/include/asm/pgtable.h pgd_base + pgd_index(addr); \ pgd_index 182 arch/arm/include/asm/pgtable.h #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) pgd_index 54 arch/arm/include/asm/stage2_pgtable.h #define stage2_pgd_index(kvm, addr) pgd_index(addr) pgd_index 420 arch/arm/mm/fault.c index = pgd_index(addr); pgd_index 95 arch/arm/mm/idmap.c pgd += pgd_index(addr); pgd_index 124 arch/arm/mm/ioremap.c sizeof(pgd_t) * (pgd_index(VMALLOC_END) - pgd_index 125 arch/arm/mm/ioremap.c pgd_index(VMALLOC_START))); pgd_index 56 arch/arm/mm/pgd.c new_pud = pud_alloc(mm, new_pgd + pgd_index(MODULES_VADDR), pgd_index 126 arch/arm/mm/pgd.c pgd = pgd_base + pgd_index(0); pgd_index 648 arch/arm64/include/asm/pgtable.h #define pgd_offset_raw(pgd, addr) ((pgd) + pgd_index(addr)) pgd_index 235 arch/csky/include/asm/pgtable.h #define __pgd_offset(address) pgd_index(address) pgd_index 290 arch/csky/include/asm/pgtable.h return mm->pgd + pgd_index(address); pgd_index 232 arch/hexagon/include/asm/pgtable.h #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) pgd_index 375 arch/ia64/include/asm/pgtable.h return mm->pgd + pgd_index(address); pgd_index 335 arch/m68k/include/asm/mcf_pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 199 arch/m68k/include/asm/motorola_pgtable.h return mm->pgd + pgd_index(address); pgd_index 192 arch/m68k/include/asm/sun3_pgtable.h ((mm)->pgd + pgd_index(address)) pgd_index 480 arch/microblaze/include/asm/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 199 arch/mips/include/asm/pgtable-32.h #define __pgd_offset(address) pgd_index(address) pgd_index 210 arch/mips/include/asm/pgtable-32.h #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) pgd_index 322 arch/mips/include/asm/pgtable-64.h #define __pgd_offset(address) pgd_index(address) pgd_index 333 arch/mips/include/asm/pgtable-64.h #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) pgd_index 142 arch/mips/kvm/mmu.c pgd += pgd_index(addr); pgd_index 263 arch/mips/kvm/mmu.c int i_min = pgd_index(start_gpa); pgd_index 264 arch/mips/kvm/mmu.c int i_max = pgd_index(end_gpa); pgd_index 383 arch/mips/kvm/mmu.c int i_min = pgd_index(start); \ pgd_index 384 arch/mips/kvm/mmu.c int i_max = pgd_index(end); \ pgd_index 921 arch/mips/kvm/mmu.c int i_min = pgd_index(start_gva); pgd_index 922 arch/mips/kvm/mmu.c int i_max = pgd_index(end_gva); pgd_index 365 arch/nds32/include/asm/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 22 arch/nds32/kernel/pm.c L1_PPTB_mskBASE)) + pgd_index((unsigned int)cpu_resume); pgd_index 360 arch/nds32/mm/fault.c unsigned int index = pgd_index(addr); pgd_index 113 arch/nds32/mm/init.c pgd = swapper_pg_dir + pgd_index(vaddr); pgd_index 128 arch/nds32/mm/init.c pgd = swapper_pg_dir + pgd_index(vaddr); pgd_index 108 arch/nios2/include/asm/pgtable.h #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) pgd_index 246 arch/nios2/mm/fault.c int offset = pgd_index(address); pgd_index 374 arch/openrisc/include/asm/pgtable.h #define __pgd_offset(address) pgd_index(address) pgd_index 376 arch/openrisc/include/asm/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) pgd_index 297 arch/openrisc/mm/fault.c int offset = pgd_index(address); pgd_index 357 arch/powerpc/include/asm/book3s/32/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 1011 arch/powerpc/include/asm/book3s/64/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 362 arch/powerpc/include/asm/nohash/32/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 191 arch/powerpc/include/asm/nohash/64/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 575 arch/powerpc/kvm/book3s_64_mmu_radix.c pgd = pgtable + pgd_index(gpa); pgd_index 1271 arch/powerpc/kvm/book3s_64_mmu_radix.c pgdp = pgt + pgd_index(gpa); pgd_index 273 arch/powerpc/mm/pgtable.c pgd = mm->pgd + pgd_index(addr); pgd_index 328 arch/powerpc/mm/pgtable.c pgdp = pgdir + pgd_index(ea); pgd_index 307 arch/powerpc/mm/ptdump/ptdump.c for (i = pgd_index(addr); i < PTRS_PER_PGD; i++, pgd++, addr += PGDIR_SIZE) { pgd_index 163 arch/riscv/include/asm/pgtable.h return mm->pgd + pgd_index(addr); pgd_index 234 arch/riscv/mm/fault.c index = pgd_index(addr); pgd_index 295 arch/riscv/mm/init.c uintptr_t pgd_index = pgd_index(va); pgd_index 298 arch/riscv/mm/init.c if (pgd_val(pgdp[pgd_index]) == 0) pgd_index 299 arch/riscv/mm/init.c pgdp[pgd_index] = pfn_pgd(PFN_DOWN(pa), prot); pgd_index 303 arch/riscv/mm/init.c if (pgd_val(pgdp[pgd_index]) == 0) { pgd_index 305 arch/riscv/mm/init.c pgdp[pgd_index] = pfn_pgd(PFN_DOWN(next_phys), PAGE_TABLE); pgd_index 309 arch/riscv/mm/init.c next_phys = PFN_PHYS(_pgd_pfn(pgdp[pgd_index])); pgd_index 409 arch/sh/include/asm/pgtable_32.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 410 arch/sh/include/asm/pgtable_32.h #define __pgd_offset(address) pgd_index(address) pgd_index 49 arch/sh/include/asm/pgtable_64.h #define __pgd_offset(address) pgd_index(address) pgd_index 50 arch/sh/include/asm/pgtable_64.h #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) pgd_index 144 arch/sh/kernel/io_trapped.c pgd_k = swapper_pg_dir + pgd_index(address); pgd_index 51 arch/sh/mm/fault.c pgd += pgd_index(addr); pgd_index 108 arch/sh/mm/fault.c unsigned index = pgd_index(address); pgd_index 316 arch/sparc/include/asm/pgtable_32.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 892 arch/sparc/include/asm/pgtable_64.h #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) pgd_index 352 arch/sparc/mm/fault_32.c int offset = pgd_index(address); pgd_index 313 arch/um/include/asm/pgtable.h #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) pgd_index 105 arch/um/kernel/mem.c i = pgd_index(vaddr); pgd_index 146 arch/um/kernel/mem.c pgd = swapper_pg_dir + pgd_index(vaddr); pgd_index 231 arch/unicore32/include/asm/pgtable.h #define pgd_offset(mm, addr) ((mm)->pgd+pgd_index(addr)) pgd_index 78 arch/unicore32/kernel/hibernate.c pgd_idx = pgd_index(PAGE_OFFSET); pgd_index 348 arch/unicore32/mm/fault.c index = pgd_index(addr); pgd_index 1015 arch/x86/include/asm/pgtable.h #define pgd_offset_pgd(pgd, address) (pgd + pgd_index((address))) pgd_index 1027 arch/x86/include/asm/pgtable.h #define KERNEL_PGD_BOUNDARY pgd_index(PAGE_OFFSET) pgd_index 1043 arch/x86/include/asm/pgtable.h trampoline_pgd_entry = init_top_pgt[pgd_index(__PAGE_OFFSET)]; pgd_index 120 arch/x86/kernel/espfix_64.c pgd = &init_top_pgt[pgd_index(ESPFIX_BASE_ADDR)]; pgd_index 153 arch/x86/kernel/head64.c p = pgd + pgd_index(__START_KERNEL_map); pgd_index 313 arch/x86/kernel/head64.c pgd_p = &early_top_pgt[pgd_index(address)].pgd; pgd_index 98 arch/x86/kernel/machine_kexec_32.c pgd += pgd_index(vaddr); pgd_index 136 arch/x86/kernel/machine_kexec_64.c pgd += pgd_index(vaddr); pgd_index 511 arch/x86/mm/dump_pagetables.c return (idx >= pgd_index(GUARD_HOLE_BASE_ADDR)) && pgd_index 512 arch/x86/mm/dump_pagetables.c (idx < pgd_index(GUARD_HOLE_END_ADDR)); pgd_index 151 arch/x86/mm/fault.c unsigned index = pgd_index(address); pgd_index 294 arch/x86/mm/fault.c pgd_t *pgd = &base[pgd_index(address)]; pgd_index 370 arch/x86/mm/fault.c pgd = (pgd_t *)__va(read_cr3_pa()) + pgd_index(address); pgd_index 449 arch/x86/mm/fault.c pgd_t *pgd = base + pgd_index(address); pgd_index 619 arch/x86/mm/fault.c pgd += pgd_index(address); pgd_index 1143 arch/x86/mm/fault.c pgd = init_mm.pgd + pgd_index(address); pgd_index 105 arch/x86/mm/ident_map.c pgd_t *pgd = pgd_page + pgd_index(addr); pgd_index 111 arch/x86/mm/init_32.c int pgd_idx = pgd_index(vaddr); pgd_index 140 arch/x86/mm/init_32.c pgd_idx = pgd_index(vaddr); pgd_index 222 arch/x86/mm/init_32.c pgd_idx = pgd_index(vaddr); pgd_index 294 arch/x86/mm/init_32.c pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); pgd_index 426 arch/x86/mm/init_32.c pgd = swapper_pg_dir + pgd_index(vaddr); pgd_index 491 arch/x86/mm/init_32.c pgd = base + pgd_index(va); pgd_index 147 arch/x86/mm/init_64.c pgd = (pgd_t *)page_address(page) + pgd_index(addr); pgd_index 189 arch/x86/mm/init_64.c pgd = (pgd_t *)page_address(page) + pgd_index(addr); pgd_index 805 arch/x86/mm/ioremap.c pgd_t *pgd = &base[pgd_index(addr)]; pgd_index 241 arch/x86/mm/kasan_init_64.c pgd += pgd_index(addr); pgd_index 325 arch/x86/mm/kasan_init_64.c set_pgd(&early_top_pgt[pgd_index(KASAN_SHADOW_END)], pgd_index 100 arch/x86/mm/mem_encrypt_identity.c pgd_p = ppd->pgd + pgd_index(ppd->vaddr); pgd_index 112 arch/x86/mm/mem_encrypt_identity.c pgd = ppd->pgd + pgd_index(ppd->vaddr); pgd_index 408 arch/x86/mm/mem_encrypt_identity.c decrypted_base = (pgd_index(workarea_end) + 1) & (PTRS_PER_PGD - 1); pgd_index 412 arch/x86/mm/mem_encrypt_identity.c check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); pgd_index 626 arch/x86/mm/pageattr.c return lookup_address_in_pgd(cpa->pgd + pgd_index(address), pgd_index 719 arch/x86/mm/pageattr.c pgd = (pgd_t *)page_address(page) + pgd_index(address); pgd_index 1404 arch/x86/mm/pageattr.c pgd_entry = cpa->pgd + pgd_index(addr); pgd_index 36 arch/x86/mm/pgtable_32.c pgd = swapper_pg_dir + pgd_index(vaddr); pgd_index 222 arch/x86/platform/efi/efi_64.c pgd = efi_pgd + pgd_index(EFI_VA_END); pgd_index 266 arch/x86/platform/efi/efi_64.c MAYBE_BUILD_BUG_ON(pgd_index(EFI_VA_END) != pgd_index(MODULES_END)); pgd_index 270 arch/x86/platform/efi/efi_64.c pgd_efi = efi_pgd + pgd_index(PAGE_OFFSET); pgd_index 273 arch/x86/platform/efi/efi_64.c num_entries = pgd_index(EFI_VA_END) - pgd_index(PAGE_OFFSET); pgd_index 283 arch/x86/platform/efi/efi_64.c pgd_efi = efi_pgd + pgd_index(EFI_VA_END); pgd_index 227 arch/x86/power/hibernate.c pgd_index(relocated_restore_code); pgd_index 89 arch/x86/power/hibernate_32.c pgd_idx = pgd_index(PAGE_OFFSET); pgd_index 151 arch/x86/power/hibernate_32.c pgd = pgd_base + pgd_index(restore_jump_address); pgd_index 77 arch/x86/power/hibernate_64.c set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); pgd_index 81 arch/x86/power/hibernate_64.c set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); pgd_index 490 arch/x86/xen/mmu_pv.c if (offset < pgd_index(USER_LIMIT)) { pgd_index 662 arch/x86/xen/mmu_pv.c hole_low = pgd_index(GUARD_HOLE_BASE_ADDR); pgd_index 663 arch/x86/xen/mmu_pv.c hole_high = pgd_index(GUARD_HOLE_END_ADDR); pgd_index 666 arch/x86/xen/mmu_pv.c nr = pgd_index(limit) + 1; pgd_index 818 arch/x86/xen/mmu_pv.c xen_pin_page(mm, pgd_page(pgd[pgd_index(TASK_SIZE)]), pgd_index 942 arch/x86/xen/mmu_pv.c xen_unpin_page(mm, pgd_page(pgd[pgd_index(TASK_SIZE)]), pgd_index 1504 arch/x86/xen/mmu_pv.c user_pgd[pgd_index(VSYSCALL_ADDR)] = pgd_index 1913 arch/x86/xen/mmu_pv.c l3 = m2v(pgd[pgd_index(__START_KERNEL_map)].pgd); pgd_index 1942 arch/x86/xen/mmu_pv.c i = pgd_index(xen_start_info->mfn_list); pgd_index 1943 arch/x86/xen/mmu_pv.c if (i && i < pgd_index(__START_KERNEL_map)) pgd_index 2021 arch/x86/xen/mmu_pv.c pgd = native_make_pgd(xen_read_phys_ulong(pa + pgd_index(vaddr) * pgd_index 370 arch/xtensa/include/asm/pgtable.h #define pgd_offset(mm,address) ((mm)->pgd + pgd_index(address)) pgd_index 198 arch/xtensa/mm/fault.c int index = pgd_index(address); pgd_index 108 tools/testing/selftests/kvm/lib/aarch64/processor.c ptep = addr_gpa2hva(vm, vm->pgd) + pgd_index(vm, vaddr) * 8; pgd_index 155 tools/testing/selftests/kvm/lib/aarch64/processor.c ptep = addr_gpa2hva(vm, vm->pgd) + pgd_index(vm, gva) * 8;