Searched refs:pud_index (Results 1 – 14 of 14) sorted by relevance
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_64.h | 272 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro 277 L3_START_KERNEL = pud_index(__START_KERNEL_map)
|
| /linux/arch/riscv/mm/ |
| H A D | init.c | 607 uintptr_t pud_index = pud_index(va); in create_pud_mapping() local 610 if (pud_val(pudp[pud_index]) == 0) in create_pud_mapping() 611 pudp[pud_index] = pfn_pud(PFN_DOWN(pa), prot); in create_pud_mapping() 615 if (pud_val(pudp[pud_index]) == 0) { in create_pud_mapping() 617 pudp[pud_index] = pfn_pud(PFN_DOWN(next_phys), PAGE_TABLE); in create_pud_mapping() 621 next_phys = PFN_PHYS(_pud_pfn(pudp[pud_index])); in create_pud_mapping() 1629 pudp = pgtable_l4_enabled ? pud_base + pud_index(addr) : pud_base; in remove_pud_mapping()
|
| /linux/arch/x86/mm/ |
| H A D | kaslr.c | 194 pud_tramp = pud_page_tramp + pud_index(paddr); in init_trampoline_kaslr()
|
| /linux/arch/x86/kernel/ |
| H A D | espfix_64.c | 162 pud_p = &espfix_pud_page[pud_index(addr)]; in init_espfix_ap()
|
| H A D | head64.c | 129 pud_p += pud_index(address); in __early_make_pgtable()
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | processor.c | 32 static u64 pud_index(struct kvm_vm *vm, gva_t gva) in pud_index() function 151 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, gva) * 8; in _virt_pg_map() 198 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pud_index(vm, gva) * 8; in virt_get_pte_hva_at_level()
|
| /linux/drivers/pinctrl/samsung/ |
| H A D | pinctrl-samsung.h | 76 enum pud_index { enum
|
| /linux/arch/loongarch/mm/ |
| H A D | init.c | 76 j = pud_index(vaddr); in fixrange_init()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 338 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)) macro
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_crash.c | 520 pud = hv_crash_ptpgs[1] + pud_index(addr) * sizeof(pud); in hv_crash_build_tramp_pt()
|
| /linux/arch/mips/mm/ |
| H A D | init.c | 237 j = pud_index(vaddr); in fixrange_init()
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 630 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk() 1813 l2 = m2v(l3[pud_index(__START_KERNEL_map)].pud); in xen_setup_kernel_pagetable() 1932 pud = native_make_pud(xen_read_phys_ulong(pa + pud_index(vaddr) * in xen_early_virt_to_phys()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 385 pudp += pud_index(addr); in alloc_init_pud()
|
| /linux/mm/ |
| H A D | vmscan.c | 3803 for (i = pud_index(start), addr = start; addr != end; i++, addr = next) { in walk_pud_range()
|