Searched refs:vcpu_threads (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | kvm_page_table_test.c | 343 pthread_t *vcpu_threads; in run_test() local 352 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()
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vgic_lpi_stress.c | 303 pthread_t *vcpu_threads = malloc(nr_vcpus * sizeof(pthread_t)); in run_test() local 307 TEST_ASSERT(lpi_threads && vcpu_threads, "Failed to allocate pthread arrays"); in run_test() 312 pthread_create(&vcpu_threads[i], NULL, vcpu_worker_thread, vcpus[i]); in run_test() 328 pthread_join(vcpu_threads[i], NULL); in run_test()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | memstress.c | 33 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; variable 296 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()
|