Searched refs:KVM_MAX_VCPUS (Results 1 – 17 of 17) sorted by relevance
/arch/s390/include/asm/ |
D | kvm_host.h | 30 #define KVM_MAX_VCPUS 255 macro 561 DECLARE_BITMAP(sigp_emerg_pending, KVM_MAX_VCPUS); 826 struct page *pages[KVM_MAX_VCPUS]; 840 DECLARE_BITMAP(kicked_mask, KVM_MAX_VCPUS); 877 DECLARE_BITMAP(idle_mask, KVM_MAX_VCPUS);
|
/arch/arm/include/asm/ |
D | kvm_host.h | 33 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS macro 35 #define KVM_MAX_VCPUS VGIC_V2_MAX_CPUS macro
|
/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 462 int block = (id / KVM_MAX_VCPUS) * (MAX_SMT_THREADS / stride); in kvmppc_pack_vcpu_id() 467 packed_id = (id % KVM_MAX_VCPUS) + block_offsets[block]; in kvmppc_pack_vcpu_id() 468 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
|
/arch/x86/kvm/ |
D | hyperv.c | 37 #define KVM_HV_MAX_SPARSE_VCPU_SET_BITS DIV_ROUND_UP(KVM_MAX_VCPUS, 64) 138 if (vpidx >= KVM_MAX_VCPUS) in get_vcpu_by_vpidx() 1109 if (!host || new_vp_index >= KVM_MAX_VCPUS) in kvm_hv_set_msr() 1362 bitmap_zero(vcpu_bitmap, KVM_MAX_VCPUS); in sparse_set_to_vcpu_mask() 1379 DECLARE_BITMAP(vcpu_bitmap, KVM_MAX_VCPUS); in kvm_hv_flush_tlb() 1481 DECLARE_BITMAP(vcpu_bitmap, KVM_MAX_VCPUS); in kvm_hv_send_ipi() 1912 ent->eax = KVM_MAX_VCPUS; in kvm_vcpu_ioctl_get_hv_cpuid()
|
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 | x86.c | 3377 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
|
/arch/arm64/include/asm/ |
D | kvm_host.h | 39 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS macro
|
/arch/powerpc/kvm/ |
D | book3s_xive_native.c | 139 if (server_num >= (KVM_MAX_VCPUS * vcpu->kvm->arch.emul_smt_mode)) { in kvmppc_xive_native_connect_vcpu() 1113 xive->vp_base = xive_native_alloc_vp_block(KVM_MAX_VCPUS); in kvmppc_xive_native_create()
|
D | book3s_xive.c | 1232 if (cpu >= (KVM_MAX_VCPUS * vcpu->kvm->arch.emul_smt_mode)) { in kvmppc_xive_connect_vcpu() 2029 xive->vp_base = xive_native_alloc_vp_block(KVM_MAX_VCPUS); in kvmppc_xive_create()
|
D | powerpc.c | 643 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
|
D | book3s_hv.c | 2328 if (id >= (KVM_MAX_VCPUS * kvm->arch.emul_smt_mode)) { in kvmppc_core_vcpu_create_hv()
|
/arch/s390/kvm/ |
D | interrupt.c | 745 cpu_addr = find_first_bit(li->sigp_emerg_pending, KVM_MAX_VCPUS); in __deliver_emergency_signal() 747 if (bitmap_empty(li->sigp_emerg_pending, KVM_MAX_VCPUS)) in __deliver_emergency_signal() 1265 bitmap_zero(li->sigp_emerg_pending, KVM_MAX_VCPUS); in kvm_s390_clear_local_irqs() 1744 (ASYNC_PF_PER_VCPU * KVM_MAX_VCPUS)) { in __inject_pfault_done() 2943 DECLARE_BITMAP(sigp_emerg_pending, KVM_MAX_VCPUS); in kvm_s390_get_irq_state() 2970 for_each_set_bit(cpuaddr, sigp_emerg_pending, KVM_MAX_VCPUS) { in kvm_s390_get_irq_state()
|
D | kvm-s390.c | 57 (KVM_MAX_VCPUS + LOCAL_IRQS)) 550 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension() 2700 if (id < KVM_MAX_VCPUS) in sca_can_add_vcpu()
|
/arch/mips/include/asm/ |
D | kvm_host.h | 81 #define KVM_MAX_VCPUS 8 macro
|
/arch/mips/kvm/ |
D | mips.c | 1115 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
|
/arch/x86/include/asm/ |
D | kvm_host.h | 40 #define KVM_MAX_VCPUS 288 macro
|