Searched refs:phys_map (Results 1 – 13 of 13) sorted by relevance
/linux/arch/x86/platform/efi/ |
H A D | memmap.c | 63 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 D | efi.c | 215 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 D | quirks.c | 288 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 D | fdtparams.c | 94 [MMBASE] = { &mm->phys_map, sizeof(mm->phys_map) }, in efi_get_fdt_params()
|
H A D | efi-init.c | 250 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 D | riscv-runtime.c | 79 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in riscv_enable_runtime_services()
|
H A D | arm-runtime.c | 101 if (efi_memmap_init_late(efi.memmap.phys_map, mapsize)) { in arm_enable_runtime_services()
|
/linux/arch/loongarch/kvm/ |
H A D | vcpu.c | 463 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 D | efi.c | 139 data.phys_map = boot_memmap + sizeof(*tbl); in efi_init()
|
/linux/arch/x86/kvm/ |
H A D | lapic.c | 200 *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 D | x86.c | 9969 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 D | kvm_host.h | 103 struct kvm_phyid_info phys_map[KVM_MAX_PHYID]; member
|
/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 1085 struct kvm_lapic *phys_map[]; member
|