/linux-6.12.1/arch/mips/kvm/ |
D | mmu.c | 204 int i_min = pud_index(start_gpa); in kvm_mips_flush_gpa_pud() 205 int i_max = pud_index(end_gpa); in kvm_mips_flush_gpa_pud() 331 int i_min = pud_index(start); \ 332 int i_max = pud_index(end); \
|
/linux-6.12.1/arch/x86/include/asm/ |
D | pgtable_64.h | 276 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro 281 L3_START_KERNEL = pud_index(__START_KERNEL_map)
|
/linux-6.12.1/arch/riscv/mm/ |
D | init.c | 588 uintptr_t pud_index = pud_index(va); in create_pud_mapping() local 591 if (pud_val(pudp[pud_index]) == 0) in create_pud_mapping() 592 pudp[pud_index] = pfn_pud(PFN_DOWN(pa), prot); in create_pud_mapping() 596 if (pud_val(pudp[pud_index]) == 0) { in create_pud_mapping() 598 pudp[pud_index] = pfn_pud(PFN_DOWN(next_phys), PAGE_TABLE); in create_pud_mapping() 602 next_phys = PFN_PHYS(_pud_pfn(pudp[pud_index])); in create_pud_mapping() 1688 pudp = pud_base + pud_index(addr); in remove_pud_mapping()
|
D | pgtable.c | 48 return p4d_pgtable(p4dp_get(p4d)) + pud_index(address); in pud_offset()
|
D | kasan_init.c | 175 pudp = base_pud + pud_index(vaddr); in kasan_early_clear_pud() 246 pudp = base_pud + pud_index(vaddr); in kasan_early_populate_pud()
|
/linux-6.12.1/arch/x86/power/ |
D | hibernate_64.c | 70 set_pud(pud + pud_index(restore_jump_address), in set_up_temporary_text_mapping()
|
/linux-6.12.1/arch/x86/mm/ |
D | kaslr.c | 184 pud_tramp = pud_page_tramp + pud_index(paddr); in init_trampoline_kaslr()
|
D | init_64.c | 320 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud() 602 int i = pud_index(vaddr); in phys_pud_init() 610 pud = pud_page + pud_index(vaddr); in phys_pud_init() 1169 pud = pud_start + pud_index(addr); in remove_pud_table()
|
D | ident_map.c | 100 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init()
|
/linux-6.12.1/include/linux/ |
D | pgtable.h | 80 #ifndef pud_index 81 static inline unsigned long pud_index(unsigned long address) in pud_index() function 85 #define pud_index pud_index macro 133 return p4d_pgtable(*p4d) + pud_index(address); in pud_offset()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 36 static uint64_t pud_index(struct kvm_vm *vm, vm_vaddr_t gva) in pud_index() function 154 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, vaddr) * 8; in _virt_pg_map() 193 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, gva) * 8; in virt_get_pte_hva()
|
/linux-6.12.1/arch/x86/kernel/ |
D | espfix_64.c | 162 pud_p = &espfix_pud_page[pud_index(addr)]; in init_espfix_ap()
|
D | head64.c | 332 pud_p += pud_index(address); in __early_make_pgtable()
|
/linux-6.12.1/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.h | 76 enum pud_index { enum
|
/linux-6.12.1/arch/csky/mm/ |
D | init.c | 166 j = pud_index(vaddr); in fixrange_init()
|
/linux-6.12.1/arch/x86/platform/efi/ |
D | efi_64.c | 141 num_entries = pud_index(EFI_VA_END); in efi_sync_low_kernel_mappings() 147 num_entries = PTRS_PER_PUD - pud_index(EFI_VA_START); in efi_sync_low_kernel_mappings()
|
/linux-6.12.1/arch/sh/mm/ |
D | init.c | 185 j = pud_index(vaddr); in page_table_range_init()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | pgtable-64.h | 338 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | pgtable.h | 926 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro 930 return (pud_t *)PTR_ALIGN_DOWN(p4dp, PAGE_SIZE) + pud_index(addr); in p4d_to_folded_pud() 942 return p4d_page_paddr(READ_ONCE(*p4dp)) + pud_index(addr) * sizeof(pud_t); in pud_offset_phys() 950 return (pud_t *)__va(p4d_page_paddr(p4d)) + pud_index(addr); in pud_offset_lockless()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | pgtable.h | 1429 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro 1507 return (pud_t *) p4d_deref(p4d) + pud_index(address); in pud_offset_lockless() 1710 r3o = __pa(pudp) - pud_index(addr) * sizeof(pud_t); in __pudp_idte()
|
/linux-6.12.1/arch/mips/mm/ |
D | init.c | 248 j = pud_index(vaddr); in fixrange_init()
|
/linux-6.12.1/arch/x86/xen/ |
D | mmu_pv.c | 573 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk() 1742 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable() 1861 pud = native_make_pud(xen_read_phys_ulong(pa + pud_index(vaddr) * in xen_early_virt_to_phys()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 879 pud = pud_start + pud_index(addr); in remove_pud_table()
|
/linux-6.12.1/arch/arm64/mm/ |
D | mmu.c | 345 pudp += pud_index(addr); in alloc_init_pud()
|
/linux-6.12.1/mm/ |
D | vmscan.c | 3610 for (i = pud_index(start), addr = start; addr != end; i++, addr = next) { in walk_pud_range()
|