Home
last modified time | relevance | path

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

/arch/s390/include/asm/
Dkvm_host.h30 #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/
Dkvm_host.h33 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS macro
35 #define KVM_MAX_VCPUS VGIC_V2_MAX_CPUS macro
/arch/powerpc/include/asm/
Dkvm_book3s.h462 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()
Dkvm_host.h29 #define KVM_MAX_VCPUS NR_CPUS macro
41 #define KVM_MAX_VCPU_ID KVM_MAX_VCPUS
/arch/x86/kvm/
Dhyperv.c37 #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()
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()
Dx86.c3377 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
/arch/arm64/include/asm/
Dkvm_host.h39 #define KVM_MAX_VCPUS VGIC_V3_MAX_CPUS macro
/arch/powerpc/kvm/
Dbook3s_xive_native.c139 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()
Dbook3s_xive.c1232 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()
Dpowerpc.c643 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
Dbook3s_hv.c2328 if (id >= (KVM_MAX_VCPUS * kvm->arch.emul_smt_mode)) { in kvmppc_core_vcpu_create_hv()
/arch/s390/kvm/
Dinterrupt.c745 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()
Dkvm-s390.c57 (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/
Dkvm_host.h81 #define KVM_MAX_VCPUS 8 macro
/arch/mips/kvm/
Dmips.c1115 r = KVM_MAX_VCPUS; in kvm_vm_ioctl_check_extension()
/arch/x86/include/asm/
Dkvm_host.h40 #define KVM_MAX_VCPUS 288 macro