Searched refs:num_vcpus (Results 1 – 2 of 2) sorted by relevance
23 void test_vcpu_creation(int first_vcpu_id, int num_vcpus) in test_vcpu_creation() argument29 num_vcpus, first_vcpu_id, first_vcpu_id + num_vcpus - 1); in test_vcpu_creation()33 for (i = first_vcpu_id; i < first_vcpu_id + num_vcpus; i++) in test_vcpu_creation()
881 int num_vcpus = atomic_read(&kvm->online_vcpus); in kvm_get_vcpu() local882 i = array_index_nospec(i, num_vcpus); in kvm_get_vcpu()