Searched refs:vcpu_threads (Results 1 – 2 of 2) sorted by relevance
346 pthread_t *vcpu_threads; in run_test() local355 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test()356 TEST_ASSERT(vcpu_threads, "Memory allocation failed"); in run_test()362 pthread_create(&vcpu_threads[i], NULL, vcpu_worker, in run_test()411 pthread_join(vcpu_threads[i], NULL); in run_test()419 free(vcpu_threads); in run_test()
31 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; variable272 struct vcpu_thread *vcpu = &vcpu_threads[i]; in perf_test_start_vcpu_threads()281 while (!READ_ONCE(vcpu_threads[i].running)) in perf_test_start_vcpu_threads()293 pthread_join(vcpu_threads[i].thread, NULL); in perf_test_join_vcpu_threads()