Searched refs:vcpu_thread (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 110 static struct kvm_vm *spawn_vm(struct kvm_vcpu **vcpu, pthread_t *vcpu_thread, in spawn_vm() argument 136 pthread_create(vcpu_thread, NULL, vcpu_worker, *vcpu); in spawn_vm() 180 pthread_t vcpu_thread; in test_move_memory_region() local 185 vm = spawn_vm(&vcpu, &vcpu_thread, guest_code_move_memory_region); in test_move_memory_region() 219 pthread_join(vcpu_thread, NULL); in test_move_memory_region() 274 pthread_t vcpu_thread; in test_delete_memory_region() local 280 vm = spawn_vm(&vcpu, &vcpu_thread, guest_code_delete_memory_region); in test_delete_memory_region() 305 pthread_join(vcpu_thread, NULL); in test_delete_memory_region()
|
H A D | dirty_log_test.c | 191 static pthread_t vcpu_thread; variable 196 pthread_kill(vcpu_thread, SIG_IPI); in vcpu_kick() 779 pthread_create(&vcpu_thread, NULL, vcpu_worker, vcpu); in run_test() 819 pthread_join(vcpu_thread, NULL); in run_test()
|
H A D | memslot_perf_test.c | 86 pthread_t vcpu_thread; member 367 pthread_create(&data->vcpu_thread, NULL, vcpu_worker, data); in launch_vm() 382 pthread_join(data->vcpu_thread, NULL);
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 21 struct vcpu_thread { struct 33 static struct vcpu_thread vcpu_threads[KVM_MAX_VCPUS]; argument 264 struct vcpu_thread *vcpu = data; in vcpu_thread_main() 296 struct vcpu_thread *vcpu = &vcpu_threads[i]; in memstress_start_vcpu_threads()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_ipi.c | 207 static void *vcpu_thread(void *arg) in vcpu_thread() function 273 r = pthread_create(&threads[0], NULL, vcpu_thread, vcpu[1]); in main() 276 r = pthread_create(&threads[1], NULL, vcpu_thread, vcpu[2]); in main()
|
H A D | xapic_ipi_test.c | 192 static void *vcpu_thread(void *arg) in vcpu_thread() function 431 r = pthread_create(&threads[0], NULL, vcpu_thread, ¶ms[0]); in main() 450 r = pthread_create(&threads[1], NULL, vcpu_thread, ¶ms[1]); in main()
|
H A D | hyperv_tlb_flush.c | 537 static void *vcpu_thread(void *arg) in vcpu_thread() function 646 r = pthread_create(&threads[0], NULL, vcpu_thread, vcpu[1]); in main() 649 r = pthread_create(&threads[1], NULL, vcpu_thread, vcpu[2]); in main()
|