Searched refs:vcpu_threads (Results 1 – 3 of 3) sorted by relevance
343 pthread_t *vcpu_threads; in run_test() local352 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test()353 TEST_ASSERT(vcpu_threads, "Memory allocation failed"); in run_test()359 pthread_create(&vcpu_threads[i], NULL, vcpu_worker, in run_test()408 pthread_join(vcpu_threads[i], NULL); in run_test()416 free(vcpu_threads); in run_test()
33 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; variable296 struct vcpu_thread *vcpu = &vcpu_threads[i]; in memstress_start_vcpu_threads()305 while (!READ_ONCE(vcpu_threads[i].running)) in memstress_start_vcpu_threads()319 pthread_join(vcpu_threads[i].thread, NULL); in memstress_join_vcpu_threads()