/linux-6.6.21/arch/x86/power/ |
D | hibernate_64.c | 77 set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); in set_up_temporary_text_mapping() 81 set_pgd(pgd + pgd_index(restore_jump_address), new_pgd); in set_up_temporary_text_mapping()
|
D | hibernate_32.c | 89 pgd_idx = pgd_index(PAGE_OFFSET); in resume_physical_mapping_init() 151 pgd = pgd_base + pgd_index(restore_jump_address); in set_up_temporary_text_mapping()
|
D | hibernate.c | 166 pgd_index(relocated_restore_code); in relocate_restore_code()
|
/linux-6.6.21/arch/arm/mm/ |
D | kasan_init.c | 225 BUILD_BUG_ON(pgd_index(KASAN_SHADOW_START) != in kasan_init() 226 pgd_index(KASAN_SHADOW_END)); in kasan_init() 230 set_pgd(&tmp_pgd_table[pgd_index(KASAN_SHADOW_START)], in kasan_init()
|
D | pgd.c | 57 new_p4d = p4d_alloc(mm, new_pgd + pgd_index(MODULES_VADDR), in pgd_alloc() 153 pgd = pgd_base + pgd_index(0); in pgd_free()
|
D | idmap.c | 96 pgd += pgd_index(addr); in identity_mapping_add()
|
D | ioremap.c | 126 sizeof(pgd_t) * (pgd_index(VMALLOC_END) - in __check_vmalloc_seq() 127 pgd_index(VMALLOC_START))); in __check_vmalloc_seq()
|
/linux-6.6.21/arch/x86/mm/ |
D | init_32.c | 109 int pgd_idx = pgd_index(vaddr); in populate_extra_pmd() 138 pgd_idx = pgd_index(vaddr); in page_table_range_init_count() 218 pgd_idx = pgd_index(vaddr); in page_table_range_init() 291 pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init() 455 pgd = base + pgd_index(va); in native_pagetable_init()
|
D | mem_encrypt_identity.c | 112 pgd_p = ppd->pgd + pgd_index(ppd->vaddr); in sme_clear_pgd() 124 pgd = ppd->pgd + pgd_index(ppd->vaddr); in sme_prepare_pgd() 426 decrypted_base = (pgd_index(workarea_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel() 430 check_base = (pgd_index(initrd_end) + 1) & (PTRS_PER_PGD - 1); in sme_encrypt_kernel()
|
D | pgtable_32.c | 35 pgd = swapper_pg_dir + pgd_index(vaddr); in set_pte_vaddr()
|
D | fault.c | 176 unsigned index = pgd_index(address); in vmalloc_sync_one() 296 pgd_t *pgd = &base[pgd_index(address)]; in dump_pagetable() 352 pgd_t *pgd = base + pgd_index(address); in dump_pagetable() 519 pgd += pgd_index(address); in show_fault_oops() 1034 pgd = init_mm.pgd + pgd_index(address); in spurious_kernel_fault()
|
D | kasan_init_64.c | 238 pgd += pgd_index(addr); in kasan_map_early_shadow() 367 set_pgd(&early_top_pgt[pgd_index(KASAN_SHADOW_END)], in kasan_init()
|
/linux-6.6.21/arch/mips/kvm/ |
D | mmu.c | 111 pgd += pgd_index(addr); in kvm_mips_walk_pgd() 233 int i_min = pgd_index(start_gpa); in kvm_mips_flush_gpa_pgd() 234 int i_max = pgd_index(end_gpa); in kvm_mips_flush_gpa_pgd() 355 int i_min = pgd_index(start); \ 356 int i_max = pgd_index(end); \
|
/linux-6.6.21/arch/x86/platform/efi/ |
D | efi_64.c | 80 pgd = efi_pgd + pgd_index(EFI_VA_END); in efi_alloc_page_tables() 115 pgd_efi = efi_pgd + pgd_index(PAGE_OFFSET); in efi_sync_low_kernel_mappings() 118 num_entries = pgd_index(EFI_VA_END) - pgd_index(PAGE_OFFSET); in efi_sync_low_kernel_mappings() 121 pgd_efi = efi_pgd + pgd_index(EFI_VA_END); in efi_sync_low_kernel_mappings()
|
/linux-6.6.21/arch/csky/mm/ |
D | highmem.c | 31 pgd = swapper_pg_dir + pgd_index(vaddr); in kmap_init()
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | pgtable.h | 323 pgd_index (unsigned long address) in pgd_index() function 330 #define pgd_index pgd_index macro
|
/linux-6.6.21/arch/mips/mm/ |
D | pgtable-32.c | 82 pgd = swapper_pg_dir + pgd_index(vaddr); in pagetable_init()
|
/linux-6.6.21/arch/sh/mm/ |
D | fault.c | 51 pgd += pgd_index(addr); in show_pte() 122 unsigned index = pgd_index(address); in vmalloc_sync_one()
|
/linux-6.6.21/arch/x86/xen/ |
D | mmu_pv.c | 468 if (offset < pgd_index(USER_LIMIT)) { in xen_get_user_pgd() 633 hole_low = pgd_index(GUARD_HOLE_BASE_ADDR); in __xen_pgd_walk() 634 hole_high = pgd_index(GUARD_HOLE_END_ADDR); in __xen_pgd_walk() 636 nr = pgd_index(limit) + 1; in __xen_pgd_walk() 1417 user_pgd[pgd_index(VSYSCALL_ADDR)] = in xen_pgd_alloc() 1741 l3 = m2v(pgd[pgd_index(__START_KERNEL_map)].pgd); in xen_setup_kernel_pagetable() 1770 i = pgd_index(xen_start_info->mfn_list); in xen_setup_kernel_pagetable() 1771 if (i && i < pgd_index(__START_KERNEL_map)) in xen_setup_kernel_pagetable() 1855 pgd = native_make_pgd(xen_read_phys_ulong(pa + pgd_index(vaddr) * in xen_early_virt_to_phys()
|
/linux-6.6.21/arch/powerpc/mm/ |
D | pgtable.c | 341 pgd = mm->pgd + pgd_index(addr); in assert_pte_locked() 408 pgdp = pgdir + pgd_index(ea); in __find_linux_pte()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 25 static uint64_t pgd_index(struct kvm_vm *vm, vm_vaddr_t gva) in pgd_index() function 128 ptep = addr_gpa2hva(vm, vm->pgd) + pgd_index(vm, vaddr) * 8; in _virt_pg_map() 167 ptep = addr_gpa2hva(vm, vm->pgd) + pgd_index(vm, gva) * 8; in virt_get_pte_hva()
|
/linux-6.6.21/arch/x86/realmode/ |
D | init.c | 170 for (i = pgd_index(__PAGE_OFFSET); i < PTRS_PER_PGD; i++) in setup_real_mode()
|
/linux-6.6.21/arch/alpha/mm/ |
D | fault.c | 236 long index = pgd_index(address); in do_page_fault()
|
/linux-6.6.21/arch/nios2/mm/ |
D | fault.c | 229 int offset = pgd_index(address); in do_page_fault()
|
/linux-6.6.21/arch/x86/kernel/ |
D | head64.c | 215 p = pgd + pgd_index(__START_KERNEL_map); in __startup_64() 344 pgd_p = &early_top_pgt[pgd_index(address)].pgd; in __early_make_pgtable()
|