Lines Matching refs:vcpu_id
48 int vcpu_id = vcpu_args->vcpu_id; in vcpu_worker() local
54 run = vcpu_state(vm, vcpu_id); in vcpu_worker()
59 ret = _vcpu_run(vm, vcpu_id); in vcpu_worker()
61 if (get_ucall(vm, vcpu_id, NULL) != UCALL_SYNC) { in vcpu_worker()
68 PER_VCPU_DEBUG("vCPU %d execution time: %ld.%.9lds\n", vcpu_id, in vcpu_worker()
288 int vcpu_id; in run_test() local
312 for (vcpu_id = 0; vcpu_id < nr_vcpus; vcpu_id++) { in run_test()
317 vcpu_args = &perf_test_args.vcpu_args[vcpu_id]; in run_test()
327 r = pipe2(&pipefds[vcpu_id * 2], in run_test()
331 setup_demand_paging(vm, &uffd_handler_threads[vcpu_id], in run_test()
332 pipefds[vcpu_id * 2], p->uffd_mode, in run_test()
333 p->uffd_delay, &uffd_args[vcpu_id], in run_test()
353 for (vcpu_id = 0; vcpu_id < nr_vcpus; vcpu_id++) { in run_test()
354 r = write(pipefds[vcpu_id * 2 + 1], &c, 1); in run_test()
357 pthread_join(uffd_handler_threads[vcpu_id], NULL); in run_test()