Home
last modified time | relevance | path

Searched refs:perf_test_args (Results 1 – 6 of 6) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dperf_test_util.c11 struct perf_test_args perf_test_args; variable
45 struct perf_test_args *pta = &perf_test_args; in guest_code()
75 struct perf_test_args *pta = &perf_test_args; in perf_test_setup_vcpus()
109 struct perf_test_args *pta = &perf_test_args; in perf_test_create_vm()
184 sync_global_to_guest(vm, perf_test_args); in perf_test_create_vm()
197 perf_test_args.wr_fract = wr_fract; in perf_test_set_wr_fract()
198 sync_global_to_guest(vm, perf_test_args); in perf_test_set_wr_fract()
216 vcpu_thread_fn(&perf_test_args.vcpu_args[vcpu->vcpu_id]); in vcpu_thread_main()
/external/linux-kselftest/tools/testing/selftests/kvm/include/
Dperf_test_util.h31 struct perf_test_args { struct
40 extern struct perf_test_args perf_test_args; argument
/external/linux-kselftest/tools/testing/selftests/kvm/
Daccess_tracking_perf_test.c132 uint64_t base_gva = perf_test_args.vcpu_args[vcpu_id].gva; in mark_vcpu_memory_idle()
133 uint64_t pages = perf_test_args.vcpu_args[vcpu_id].pages; in mark_vcpu_memory_idle()
151 uint64_t gva = base_gva + page * perf_test_args.guest_page_size; in mark_vcpu_memory_idle()
220 struct kvm_vm *vm = perf_test_args.vm; in vcpu_thread_main()
Ddemand_paging_test.c49 struct kvm_vm *vm = perf_test_args.vm; in vcpu_worker()
317 vcpu_args = &perf_test_args.vcpu_args[vcpu_id]; in run_test()
335 vcpu_args->pages * perf_test_args.guest_page_size); in run_test()
364 perf_test_args.vcpu_args[0].pages * nr_vcpus / in run_test()
Dmemslot_modification_stress_test.c43 struct kvm_vm *vm = perf_test_args.vm; in vcpu_worker()
79 gpa = perf_test_args.gpa - pages * vm_get_page_size(vm); in add_remove_memslot()
Ddirty_log_perf_test.c37 struct kvm_vm *vm = perf_test_args.vm; in vcpu_worker()