Searched refs:p4d_index (Results 1 – 14 of 14) sorted by relevance
200 p4dp = base_p4d + p4d_index(vaddr); in kasan_early_clear_p4d()284 p4dp = base_p4d + p4d_index(vaddr); in kasan_early_populate_p4d()468 ptr = (pud_t *)p4d_page_vaddr(p4dp_get(base_p4d + p4d_index(KASAN_SHADOW_END))); in create_tmp_mapping()470 set_p4d(&base_p4d[p4d_index(KASAN_SHADOW_END)], in create_tmp_mapping()
598 uintptr_t p4d_index = p4d_index(va); in create_p4d_mapping() local601 if (p4d_val(p4dp[p4d_index]) == 0) in create_p4d_mapping()602 p4dp[p4d_index] = pfn_p4d(PFN_DOWN(pa), prot); in create_p4d_mapping()606 if (p4d_val(p4dp[p4d_index]) == 0) { in create_p4d_mapping()608 p4dp[p4d_index] = pfn_p4d(PFN_DOWN(next_phys), PAGE_TABLE); in create_p4d_mapping()612 next_phys = PFN_PHYS(_p4d_pfn(p4dp[p4d_index])); in create_p4d_mapping()
43 return pgd_pgtable(pgdp_get(pgd)) + p4d_index(address); in p4d_offset()
76 set_p4d(p4d + p4d_index(restore_jump_address), new_p4d); in set_up_temporary_text_mapping()
190 p4d_tramp = p4d_page_tramp + p4d_index(paddr); in init_trampoline_kaslr()
68 p4d_t *p4d = p4d_page + p4d_index(addr); in ident_p4d_init()
312 p4d_t *p4d = p4d_page + p4d_index(vaddr); in set_pte_vaddr_p4d()689 p4d_t *p4d = p4d_page + p4d_index(vaddr); in phys_p4d_init()1197 p4d = p4d_start + p4d_index(addr); in remove_p4d_table()
201 return (p4d_t *)p4d + p4d_index(addr); in early_p4d_offset()
215 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) macro
394 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) macro
365 p4d_p += p4d_index(address); in __early_make_pgtable()
1124 static inline unsigned long p4d_index(unsigned long address) in p4d_index() function1153 return (p4d_t *)pgd_page_vaddr(*pgd) + p4d_index(address); in p4d_offset()
126 num_entries = p4d_index(EFI_VA_END); in efi_sync_low_kernel_mappings()
1382 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1)) macro1447 return (p4d_t *) pgd_deref(pgd) + p4d_index(address); in p4d_offset_lockless()