Home
last modified time | relevance | path

Searched refs:max_vcpus (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/include/asm/
Dxive.h109 u32 xive_native_alloc_vp_block(u32 max_vcpus);
164 static inline u32 xive_native_alloc_vp_block(u32 max_vcpus) { return XIVE_INVALID_VP; } in xive_native_alloc_vp_block() argument
/arch/arm64/kvm/vgic/
Dvgic-init.c108 kvm->arch.max_vcpus = VGIC_V2_MAX_CPUS; in kvm_vgic_create()
110 kvm->arch.max_vcpus = VGIC_V3_MAX_CPUS; in kvm_vgic_create()
112 if (atomic_read(&kvm->online_vcpus) > kvm->arch.max_vcpus) { in kvm_vgic_create()
/arch/powerpc/sysdev/xive/
Dnative.c653 u32 xive_native_alloc_vp_block(u32 max_vcpus) in xive_native_alloc_vp_block() argument
658 order = fls(max_vcpus) - 1; in xive_native_alloc_vp_block()
659 if (max_vcpus > (1 << order)) in xive_native_alloc_vp_block()
663 max_vcpus, order); in xive_native_alloc_vp_block()
/arch/arm64/kvm/
Darm.c189 kvm->arch.max_vcpus = kvm_arm_default_max_vcpus(); in kvm_arch_init_vm()
281 r = kvm->arch.max_vcpus; in kvm_check_extension()
434 if (id >= kvm->arch.max_vcpus) in kvm_arch_vcpu_precreate()
/arch/arm64/include/asm/
Dkvm_host.h201 int max_vcpus; member