Searched refs:p4d_index (Results 1 – 16 of 16) 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()476 ptr = (pud_t *)p4d_page_vaddr(p4dp_get(base_p4d + p4d_index(KASAN_SHADOW_END))); in create_tmp_mapping()478 set_p4d(&base_p4d[p4d_index(KASAN_SHADOW_END)], in create_tmp_mapping()
614 uintptr_t p4d_index = p4d_index(va); in create_p4d_mapping() local617 if (p4d_val(p4dp[p4d_index]) == 0) in create_p4d_mapping()618 p4dp[p4d_index] = pfn_p4d(PFN_DOWN(pa), prot); in create_p4d_mapping()622 if (p4d_val(p4dp[p4d_index]) == 0) { in create_p4d_mapping()624 p4dp[p4d_index] = pfn_p4d(PFN_DOWN(next_phys), PAGE_TABLE); in create_p4d_mapping()628 next_phys = PFN_PHYS(_p4d_pfn(p4dp[p4d_index])); in create_p4d_mapping()1719 p4dp = p4d_base + p4d_index(addr); in remove_p4d_mapping()
56 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()
154 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()695 p4d_t *p4d = p4d_page + p4d_index(vaddr); in phys_p4d_init()1203 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
1050 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) macro1054 return (p4d_t *)PTR_ALIGN_DOWN(pgdp, PAGE_SIZE) + p4d_index(addr); in pgd_to_folded_p4d()1061 return pgd_page_paddr(READ_ONCE(*pgdp)) + p4d_index(addr) * sizeof(p4d_t); in p4d_offset_phys()1069 return (p4d_t *)__va(pgd_page_paddr(pgd)) + p4d_index(addr); in p4d_offset_lockless()1112 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) macro
396 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) macro
317 p4d_p += p4d_index(address); in __early_make_pgtable()
126 num_entries = p4d_index(EFI_VA_END); in efi_sync_low_kernel_mappings()
1177 static inline unsigned long p4d_index(unsigned long address) in p4d_index() function1206 return (p4d_t *)pgd_page_vaddr(*pgd) + p4d_index(address); in p4d_offset()
1428 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1)) macro1494 return (p4d_t *) pgd_deref(pgd) + p4d_index(address); in p4d_offset_lockless()
403 p4dp += p4d_index(addr); in alloc_init_p4d()