Home
last modified time | relevance | path

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

/linux/arch/mips/kvm/
A Dmmu.c205 int i_min = pud_index(start_gpa); in kvm_mips_flush_gpa_pud()
206 int i_max = pud_index(end_gpa); in kvm_mips_flush_gpa_pud()
332 int i_min = pud_index(start); \
333 int i_max = pud_index(end); \
/linux/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c32 static uint64_t pud_index(struct kvm_vm *vm, vm_vaddr_t gva) in pud_index() function
114 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, vaddr) * 8; in _virt_pg_map()
154 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, gva) * 8; in addr_gva2gpa()
/linux/include/linux/
A Dpgtable.h74 #ifndef pud_index
75 static inline unsigned long pud_index(unsigned long address) in pud_index() function
79 #define pud_index pud_index macro
117 return p4d_pgtable(*p4d) + pud_index(address); in pud_offset()
/linux/arch/x86/power/
A Dhibernate_64.c70 set_pud(pud + pud_index(restore_jump_address), in set_up_temporary_text_mapping()
/linux/arch/x86/kernel/
A Dhead_64.S34 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro
39 L3_START_KERNEL = pud_index(__START_KERNEL_map)
A Despfix_64.c164 pud_p = &espfix_pud_page[pud_index(addr)]; in init_espfix_ap()
A Dhead64.c377 pud_p += pud_index(address); in __early_make_pgtable()
/linux/arch/x86/mm/
A Dkaslr.c164 pud_tramp = pud_page_tramp + pud_index(paddr); in init_trampoline_kaslr()
A Dident_map.c27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init()
A Dinit_64.c315 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud()
594 int i = pud_index(vaddr); in phys_pud_init()
602 pud = pud_page + pud_index(vaddr); in phys_pud_init()
1158 pud = pud_start + pud_index(addr); in remove_pud_table()
/linux/arch/csky/mm/
A Dinit.c166 j = pud_index(vaddr); in fixrange_init()
/linux/arch/x86/platform/efi/
A 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()
/linux/arch/sh/mm/
A Dinit.c185 j = pud_index(vaddr); in page_table_range_init()
/linux/arch/s390/include/asm/
A Dpgtable.h1234 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro
1311 return (pud_t *) p4d_deref(p4d) + pud_index(address); in pud_offset_lockless()
1516 r3o = __pa(pudp) - pud_index(addr) * sizeof(pud_t); in __pudp_idte()
/linux/arch/mips/mm/
A Dinit.c241 j = pud_index(vaddr); in fixrange_init()
/linux/arch/x86/xen/
A Dmmu_pv.c557 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk()
1732 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable()
1851 pud = native_make_pud(xen_read_phys_ulong(pa + pud_index(vaddr) * in xen_early_virt_to_phys()
/linux/arch/powerpc/mm/book3s64/
A Dradix_pgtable.c807 pud = pud_start + pud_index(addr); in remove_pud_table()
/linux/arch/arm64/include/asm/
A Dpgtable.h725 #define pud_offset_phys(dir, addr) (p4d_page_paddr(READ_ONCE(*(dir))) + pud_index(addr) * sizeof(pu…

Completed in 34 milliseconds