Searched refs:p4d_index (Results 1 – 13 of 13) sorted by relevance
589 uintptr_t p4d_index = p4d_index(va); in create_p4d_mapping() local592 if (p4d_val(p4dp[p4d_index]) == 0) in create_p4d_mapping()593 p4dp[p4d_index] = pfn_p4d(PFN_DOWN(pa), prot); in create_p4d_mapping()597 if (p4d_val(p4dp[p4d_index]) == 0) { in create_p4d_mapping()599 p4dp[p4d_index] = pfn_p4d(PFN_DOWN(next_phys), PAGE_TABLE); in create_p4d_mapping()603 next_phys = PFN_PHYS(_p4d_pfn(p4dp[p4d_index])); in create_p4d_mapping()
185 p4dp = base_p4d + p4d_index(vaddr); in kasan_populate_p4d()380 p4dp = base_p4d + p4d_index(vaddr); in kasan_shallow_populate_p4d()
362 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) macro368 return pgd_pgtable(*pgd) + p4d_index(address); in p4d_offset()
76 set_p4d(p4d + p4d_index(restore_jump_address), new_p4d); in set_up_temporary_text_mapping()
170 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()1193 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
366 p4d_p += p4d_index(address); in __early_make_pgtable()
902 static inline unsigned long p4d_index(unsigned long address) in p4d_index() function931 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()
1294 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1)) macro1359 return (p4d_t *) pgd_deref(pgd) + p4d_index(address); in p4d_offset_lockless()