Searched refs:vcpu_threads (Results 1 – 2 of 2) sorted by relevance
345 pthread_t *vcpu_threads; in run_test() local354 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test()355 TEST_ASSERT(vcpu_threads, "Memory allocation failed"); in run_test()361 pthread_create(&vcpu_threads[i], NULL, vcpu_worker, in run_test()410 pthread_join(vcpu_threads[i], NULL); in run_test()418 free(vcpu_threads); in run_test()
34 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; variable302 struct vcpu_thread *vcpu = &vcpu_threads[i]; in memstress_start_vcpu_threads()311 while (!READ_ONCE(vcpu_threads[i].running)) in memstress_start_vcpu_threads()325 pthread_join(vcpu_threads[i].thread, NULL); in memstress_join_vcpu_threads()