Home
last modified time | relevance | path

Searched refs:pud_index (Results 1 – 19 of 19) sorted by relevance

/arch/mips/kvm/
Dmmu.c204 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); \
/arch/x86/power/
Dhibernate_64.c70 set_pud(pud + pud_index(restore_jump_address), in set_up_temporary_text_mapping()
/arch/riscv/include/asm/
Dpgtable-64.h336 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro
342 return p4d_pgtable(*p4d) + pud_index(address); in pud_offset()
/arch/x86/mm/
Dkaslr.c164 pud_tramp = pud_page_tramp + pud_index(paddr); in init_trampoline_kaslr()
Dident_map.c27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init()
Dinit_64.c320 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud()
598 int i = pud_index(vaddr); in phys_pud_init()
606 pud = pud_page + pud_index(vaddr); in phys_pud_init()
1159 pud = pud_start + pud_index(addr); in remove_pud_table()
/arch/riscv/mm/
Dinit.c571 uintptr_t pud_index = pud_index(va); in create_pud_mapping() local
574 if (pud_val(pudp[pud_index]) == 0) in create_pud_mapping()
575 pudp[pud_index] = pfn_pud(PFN_DOWN(pa), prot); in create_pud_mapping()
579 if (pud_val(pudp[pud_index]) == 0) { in create_pud_mapping()
581 pudp[pud_index] = pfn_pud(PFN_DOWN(next_phys), PAGE_TABLE); in create_pud_mapping()
585 next_phys = PFN_PHYS(_pud_pfn(pudp[pud_index])); in create_pud_mapping()
Dkasan_init.c172 pudp = base_pud + pud_index(vaddr); in kasan_early_clear_pud()
243 pudp = base_pud + pud_index(vaddr); in kasan_early_populate_pud()
/arch/x86/kernel/
Despfix_64.c154 pud_p = &espfix_pud_page[pud_index(addr)]; in init_espfix_ap()
Dhead_64.S36 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro
41 L3_START_KERNEL = pud_index(__START_KERNEL_map)
Dhead64.c380 pud_p += pud_index(address); in __early_make_pgtable()
/arch/csky/mm/
Dinit.c166 j = pud_index(vaddr); in fixrange_init()
/arch/x86/platform/efi/
Defi_64.c141 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()
/arch/sh/mm/
Dinit.c185 j = pud_index(vaddr); in page_table_range_init()
/arch/mips/mm/
Dinit.c246 j = pud_index(vaddr); in fixrange_init()
/arch/s390/include/asm/
Dpgtable.h1385 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro
1462 return (pud_t *) p4d_deref(p4d) + pud_index(address); in pud_offset_lockless()
1665 r3o = __pa(pudp) - pud_index(addr) * sizeof(pud_t); in __pudp_idte()
/arch/x86/xen/
Dmmu_pv.c574 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()
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c803 pud = pud_start + pud_index(addr); in remove_pud_table()
/arch/arm64/include/asm/
Dpgtable.h801 #define pud_offset_phys(dir, addr) (p4d_page_paddr(READ_ONCE(*(dir))) + pud_index(addr) * sizeof(pu…