Home
last modified time | relevance | path

Searched refs:KVM_MAX_VCPUS (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkvm_host.h30 #define KVM_MAX_VCPUS 255 macro
633 DECLARE_BITMAP(sigp_emerg_pending, KVM_MAX_VCPUS);
903 struct page *pages[KVM_MAX_VCPUS];
917 DECLARE_BITMAP(kicked_mask, KVM_MAX_VCPUS);
961 DECLARE_BITMAP(idle_mask, KVM_MAX_VCPUS);
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s.h460 int block = (id / KVM_MAX_VCPUS) * (MAX_SMT_THREADS / stride); in kvmppc_pack_vcpu_id()
465 packed_id = (id % KVM_MAX_VCPUS) + block_offsets[block]; in kvmppc_pack_vcpu_id()
466 if (WARN_ONCE(packed_id >= KVM_MAX_VCPUS, "VCPU ID packing failed")) in kvmppc_pack_vcpu_id()
Dkvm_host.h29 #define KVM_MAX_VCPUS NR_CPUS macro
41 #define KVM_MAX_VCPU_ID KVM_MAX_VCPUS
/kernel/linux/linux-5.10/arch/x86/kvm/
Dirq_comm.c52 unsigned long dest_vcpu_bitmap[BITS_TO_LONGS(KVM_MAX_VCPUS)]; in kvm_irq_delivery_to_apic()
93 dest_vcpu_bitmap, KVM_MAX_VCPUS); in kvm_irq_delivery_to_apic()
Dhyperv.c39 #define KVM_HV_MAX_SPARSE_VCPU_SET_BITS DIV_ROUND_UP(KVM_MAX_VCPUS, 64)
140 if (vpidx >= KVM_MAX_VCPUS) in get_vcpu_by_vpidx()
1230 if (!host || new_vp_index >= KVM_MAX_VCPUS) in kvm_hv_set_msr()
1487 bitmap_zero(vcpu_bitmap, KVM_MAX_VCPUS); in sparse_set_to_vcpu_mask()
1504 DECLARE_BITMAP(vcpu_bitmap, KVM_MAX_VCPUS); in kvm_hv_flush_tlb()
1605 DECLARE_BITMAP(vcpu_bitmap, KVM_MAX_VCPUS); in kvm_hv_send_ipi()
2071 ent->eax = KVM_MAX_VCPUS; in kvm_vcpu_ioctl_get_hv_cpuid()
Dioapic.c323 DECLARE_BITMAP(vcpu_bitmap, KVM_MAX_VCPUS); in ioapic_write_indirect()
387 bitmap_zero(vcpu_bitmap, KVM_MAX_VCPUS); in ioapic_write_indirect()
Dx86.c3824 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h39 #define KVM_MAX_VCPU_ID KVM_MAX_VCPUS
451 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS];
571 if (id < KVM_MAX_VCPUS) in kvm_get_vcpu_by_id()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_host.h39 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS macro
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darm.c102 return vgic_present ? kvm_vgic_get_max_vcpus() : KVM_MAX_VCPUS; in kvm_arm_default_max_vcpus()
170 for (i = 0; i < KVM_MAX_VCPUS; ++i) { in kvm_arch_destroy_vm()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_xive.c1890 else if (nr_servers > KVM_MAX_VCPUS) in kvmppc_xive_set_nr_servers()
1894 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_set_nr_servers()
2108 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_create()
Dbook3s_xive_native.c1114 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_native_create()
Dpowerpc.c649 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
Dbook3s_hv.c2388 if (id >= (KVM_MAX_VCPUS * kvm->arch.emul_smt_mode)) { in kvmppc_core_vcpu_create_hv()
/kernel/linux/linux-5.10/arch/s390/kvm/
Dinterrupt.c778 cpu_addr = find_first_bit(li->sigp_emerg_pending, KVM_MAX_VCPUS); in __deliver_emergency_signal()
780 if (bitmap_empty(li->sigp_emerg_pending, KVM_MAX_VCPUS)) in __deliver_emergency_signal()
1382 bitmap_zero(li->sigp_emerg_pending, KVM_MAX_VCPUS); in kvm_s390_clear_local_irqs()
1865 (ASYNC_PF_PER_VCPU * KVM_MAX_VCPUS)) { in __inject_pfault_done()
3005 DECLARE_BITMAP(sigp_emerg_pending, KVM_MAX_VCPUS); in kvm_s390_get_irq_state()
3032 for_each_set_bit(cpuaddr, sigp_emerg_pending, KVM_MAX_VCPUS) { in kvm_s390_get_irq_state()
Dkvm-s390.c58 (KVM_MAX_VCPUS + LOCAL_IRQS))
564 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
2938 if (id < KVM_MAX_VCPUS) in sca_can_add_vcpu()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dkvm_host.h85 #define KVM_MAX_VCPUS 16 macro
/kernel/linux/linux-5.10/arch/mips/kvm/
Dmips.c1080 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h40 #define KVM_MAX_VCPUS 288 macro
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c3145 if (kvm->created_vcpus == KVM_MAX_VCPUS) { in kvm_vm_ioctl_create_vcpu()