Searched refs:pud_index (Results 1 – 18 of 18) sorted by relevance
32 static uint64_t pud_index(struct kvm_vm *vm, vm_vaddr_t gva) in pud_index() function116 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, vaddr) * 8; in _virt_pg_map()161 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, gva) * 8; in addr_gva2gpa()
205 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); \866 int i_min = pud_index(start_gva); in kvm_mips_flush_gva_pud()867 int i_max = pud_index(end_gva); in kvm_mips_flush_gva_pud()
57 #ifndef pud_index58 static inline unsigned long pud_index(unsigned long address) in pud_index() function62 #define pud_index pud_index macro100 return p4d_pgtable(*p4d) + pud_index(address); in pud_offset()
70 set_pud(pud + pud_index(restore_jump_address), in set_up_temporary_text_mapping()
164 pud_tramp = pud_page_tramp + pud_index(paddr); in init_trampoline_kaslr()
27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init()
314 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud()593 int i = pud_index(vaddr); in phys_pud_init()601 pud = pud_page + pud_index(vaddr); in phys_pud_init()1095 pud = pud_start + pud_index(addr); in remove_pud_table()
43 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro48 L3_START_KERNEL = pud_index(__START_KERNEL_map)
164 pud_p = &espfix_pud_page[pud_index(addr)]; in init_espfix_ap()
373 pud_p += pud_index(address); in __early_make_pgtable()
161 j = pud_index(vaddr); in fixrange_init()
144 num_entries = pud_index(EFI_VA_END); in efi_sync_low_kernel_mappings()150 num_entries = PTRS_PER_PUD - pud_index(EFI_VA_START); in efi_sync_low_kernel_mappings()
185 j = pud_index(vaddr); in page_table_range_init()
1237 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) macro1314 return (pud_t *) p4d_deref(p4d) + pud_index(address); in pud_offset_lockless()1519 r3o = (unsigned long) pudp - pud_index(addr) * sizeof(pud_t); in __pudp_idte()
242 j = pud_index(vaddr); in fixrange_init()
554 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk()1714 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable()1827 pud = native_make_pud(xen_read_phys_ulong(pa + pud_index(vaddr) * in xen_early_virt_to_phys()
856 pud = pud_start + pud_index(addr); in remove_pud_table()
703 #define pud_offset_phys(dir, addr) (p4d_page_paddr(READ_ONCE(*(dir))) + pud_index(addr) * sizeof(pu…