Searched refs:pmd_index (Results 1 – 14 of 14) sorted by relevance
| /linux/arch/x86/boot/startup/ |
| H A D | map_kernel.c | 66 i = pmd_index(paddr - p2v_offset); in sme_postprocess_startup() 204 for (i = 0; i < pmd_index(va_text); i++) in __startup_64() 208 for (; i <= pmd_index(va_end); i++) in __startup_64()
|
| /linux/arch/arm/mm/ |
| H A D | pgd.c | 77 (pmd_index(MODULES_VADDR) - pmd_index(TASK_SIZE)) in pgd_alloc()
|
| /linux/arch/x86/power/ |
| H A D | hibernate_32.c | 158 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | processor.c | 43 static u64 pmd_index(struct kvm_vm *vm, gva_t gva) in pmd_index() function 157 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, gva) * 8; in _virt_pg_map() 205 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, gva) * 8; in virt_get_pte_hva_at_level()
|
| /linux/arch/x86/kernel/ |
| H A D | head64.c | 144 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
|
| /linux/arch/loongarch/mm/ |
| H A D | init.c | 77 k = pmd_index(vaddr); in fixrange_init()
|
| /linux/arch/riscv/mm/ |
| H A D | init.c | 505 uintptr_t pmd_idx = pmd_index(va); in create_pmd_mapping() 1173 fix_bmap_spmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_BEGIN))]; in setup_vm() 1174 fix_bmap_epmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_END))]; in setup_vm() 1602 pmdp = pmd_base + pmd_index(addr); in remove_pmd_mapping()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 251 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_crash.c | 524 pmd = hv_crash_ptpgs[2] + pmd_index(addr) * sizeof(pmd); in hv_crash_build_tramp_pt()
|
| /linux/arch/mips/mm/ |
| H A D | init.c | 238 k = pmd_index(vaddr); in fixrange_init()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 331 pmdp += pmd_index(addr); in alloc_init_cont_pmd() 353 pmdp += pmd_index(next) - pmd_index(addr); in alloc_init_cont_pmd()
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 616 nr = last ? pmd_index(limit) + 1 : PTRS_PER_PMD; in xen_pmd_walk() 1079 pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); in xen_cleanhighmap() 1940 pmd = native_make_pmd(xen_read_phys_ulong(pa + pmd_index(vaddr) * in xen_early_virt_to_phys()
|
| /linux/mm/ |
| H A D | vmscan.c | 3652 i = addr == -1 ? 0 : pmd_index(addr) - pmd_index(*first); in walk_pmd_range_locked() 3741 for (i = pmd_index(start), addr = start; addr != end; i++, addr = next) { in walk_pmd_range()
|
| H A D | hugetlb.c | 6922 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()
|