Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/mm/
Dkaslr.c160 for (i = pud_index(paddr); i < PTRS_PER_PUD; i++, paddr = paddr_next) { in init_trampoline_pud()
164 pud_tramp = pud_page_tramp + pud_index(paddr); in init_trampoline_pud()
165 pud = pud_page + pud_index(vaddr); in init_trampoline_pud()
Dident_map.c27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init()
Dinit_64.c283 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud()
560 int i = pud_index(vaddr); in phys_pud_init()
568 pud = pud_page + pud_index(vaddr); in phys_pud_init()
1033 pud = pud_start + pud_index(addr); in remove_pud_table()
/Linux-v4.19/arch/mips/include/asm/
Dpgtable-64.h212 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro
221 return (pud_t *)pgd_page_vaddr(*pgd) + pud_index(address); in pud_offset()
/Linux-v4.19/arch/x86/kernel/
Dhead_64.S44 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro
49 L3_START_KERNEL = pud_index(__START_KERNEL_map)
Despfix_64.c172 pud_p = &espfix_pud_page[pud_index(addr)]; in init_espfix_ap()
Dhead64.c330 pud_p += pud_index(address); in __early_make_pgtable()
/Linux-v4.19/arch/x86/power/
Dhibernate_64.c91 set_pud(pud + pud_index(restore_jump_address), in set_up_temporary_text_mapping()
/Linux-v4.19/arch/s390/mm/
Dgup.c178 pudp += pud_index(addr); in gup_pud_range()
/Linux-v4.19/arch/x86/platform/efi/
Defi_64.c300 num_entries = pud_index(EFI_VA_END); in efi_sync_low_kernel_mappings()
306 num_entries = PTRS_PER_PUD - pud_index(EFI_VA_START); in efi_sync_low_kernel_mappings()
/Linux-v4.19/arch/s390/include/asm/
Dpgtable.h1168 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro
1195 return pud + pud_index(address); in pud_offset()
1402 r3o = (unsigned long) pudp - pud_index(addr) * sizeof(pud_t); in __pudp_idte()
/Linux-v4.19/arch/arm64/include/asm/
Dpgtable.h550 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro
552 #define pud_offset_phys(dir, addr) (pgd_page_paddr(READ_ONCE(*(dir))) + pud_index(addr) * sizeof(pu…
/Linux-v4.19/arch/sparc/include/asm/
Dpgtable_64.h925 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro
927 ((pud_t *) pgd_page_vaddr(*(pgdp)) + pud_index(address))
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgtable.h989 #define pud_index(address) (((address) >> (PUD_SHIFT)) & (PTRS_PER_PUD - 1)) macro
1001 (((pud_t *) pgd_page_vaddr(*(pgdp))) + pud_index(addr))
/Linux-v4.19/arch/x86/include/asm/
Dpgtable.h878 static inline unsigned long pud_index(unsigned long address) in pud_index() function
908 return (pud_t *)p4d_page_vaddr(*p4d) + pud_index(address); in pud_offset()
/Linux-v4.19/arch/x86/xen/
Dmmu_pv.c588 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk()
1915 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable()
2028 pud = native_make_pud(xen_read_phys_ulong(pa + pud_index(vaddr) * in xen_early_virt_to_phys()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-radix.c834 pud = pud_start + pud_index(addr); in remove_pud_table()