Home
last modified time | relevance | path

Searched refs:memstress_args (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c14 struct memstress_args memstress_args; variable
50 struct memstress_args *args = &memstress_args; in memstress_guest_code()
94 struct memstress_args *args = &memstress_args; in memstress_setup_vcpus()
130 struct memstress_args *args = &memstress_args; in memstress_create_vm()
229 sync_global_to_guest(vm, memstress_args); in memstress_create_vm()
241 memstress_args.write_percent = write_percent; in memstress_set_write_percent()
247 memstress_args.random_seed = random_seed; in memstress_set_random_seed()
253 memstress_args.random_access = random_access; in memstress_set_random_access()
273 if (memstress_args.pin_vcpus) in vcpu_thread_main()
299 WRITE_ONCE(memstress_args.stop_vcpus, false); in memstress_start_vcpu_threads()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddemand_paging_test.c151 vcpu_args = &memstress_args.vcpu_args[i]; in run_test()
153 vcpu_args->pages * memstress_args.guest_page_size); in run_test()
163 vcpu_args = &memstress_args.vcpu_args[i]; in run_test()
173 vcpu_args->pages * memstress_args.guest_page_size, in run_test()
197 memstress_args.vcpu_args[0].pages * nr_vcpus / in run_test()
288 kvm_parse_vcpu_pinning(cpulist, memstress_args.vcpu_to_pcpu, in main()
290 memstress_args.pin_vcpus = true; in main()
H A Dmemslot_modification_stress_test.c46 while (!READ_ONCE(memstress_args.stop_vcpus)) { in vcpu_worker()
76 gpa = memstress_args.gpa - pages * vm->page_size; in add_remove_memslot()
H A Daccess_tracking_perf_test.c149 uint64_t gva = base_gva + page * memstress_args.guest_page_size; in mark_vcpu_memory_idle()
217 if (READ_ONCE(memstress_args.stop_vcpus)) in spin_wait_for_next_iteration()
229 struct kvm_vm *vm = memstress_args.vm; in vcpu_thread_main()
H A Ddirty_log_perf_test.c389 memstress_args.nested = true; in main()
423 kvm_parse_vcpu_pinning(pcpu_list, memstress_args.vcpu_to_pcpu, in main()
425 memstress_args.pin_vcpus = true; in main()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dmemstress.h32 struct memstress_args { struct
56 extern struct memstress_args memstress_args; argument
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dmemstress.c75 start = align_down(memstress_args.gpa, PG_SIZE_1G); in memstress_setup_ept()
76 end = align_up(memstress_args.gpa + memstress_args.size, PG_SIZE_1G); in memstress_setup_ept()