Lines Matching refs:memstress_args
13 struct memstress_args memstress_args; variable
49 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()
267 if (memstress_args.pin_vcpus) in vcpu_thread_main()
268 kvm_pin_this_task_to_pcpu(memstress_args.vcpu_to_pcpu[vcpu_idx]); in vcpu_thread_main()
281 vcpu_thread_fn(&memstress_args.vcpu_args[vcpu_idx]); in vcpu_thread_main()
293 WRITE_ONCE(memstress_args.stop_vcpus, false); in memstress_start_vcpu_threads()
316 WRITE_ONCE(memstress_args.stop_vcpus, true); in memstress_join_vcpu_threads()