Searched refs:KVM_MAX_VCPUS (Results 1 – 20 of 20) sorted by relevance
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | kvm_host.h | 30 #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/ |
D | kvm_book3s.h | 460 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()
|
D | kvm_host.h | 29 #define KVM_MAX_VCPUS NR_CPUS macro 41 #define KVM_MAX_VCPU_ID KVM_MAX_VCPUS
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | irq_comm.c | 52 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()
|
D | hyperv.c | 39 #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()
|
D | ioapic.c | 323 DECLARE_BITMAP(vcpu_bitmap, KVM_MAX_VCPUS); in ioapic_write_indirect() 387 bitmap_zero(vcpu_bitmap, KVM_MAX_VCPUS); in ioapic_write_indirect()
|
D | x86.c | 3824 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
|
/kernel/linux/linux-5.10/include/linux/ |
D | kvm_host.h | 39 #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/ |
D | kvm_host.h | 39 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS macro
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | arm.c | 102 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/ |
D | book3s_xive.c | 1890 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()
|
D | book3s_xive_native.c | 1114 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_native_create()
|
D | powerpc.c | 649 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
|
D | book3s_hv.c | 2388 if (id >= (KVM_MAX_VCPUS * kvm->arch.emul_smt_mode)) { in kvmppc_core_vcpu_create_hv()
|
/kernel/linux/linux-5.10/arch/s390/kvm/ |
D | interrupt.c | 778 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()
|
D | kvm-s390.c | 58 (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/ |
D | kvm_host.h | 85 #define KVM_MAX_VCPUS 16 macro
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
D | mips.c | 1080 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kvm_host.h | 40 #define KVM_MAX_VCPUS 288 macro
|
/kernel/linux/linux-5.10/virt/kvm/ |
D | kvm_main.c | 3145 if (kvm->created_vcpus == KVM_MAX_VCPUS) { in kvm_vm_ioctl_create_vcpu()
|