Home
last modified time | relevance | path

Searched refs:phys_map (Results 1 – 13 of 13) sorted by relevance

/linux/arch/x86/platform/efi/
H A Dmemmap.c63 WARN_ON(data->phys_map || data->size); in efi_memmap_alloc()
73 data->phys_map = __efi_memmap_alloc_late(data->size); in efi_memmap_alloc()
76 data->phys_map = __efi_memmap_alloc_early(data->size); in efi_memmap_alloc()
79 if (!data->phys_map) in efi_memmap_alloc()
98 u64 phys = efi.memmap.phys_map; in efi_memmap_install()
H A Defi.c215 data.phys_map = pmap; in efi_memblock_x86_reserve_range()
297 .phys_map = efi.memmap.phys_map, in efi_clean_memmap()
770 if (efi_memmap_init_late(efi.memmap.phys_map, in kexec_enter_virtual_mode()
780 if (efi_setup_page_tables(efi.memmap.phys_map, num_pages)) { in kexec_enter_virtual_mode()
H A Dquirks.c288 new = early_memremap_prot(data.phys_map, data.size, in efi_arch_mem_reserve()
485 new = memremap(data.phys_map, data.size, MEMREMAP_WB); in efi_free_boot_services()
/linux/drivers/firmware/efi/
H A Dfdtparams.c94 [MMBASE] = { &mm->phys_map, sizeof(mm->phys_map) }, in efi_get_fdt_params()
H A Defi-init.c250 memblock_reserve(data.phys_map & PAGE_MASK, in efi_init()
251 PAGE_ALIGN(data.size + (data.phys_map & ~PAGE_MASK))); in efi_init()
H A Driscv-runtime.c79 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in riscv_enable_runtime_services()
H A Darm-runtime.c101 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in arm_enable_runtime_services()
/linux/arch/loongarch/kvm/
H A Dvcpu.c463 if ((cpuid < KVM_MAX_PHYID) && map->phys_map[cpuid].enabled) { in kvm_set_cpuid()
478 if (map->phys_map[val].enabled) { in kvm_set_cpuid()
480 if (vcpu == map->phys_map[val].vcpu) { in kvm_set_cpuid()
494 map->phys_map[val].enabled = true; in kvm_set_cpuid()
495 map->phys_map[val].vcpu = vcpu; in kvm_set_cpuid()
514 if (map->phys_map[cpuid].enabled) { in kvm_drop_cpuid()
515 map->phys_map[cpuid].vcpu = NULL; in kvm_drop_cpuid()
516 map->phys_map[cpuid].enabled = false; in kvm_drop_cpuid()
530 if (!map->phys_map[cpuid].enabled) in kvm_get_vcpu_by_cpuid()
533 return map->phys_map[cpuid].vcpu; in kvm_get_vcpu_by_cpuid()
/linux/arch/loongarch/kernel/
H A Defi.c139 data.phys_map = boot_memmap + sizeof(*tbl); in efi_init()
/linux/arch/x86/kvm/
H A Dlapic.c200 *cluster = &map->phys_map[offset]; in kvm_apic_map_get_logical_dest()
283 new->phys_map[x2apic_id] = apic; in kvm_recalculate_phys_map()
285 if (!apic_x2apic_mode(apic) && !new->phys_map[xapic_id]) in kvm_recalculate_phys_map()
286 new->phys_map[xapic_id] = apic; in kvm_recalculate_phys_map()
298 if (new->phys_map[physical_id]) in kvm_recalculate_phys_map()
301 new->phys_map[physical_id] = apic; in kvm_recalculate_phys_map()
854 if (map->phys_map[min + i]) { in __pv_send_ipi()
855 vcpu = map->phys_map[min + i]->vcpu; in __pv_send_ipi()
1175 *dst = &map->phys_map[dest_id]; in kvm_apic_map_get_dest_lapic()
H A Dx86.c9969 if (likely(map) && dest_id <= map->max_apic_id && map->phys_map[dest_id]) in kvm_sched_yield()
9970 target = map->phys_map[dest_id]->vcpu; in kvm_sched_yield()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h103 struct kvm_phyid_info phys_map[KVM_MAX_PHYID]; member
/linux/arch/x86/include/asm/
H A Dkvm_host.h1085 struct kvm_lapic *phys_map[]; member