Searched refs:vcpu_args (Results 1 – 6 of 6) sorted by relevance
48 struct perf_test_vcpu_args *vcpu_args = &pta->vcpu_args[vcpu_idx]; in perf_test_guest_code() local53 gva = vcpu_args->gva; in perf_test_guest_code()54 pages = vcpu_args->pages; in perf_test_guest_code()57 GUEST_ASSERT(vcpu_args->vcpu_idx == vcpu_idx); in perf_test_guest_code()79 struct perf_test_vcpu_args *vcpu_args; in perf_test_setup_vcpus() local83 vcpu_args = &pta->vcpu_args[i]; in perf_test_setup_vcpus()85 vcpu_args->vcpu = vcpus[i]; in perf_test_setup_vcpus()86 vcpu_args->vcpu_idx = i; in perf_test_setup_vcpus()89 vcpu_args->gva = guest_test_virt_mem + in perf_test_setup_vcpus()91 vcpu_args->pages = vcpu_memory_bytes / in perf_test_setup_vcpus()[all …]
129 struct perf_test_vcpu_args *vcpu_args) in mark_vcpu_memory_idle() argument131 int vcpu_idx = vcpu_args->vcpu_idx; in mark_vcpu_memory_idle()132 uint64_t base_gva = vcpu_args->gva; in mark_vcpu_memory_idle()133 uint64_t pages = vcpu_args->pages; in mark_vcpu_memory_idle()223 static void vcpu_thread_main(struct perf_test_vcpu_args *vcpu_args) in vcpu_thread_main() argument225 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_thread_main()227 int vcpu_idx = vcpu_args->vcpu_idx; in vcpu_thread_main()237 mark_vcpu_memory_idle(vm, vcpu_args); in vcpu_thread_main()
45 static void vcpu_worker(struct perf_test_vcpu_args *vcpu_args) in vcpu_worker() argument47 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_worker()48 int vcpu_idx = vcpu_args->vcpu_idx; in vcpu_worker()310 struct perf_test_vcpu_args *vcpu_args; in run_test() local314 vcpu_args = &perf_test_args.vcpu_args[i]; in run_test()317 vcpu_hva = addr_gpa2hva(vm, vcpu_args->gpa); in run_test()318 vcpu_alias = addr_gpa2alias(vm, vcpu_args->gpa); in run_test()332 vcpu_args->pages * perf_test_args.guest_page_size); in run_test()361 perf_test_args.vcpu_args[0].pages * nr_vcpus / in run_test()
39 static void vcpu_worker(struct perf_test_vcpu_args *vcpu_args) in vcpu_worker() argument41 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_worker()
70 static void vcpu_worker(struct perf_test_vcpu_args *vcpu_args) in vcpu_worker() argument72 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_worker()73 int vcpu_idx = vcpu_args->vcpu_idx; in vcpu_worker()102 pages_count += vcpu_args->pages; in vcpu_worker()
43 struct perf_test_vcpu_args vcpu_args[KVM_MAX_VCPUS]; member