Lines Matching refs:nr_vcpus
25 static int nr_vcpus = 1; variable
188 vm = perf_test_create_vm(mode, nr_vcpus, guest_percpu_mem_size, in run_test()
193 guest_num_pages = (nr_vcpus * guest_percpu_mem_size) >> vm_get_page_shift(vm); in run_test()
206 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test()
209 perf_test_setup_vcpus(vm, nr_vcpus, guest_percpu_mem_size, in run_test()
219 for (vcpu_id = 0; vcpu_id < nr_vcpus; vcpu_id++) { in run_test()
228 for (vcpu_id = 0; vcpu_id < nr_vcpus; vcpu_id++) { in run_test()
254 for (vcpu_id = 0; vcpu_id < nr_vcpus; vcpu_id++) { in run_test()
293 for (vcpu_id = 0; vcpu_id < nr_vcpus; vcpu_id++) in run_test()
381 nr_vcpus = atoi(optarg); in main()
382 TEST_ASSERT(nr_vcpus > 0 && nr_vcpus <= max_vcpus, in main()