Searched refs:vcpu_threads (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/kvm/ |
| D | dirty_log_perf_test.c | 98 pthread_t *vcpu_threads; in run_test() local 129 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test() 130 TEST_ASSERT(vcpu_threads, "Memory allocation failed"); in run_test() 142 pthread_create(&vcpu_threads[vcpu_id], NULL, vcpu_worker, in run_test() 209 pthread_join(vcpu_threads[vcpu_id], NULL); in run_test() 231 free(vcpu_threads); in run_test()
|
| D | demand_paging_test.c | 254 pthread_t *vcpu_threads; in run_test() local 273 vcpu_threads = malloc(nr_vcpus * sizeof(*vcpu_threads)); in run_test() 274 TEST_ASSERT(vcpu_threads, "Memory allocation failed"); in run_test() 326 pthread_create(&vcpu_threads[vcpu_id], NULL, vcpu_worker, in run_test() 334 pthread_join(vcpu_threads[vcpu_id], NULL); in run_test() 364 free(vcpu_threads); in run_test()
|