Searched refs:memstress_args (Results 1 – 7 of 7) sorted by relevance
13 struct memstress_args memstress_args; variable49 struct memstress_args *args = &memstress_args; in memstress_guest_code()67 for (i = 0; i < sizeof(memstress_args); i += args->guest_page_size) in memstress_guest_code()93 struct memstress_args *args = &memstress_args; in memstress_setup_vcpus()129 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()242 sync_global_to_guest(vm, memstress_args.write_percent); in memstress_set_write_percent()247 memstress_args.random_access = random_access; in memstress_set_random_access()248 sync_global_to_guest(vm, memstress_args.random_access); in memstress_set_random_access()[all …]
177 vcpu_args = &memstress_args.vcpu_args[i]; in run_test()179 vcpu_args->pages * memstress_args.guest_page_size); in run_test()193 vcpu_args = &memstress_args.vcpu_args[i]; in run_test()228 vcpu_paging_rate = memstress_args.vcpu_args[0].pages / in run_test()340 kvm_parse_vcpu_pinning(cpulist, memstress_args.vcpu_to_pcpu, in main()342 memstress_args.pin_vcpus = true; in main()
43 while (!READ_ONCE(memstress_args.stop_vcpus)) { in vcpu_worker()67 gpa = memstress_args.gpa - pages * vm->page_size; in add_remove_memslot()
149 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()
386 memstress_args.nested = true; in main()420 kvm_parse_vcpu_pinning(pcpu_list, memstress_args.vcpu_to_pcpu, in main()422 memstress_args.pin_vcpus = true; in main()
32 struct memstress_args { struct56 extern struct memstress_args memstress_args; argument
75 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()