Lines Matching refs:top
57 struct thread_options_pack *top) in convert_thread_options_to_cpu() argument
62 o->set_options[i] = le64_to_cpu(top->set_options[i]); in convert_thread_options_to_cpu()
64 string_to_cpu(&o->description, top->description); in convert_thread_options_to_cpu()
65 string_to_cpu(&o->name, top->name); in convert_thread_options_to_cpu()
66 string_to_cpu(&o->wait_for, top->wait_for); in convert_thread_options_to_cpu()
67 string_to_cpu(&o->directory, top->directory); in convert_thread_options_to_cpu()
68 string_to_cpu(&o->filename, top->filename); in convert_thread_options_to_cpu()
69 string_to_cpu(&o->filename_format, top->filename_format); in convert_thread_options_to_cpu()
70 string_to_cpu(&o->opendir, top->opendir); in convert_thread_options_to_cpu()
71 string_to_cpu(&o->ioengine, top->ioengine); in convert_thread_options_to_cpu()
72 string_to_cpu(&o->mmapfile, top->mmapfile); in convert_thread_options_to_cpu()
73 string_to_cpu(&o->read_iolog_file, top->read_iolog_file); in convert_thread_options_to_cpu()
74 string_to_cpu(&o->write_iolog_file, top->write_iolog_file); in convert_thread_options_to_cpu()
75 string_to_cpu(&o->bw_log_file, top->bw_log_file); in convert_thread_options_to_cpu()
76 string_to_cpu(&o->lat_log_file, top->lat_log_file); in convert_thread_options_to_cpu()
77 string_to_cpu(&o->iops_log_file, top->iops_log_file); in convert_thread_options_to_cpu()
78 string_to_cpu(&o->hist_log_file, top->hist_log_file); in convert_thread_options_to_cpu()
79 string_to_cpu(&o->replay_redirect, top->replay_redirect); in convert_thread_options_to_cpu()
80 string_to_cpu(&o->exec_prerun, top->exec_prerun); in convert_thread_options_to_cpu()
81 string_to_cpu(&o->exec_postrun, top->exec_postrun); in convert_thread_options_to_cpu()
82 string_to_cpu(&o->ioscheduler, top->ioscheduler); in convert_thread_options_to_cpu()
83 string_to_cpu(&o->profile, top->profile); in convert_thread_options_to_cpu()
84 string_to_cpu(&o->cgroup, top->cgroup); in convert_thread_options_to_cpu()
86 o->allow_create = le32_to_cpu(top->allow_create); in convert_thread_options_to_cpu()
87 o->allow_mounted_write = le32_to_cpu(top->allow_mounted_write); in convert_thread_options_to_cpu()
88 o->td_ddir = le32_to_cpu(top->td_ddir); in convert_thread_options_to_cpu()
89 o->rw_seq = le32_to_cpu(top->rw_seq); in convert_thread_options_to_cpu()
90 o->kb_base = le32_to_cpu(top->kb_base); in convert_thread_options_to_cpu()
91 o->unit_base = le32_to_cpu(top->unit_base); in convert_thread_options_to_cpu()
92 o->ddir_seq_nr = le32_to_cpu(top->ddir_seq_nr); in convert_thread_options_to_cpu()
93 o->ddir_seq_add = le64_to_cpu(top->ddir_seq_add); in convert_thread_options_to_cpu()
94 o->iodepth = le32_to_cpu(top->iodepth); in convert_thread_options_to_cpu()
95 o->iodepth_low = le32_to_cpu(top->iodepth_low); in convert_thread_options_to_cpu()
96 o->iodepth_batch = le32_to_cpu(top->iodepth_batch); in convert_thread_options_to_cpu()
97 o->iodepth_batch_complete_min = le32_to_cpu(top->iodepth_batch_complete_min); in convert_thread_options_to_cpu()
98 o->iodepth_batch_complete_max = le32_to_cpu(top->iodepth_batch_complete_max); in convert_thread_options_to_cpu()
99 o->size = le64_to_cpu(top->size); in convert_thread_options_to_cpu()
100 o->io_size = le64_to_cpu(top->io_size); in convert_thread_options_to_cpu()
101 o->size_percent = le32_to_cpu(top->size_percent); in convert_thread_options_to_cpu()
102 o->fill_device = le32_to_cpu(top->fill_device); in convert_thread_options_to_cpu()
103 o->file_append = le32_to_cpu(top->file_append); in convert_thread_options_to_cpu()
104 o->file_size_low = le64_to_cpu(top->file_size_low); in convert_thread_options_to_cpu()
105 o->file_size_high = le64_to_cpu(top->file_size_high); in convert_thread_options_to_cpu()
106 o->start_offset = le64_to_cpu(top->start_offset); in convert_thread_options_to_cpu()
109 o->bs[i] = le32_to_cpu(top->bs[i]); in convert_thread_options_to_cpu()
110 o->ba[i] = le32_to_cpu(top->ba[i]); in convert_thread_options_to_cpu()
111 o->min_bs[i] = le32_to_cpu(top->min_bs[i]); in convert_thread_options_to_cpu()
112 o->max_bs[i] = le32_to_cpu(top->max_bs[i]); in convert_thread_options_to_cpu()
113 o->bssplit_nr[i] = le32_to_cpu(top->bssplit_nr[i]); in convert_thread_options_to_cpu()
118 o->bssplit[i][j].bs = le32_to_cpu(top->bssplit[i][j].bs); in convert_thread_options_to_cpu()
119 o->bssplit[i][j].perc = le32_to_cpu(top->bssplit[i][j].perc); in convert_thread_options_to_cpu()
123 o->zone_split_nr[i] = le32_to_cpu(top->zone_split_nr[i]); in convert_thread_options_to_cpu()
128 o->zone_split[i][j].access_perc = top->zone_split[i][j].access_perc; in convert_thread_options_to_cpu()
129 o->zone_split[i][j].size_perc = top->zone_split[i][j].size_perc; in convert_thread_options_to_cpu()
133 o->rwmix[i] = le32_to_cpu(top->rwmix[i]); in convert_thread_options_to_cpu()
134 o->rate[i] = le64_to_cpu(top->rate[i]); in convert_thread_options_to_cpu()
135 o->ratemin[i] = le64_to_cpu(top->ratemin[i]); in convert_thread_options_to_cpu()
136 o->rate_iops[i] = le32_to_cpu(top->rate_iops[i]); in convert_thread_options_to_cpu()
137 o->rate_iops_min[i] = le32_to_cpu(top->rate_iops_min[i]); in convert_thread_options_to_cpu()
139 o->perc_rand[i] = le32_to_cpu(top->perc_rand[i]); in convert_thread_options_to_cpu()
142 o->ratecycle = le32_to_cpu(top->ratecycle); in convert_thread_options_to_cpu()
143 o->io_submit_mode = le32_to_cpu(top->io_submit_mode); in convert_thread_options_to_cpu()
144 o->unique_filename = le32_to_cpu(top->unique_filename); in convert_thread_options_to_cpu()
145 o->nr_files = le32_to_cpu(top->nr_files); in convert_thread_options_to_cpu()
146 o->open_files = le32_to_cpu(top->open_files); in convert_thread_options_to_cpu()
147 o->file_lock_mode = le32_to_cpu(top->file_lock_mode); in convert_thread_options_to_cpu()
148 o->odirect = le32_to_cpu(top->odirect); in convert_thread_options_to_cpu()
149 o->oatomic = le32_to_cpu(top->oatomic); in convert_thread_options_to_cpu()
150 o->invalidate_cache = le32_to_cpu(top->invalidate_cache); in convert_thread_options_to_cpu()
151 o->create_serialize = le32_to_cpu(top->create_serialize); in convert_thread_options_to_cpu()
152 o->create_fsync = le32_to_cpu(top->create_fsync); in convert_thread_options_to_cpu()
153 o->create_on_open = le32_to_cpu(top->create_on_open); in convert_thread_options_to_cpu()
154 o->create_only = le32_to_cpu(top->create_only); in convert_thread_options_to_cpu()
155 o->end_fsync = le32_to_cpu(top->end_fsync); in convert_thread_options_to_cpu()
156 o->pre_read = le32_to_cpu(top->pre_read); in convert_thread_options_to_cpu()
157 o->sync_io = le32_to_cpu(top->sync_io); in convert_thread_options_to_cpu()
158 o->verify = le32_to_cpu(top->verify); in convert_thread_options_to_cpu()
159 o->do_verify = le32_to_cpu(top->do_verify); in convert_thread_options_to_cpu()
160 o->verifysort = le32_to_cpu(top->verifysort); in convert_thread_options_to_cpu()
161 o->verifysort_nr = le32_to_cpu(top->verifysort_nr); in convert_thread_options_to_cpu()
162 o->experimental_verify = le32_to_cpu(top->experimental_verify); in convert_thread_options_to_cpu()
163 o->verify_state = le32_to_cpu(top->verify_state); in convert_thread_options_to_cpu()
164 o->verify_interval = le32_to_cpu(top->verify_interval); in convert_thread_options_to_cpu()
165 o->verify_offset = le32_to_cpu(top->verify_offset); in convert_thread_options_to_cpu()
167 memcpy(o->verify_pattern, top->verify_pattern, MAX_PATTERN_SIZE); in convert_thread_options_to_cpu()
168 memcpy(o->buffer_pattern, top->buffer_pattern, MAX_PATTERN_SIZE); in convert_thread_options_to_cpu()
170 o->verify_pattern_bytes = le32_to_cpu(top->verify_pattern_bytes); in convert_thread_options_to_cpu()
171 o->verify_fatal = le32_to_cpu(top->verify_fatal); in convert_thread_options_to_cpu()
172 o->verify_dump = le32_to_cpu(top->verify_dump); in convert_thread_options_to_cpu()
173 o->verify_async = le32_to_cpu(top->verify_async); in convert_thread_options_to_cpu()
174 o->verify_batch = le32_to_cpu(top->verify_batch); in convert_thread_options_to_cpu()
175 o->use_thread = le32_to_cpu(top->use_thread); in convert_thread_options_to_cpu()
176 o->unlink = le32_to_cpu(top->unlink); in convert_thread_options_to_cpu()
177 o->unlink_each_loop = le32_to_cpu(top->unlink_each_loop); in convert_thread_options_to_cpu()
178 o->do_disk_util = le32_to_cpu(top->do_disk_util); in convert_thread_options_to_cpu()
179 o->override_sync = le32_to_cpu(top->override_sync); in convert_thread_options_to_cpu()
180 o->rand_repeatable = le32_to_cpu(top->rand_repeatable); in convert_thread_options_to_cpu()
181 o->allrand_repeatable = le32_to_cpu(top->allrand_repeatable); in convert_thread_options_to_cpu()
182 o->rand_seed = le64_to_cpu(top->rand_seed); in convert_thread_options_to_cpu()
183 o->log_avg_msec = le32_to_cpu(top->log_avg_msec); in convert_thread_options_to_cpu()
184 o->log_hist_msec = le32_to_cpu(top->log_hist_msec); in convert_thread_options_to_cpu()
185 o->log_hist_coarseness = le32_to_cpu(top->log_hist_coarseness); in convert_thread_options_to_cpu()
186 o->log_max = le32_to_cpu(top->log_max); in convert_thread_options_to_cpu()
187 o->log_offset = le32_to_cpu(top->log_offset); in convert_thread_options_to_cpu()
188 o->log_gz = le32_to_cpu(top->log_gz); in convert_thread_options_to_cpu()
189 o->log_gz_store = le32_to_cpu(top->log_gz_store); in convert_thread_options_to_cpu()
190 o->log_unix_epoch = le32_to_cpu(top->log_unix_epoch); in convert_thread_options_to_cpu()
191 o->norandommap = le32_to_cpu(top->norandommap); in convert_thread_options_to_cpu()
192 o->softrandommap = le32_to_cpu(top->softrandommap); in convert_thread_options_to_cpu()
193 o->bs_unaligned = le32_to_cpu(top->bs_unaligned); in convert_thread_options_to_cpu()
194 o->fsync_on_close = le32_to_cpu(top->fsync_on_close); in convert_thread_options_to_cpu()
195 o->bs_is_seq_rand = le32_to_cpu(top->bs_is_seq_rand); in convert_thread_options_to_cpu()
196 o->random_distribution = le32_to_cpu(top->random_distribution); in convert_thread_options_to_cpu()
197 o->exitall_error = le32_to_cpu(top->exitall_error); in convert_thread_options_to_cpu()
198 o->zipf_theta.u.f = fio_uint64_to_double(le64_to_cpu(top->zipf_theta.u.i)); in convert_thread_options_to_cpu()
199 o->pareto_h.u.f = fio_uint64_to_double(le64_to_cpu(top->pareto_h.u.i)); in convert_thread_options_to_cpu()
200 o->gauss_dev.u.f = fio_uint64_to_double(le64_to_cpu(top->gauss_dev.u.i)); in convert_thread_options_to_cpu()
201 o->random_generator = le32_to_cpu(top->random_generator); in convert_thread_options_to_cpu()
202 o->hugepage_size = le32_to_cpu(top->hugepage_size); in convert_thread_options_to_cpu()
203 o->rw_min_bs = le32_to_cpu(top->rw_min_bs); in convert_thread_options_to_cpu()
204 o->thinktime = le32_to_cpu(top->thinktime); in convert_thread_options_to_cpu()
205 o->thinktime_spin = le32_to_cpu(top->thinktime_spin); in convert_thread_options_to_cpu()
206 o->thinktime_blocks = le32_to_cpu(top->thinktime_blocks); in convert_thread_options_to_cpu()
207 o->fsync_blocks = le32_to_cpu(top->fsync_blocks); in convert_thread_options_to_cpu()
208 o->fdatasync_blocks = le32_to_cpu(top->fdatasync_blocks); in convert_thread_options_to_cpu()
209 o->barrier_blocks = le32_to_cpu(top->barrier_blocks); in convert_thread_options_to_cpu()
211 o->verify_backlog = le64_to_cpu(top->verify_backlog); in convert_thread_options_to_cpu()
212 o->start_delay = le64_to_cpu(top->start_delay); in convert_thread_options_to_cpu()
213 o->start_delay_high = le64_to_cpu(top->start_delay_high); in convert_thread_options_to_cpu()
214 o->timeout = le64_to_cpu(top->timeout); in convert_thread_options_to_cpu()
215 o->ramp_time = le64_to_cpu(top->ramp_time); in convert_thread_options_to_cpu()
216 o->ss_dur = le64_to_cpu(top->ss_dur); in convert_thread_options_to_cpu()
217 o->ss_ramp_time = le64_to_cpu(top->ss_ramp_time); in convert_thread_options_to_cpu()
218 o->ss_state = le32_to_cpu(top->ss_state); in convert_thread_options_to_cpu()
219 o->ss_limit.u.f = fio_uint64_to_double(le64_to_cpu(top->ss_limit.u.i)); in convert_thread_options_to_cpu()
220 o->zone_range = le64_to_cpu(top->zone_range); in convert_thread_options_to_cpu()
221 o->zone_size = le64_to_cpu(top->zone_size); in convert_thread_options_to_cpu()
222 o->zone_skip = le64_to_cpu(top->zone_skip); in convert_thread_options_to_cpu()
223 o->lockmem = le64_to_cpu(top->lockmem); in convert_thread_options_to_cpu()
224 o->offset_increment = le64_to_cpu(top->offset_increment); in convert_thread_options_to_cpu()
225 o->number_ios = le64_to_cpu(top->number_ios); in convert_thread_options_to_cpu()
227 o->overwrite = le32_to_cpu(top->overwrite); in convert_thread_options_to_cpu()
228 o->bw_avg_time = le32_to_cpu(top->bw_avg_time); in convert_thread_options_to_cpu()
229 o->iops_avg_time = le32_to_cpu(top->iops_avg_time); in convert_thread_options_to_cpu()
230 o->loops = le32_to_cpu(top->loops); in convert_thread_options_to_cpu()
231 o->mem_type = le32_to_cpu(top->mem_type); in convert_thread_options_to_cpu()
232 o->mem_align = le32_to_cpu(top->mem_align); in convert_thread_options_to_cpu()
233 o->max_latency = le32_to_cpu(top->max_latency); in convert_thread_options_to_cpu()
234 o->stonewall = le32_to_cpu(top->stonewall); in convert_thread_options_to_cpu()
235 o->new_group = le32_to_cpu(top->new_group); in convert_thread_options_to_cpu()
236 o->numjobs = le32_to_cpu(top->numjobs); in convert_thread_options_to_cpu()
237 o->cpus_allowed_policy = le32_to_cpu(top->cpus_allowed_policy); in convert_thread_options_to_cpu()
238 o->gpu_dev_id = le32_to_cpu(top->gpu_dev_id); in convert_thread_options_to_cpu()
239 o->iolog = le32_to_cpu(top->iolog); in convert_thread_options_to_cpu()
240 o->rwmixcycle = le32_to_cpu(top->rwmixcycle); in convert_thread_options_to_cpu()
241 o->nice = le32_to_cpu(top->nice); in convert_thread_options_to_cpu()
242 o->ioprio = le32_to_cpu(top->ioprio); in convert_thread_options_to_cpu()
243 o->ioprio_class = le32_to_cpu(top->ioprio_class); in convert_thread_options_to_cpu()
244 o->file_service_type = le32_to_cpu(top->file_service_type); in convert_thread_options_to_cpu()
245 o->group_reporting = le32_to_cpu(top->group_reporting); in convert_thread_options_to_cpu()
246 o->stats = le32_to_cpu(top->stats); in convert_thread_options_to_cpu()
247 o->fadvise_hint = le32_to_cpu(top->fadvise_hint); in convert_thread_options_to_cpu()
248 o->fallocate_mode = le32_to_cpu(top->fallocate_mode); in convert_thread_options_to_cpu()
249 o->zero_buffers = le32_to_cpu(top->zero_buffers); in convert_thread_options_to_cpu()
250 o->refill_buffers = le32_to_cpu(top->refill_buffers); in convert_thread_options_to_cpu()
251 o->scramble_buffers = le32_to_cpu(top->scramble_buffers); in convert_thread_options_to_cpu()
252 o->buffer_pattern_bytes = le32_to_cpu(top->buffer_pattern_bytes); in convert_thread_options_to_cpu()
253 o->time_based = le32_to_cpu(top->time_based); in convert_thread_options_to_cpu()
254 o->disable_lat = le32_to_cpu(top->disable_lat); in convert_thread_options_to_cpu()
255 o->disable_clat = le32_to_cpu(top->disable_clat); in convert_thread_options_to_cpu()
256 o->disable_slat = le32_to_cpu(top->disable_slat); in convert_thread_options_to_cpu()
257 o->disable_bw = le32_to_cpu(top->disable_bw); in convert_thread_options_to_cpu()
258 o->unified_rw_rep = le32_to_cpu(top->unified_rw_rep); in convert_thread_options_to_cpu()
259 o->gtod_reduce = le32_to_cpu(top->gtod_reduce); in convert_thread_options_to_cpu()
260 o->gtod_cpu = le32_to_cpu(top->gtod_cpu); in convert_thread_options_to_cpu()
261 o->clocksource = le32_to_cpu(top->clocksource); in convert_thread_options_to_cpu()
262 o->no_stall = le32_to_cpu(top->no_stall); in convert_thread_options_to_cpu()
263 o->trim_percentage = le32_to_cpu(top->trim_percentage); in convert_thread_options_to_cpu()
264 o->trim_batch = le32_to_cpu(top->trim_batch); in convert_thread_options_to_cpu()
265 o->trim_zero = le32_to_cpu(top->trim_zero); in convert_thread_options_to_cpu()
266 o->clat_percentiles = le32_to_cpu(top->clat_percentiles); in convert_thread_options_to_cpu()
267 o->percentile_precision = le32_to_cpu(top->percentile_precision); in convert_thread_options_to_cpu()
268 o->continue_on_error = le32_to_cpu(top->continue_on_error); in convert_thread_options_to_cpu()
269 o->cgroup_weight = le32_to_cpu(top->cgroup_weight); in convert_thread_options_to_cpu()
270 o->cgroup_nodelete = le32_to_cpu(top->cgroup_nodelete); in convert_thread_options_to_cpu()
271 o->uid = le32_to_cpu(top->uid); in convert_thread_options_to_cpu()
272 o->gid = le32_to_cpu(top->gid); in convert_thread_options_to_cpu()
273 o->flow_id = __le32_to_cpu(top->flow_id); in convert_thread_options_to_cpu()
274 o->flow = __le32_to_cpu(top->flow); in convert_thread_options_to_cpu()
275 o->flow_watermark = __le32_to_cpu(top->flow_watermark); in convert_thread_options_to_cpu()
276 o->flow_sleep = le32_to_cpu(top->flow_sleep); in convert_thread_options_to_cpu()
277 o->sync_file_range = le32_to_cpu(top->sync_file_range); in convert_thread_options_to_cpu()
278 o->latency_target = le64_to_cpu(top->latency_target); in convert_thread_options_to_cpu()
279 o->latency_window = le64_to_cpu(top->latency_window); in convert_thread_options_to_cpu()
280 o->latency_percentile.u.f = fio_uint64_to_double(le64_to_cpu(top->latency_percentile.u.i)); in convert_thread_options_to_cpu()
281 o->compress_percentage = le32_to_cpu(top->compress_percentage); in convert_thread_options_to_cpu()
282 o->compress_chunk = le32_to_cpu(top->compress_chunk); in convert_thread_options_to_cpu()
283 o->dedupe_percentage = le32_to_cpu(top->dedupe_percentage); in convert_thread_options_to_cpu()
284 o->skip_bad = le32_to_cpu(top->skip_bad); in convert_thread_options_to_cpu()
285 o->block_error_hist = le32_to_cpu(top->block_error_hist); in convert_thread_options_to_cpu()
286 o->replay_align = le32_to_cpu(top->replay_align); in convert_thread_options_to_cpu()
287 o->replay_scale = le32_to_cpu(top->replay_scale); in convert_thread_options_to_cpu()
288 o->per_job_logs = le32_to_cpu(top->per_job_logs); in convert_thread_options_to_cpu()
289 o->write_bw_log = le32_to_cpu(top->write_bw_log); in convert_thread_options_to_cpu()
290 o->write_lat_log = le32_to_cpu(top->write_lat_log); in convert_thread_options_to_cpu()
291 o->write_iops_log = le32_to_cpu(top->write_iops_log); in convert_thread_options_to_cpu()
292 o->write_hist_log = le32_to_cpu(top->write_hist_log); in convert_thread_options_to_cpu()
294 o->trim_backlog = le64_to_cpu(top->trim_backlog); in convert_thread_options_to_cpu()
295 o->rate_process = le32_to_cpu(top->rate_process); in convert_thread_options_to_cpu()
298 o->percentile_list[i].u.f = fio_uint64_to_double(le64_to_cpu(top->percentile_list[i].u.i)); in convert_thread_options_to_cpu()
306 void convert_thread_options_to_net(struct thread_options_pack *top, in convert_thread_options_to_net() argument
312 top->set_options[i] = cpu_to_le64(o->set_options[i]); in convert_thread_options_to_net()
314 string_to_net(top->description, o->description); in convert_thread_options_to_net()
315 string_to_net(top->name, o->name); in convert_thread_options_to_net()
316 string_to_net(top->wait_for, o->wait_for); in convert_thread_options_to_net()
317 string_to_net(top->directory, o->directory); in convert_thread_options_to_net()
318 string_to_net(top->filename, o->filename); in convert_thread_options_to_net()
319 string_to_net(top->filename_format, o->filename_format); in convert_thread_options_to_net()
320 string_to_net(top->opendir, o->opendir); in convert_thread_options_to_net()
321 string_to_net(top->ioengine, o->ioengine); in convert_thread_options_to_net()
322 string_to_net(top->mmapfile, o->mmapfile); in convert_thread_options_to_net()
323 string_to_net(top->read_iolog_file, o->read_iolog_file); in convert_thread_options_to_net()
324 string_to_net(top->write_iolog_file, o->write_iolog_file); in convert_thread_options_to_net()
325 string_to_net(top->bw_log_file, o->bw_log_file); in convert_thread_options_to_net()
326 string_to_net(top->lat_log_file, o->lat_log_file); in convert_thread_options_to_net()
327 string_to_net(top->iops_log_file, o->iops_log_file); in convert_thread_options_to_net()
328 string_to_net(top->hist_log_file, o->hist_log_file); in convert_thread_options_to_net()
329 string_to_net(top->replay_redirect, o->replay_redirect); in convert_thread_options_to_net()
330 string_to_net(top->exec_prerun, o->exec_prerun); in convert_thread_options_to_net()
331 string_to_net(top->exec_postrun, o->exec_postrun); in convert_thread_options_to_net()
332 string_to_net(top->ioscheduler, o->ioscheduler); in convert_thread_options_to_net()
333 string_to_net(top->profile, o->profile); in convert_thread_options_to_net()
334 string_to_net(top->cgroup, o->cgroup); in convert_thread_options_to_net()
336 top->allow_create = cpu_to_le32(o->allow_create); in convert_thread_options_to_net()
337 top->allow_mounted_write = cpu_to_le32(o->allow_mounted_write); in convert_thread_options_to_net()
338 top->td_ddir = cpu_to_le32(o->td_ddir); in convert_thread_options_to_net()
339 top->rw_seq = cpu_to_le32(o->rw_seq); in convert_thread_options_to_net()
340 top->kb_base = cpu_to_le32(o->kb_base); in convert_thread_options_to_net()
341 top->unit_base = cpu_to_le32(o->unit_base); in convert_thread_options_to_net()
342 top->ddir_seq_nr = cpu_to_le32(o->ddir_seq_nr); in convert_thread_options_to_net()
343 top->iodepth = cpu_to_le32(o->iodepth); in convert_thread_options_to_net()
344 top->iodepth_low = cpu_to_le32(o->iodepth_low); in convert_thread_options_to_net()
345 top->iodepth_batch = cpu_to_le32(o->iodepth_batch); in convert_thread_options_to_net()
346 top->iodepth_batch_complete_min = cpu_to_le32(o->iodepth_batch_complete_min); in convert_thread_options_to_net()
347 top->iodepth_batch_complete_max = cpu_to_le32(o->iodepth_batch_complete_max); in convert_thread_options_to_net()
348 top->size_percent = cpu_to_le32(o->size_percent); in convert_thread_options_to_net()
349 top->fill_device = cpu_to_le32(o->fill_device); in convert_thread_options_to_net()
350 top->file_append = cpu_to_le32(o->file_append); in convert_thread_options_to_net()
351 top->ratecycle = cpu_to_le32(o->ratecycle); in convert_thread_options_to_net()
352 top->io_submit_mode = cpu_to_le32(o->io_submit_mode); in convert_thread_options_to_net()
353 top->nr_files = cpu_to_le32(o->nr_files); in convert_thread_options_to_net()
354 top->unique_filename = cpu_to_le32(o->unique_filename); in convert_thread_options_to_net()
355 top->open_files = cpu_to_le32(o->open_files); in convert_thread_options_to_net()
356 top->file_lock_mode = cpu_to_le32(o->file_lock_mode); in convert_thread_options_to_net()
357 top->odirect = cpu_to_le32(o->odirect); in convert_thread_options_to_net()
358 top->oatomic = cpu_to_le32(o->oatomic); in convert_thread_options_to_net()
359 top->invalidate_cache = cpu_to_le32(o->invalidate_cache); in convert_thread_options_to_net()
360 top->create_serialize = cpu_to_le32(o->create_serialize); in convert_thread_options_to_net()
361 top->create_fsync = cpu_to_le32(o->create_fsync); in convert_thread_options_to_net()
362 top->create_on_open = cpu_to_le32(o->create_on_open); in convert_thread_options_to_net()
363 top->create_only = cpu_to_le32(o->create_only); in convert_thread_options_to_net()
364 top->end_fsync = cpu_to_le32(o->end_fsync); in convert_thread_options_to_net()
365 top->pre_read = cpu_to_le32(o->pre_read); in convert_thread_options_to_net()
366 top->sync_io = cpu_to_le32(o->sync_io); in convert_thread_options_to_net()
367 top->verify = cpu_to_le32(o->verify); in convert_thread_options_to_net()
368 top->do_verify = cpu_to_le32(o->do_verify); in convert_thread_options_to_net()
369 top->verifysort = cpu_to_le32(o->verifysort); in convert_thread_options_to_net()
370 top->verifysort_nr = cpu_to_le32(o->verifysort_nr); in convert_thread_options_to_net()
371 top->experimental_verify = cpu_to_le32(o->experimental_verify); in convert_thread_options_to_net()
372 top->verify_state = cpu_to_le32(o->verify_state); in convert_thread_options_to_net()
373 top->verify_interval = cpu_to_le32(o->verify_interval); in convert_thread_options_to_net()
374 top->verify_offset = cpu_to_le32(o->verify_offset); in convert_thread_options_to_net()
375 top->verify_pattern_bytes = cpu_to_le32(o->verify_pattern_bytes); in convert_thread_options_to_net()
376 top->verify_fatal = cpu_to_le32(o->verify_fatal); in convert_thread_options_to_net()
377 top->verify_dump = cpu_to_le32(o->verify_dump); in convert_thread_options_to_net()
378 top->verify_async = cpu_to_le32(o->verify_async); in convert_thread_options_to_net()
379 top->verify_batch = cpu_to_le32(o->verify_batch); in convert_thread_options_to_net()
380 top->use_thread = cpu_to_le32(o->use_thread); in convert_thread_options_to_net()
381 top->unlink = cpu_to_le32(o->unlink); in convert_thread_options_to_net()
382 top->unlink_each_loop = cpu_to_le32(o->unlink_each_loop); in convert_thread_options_to_net()
383 top->do_disk_util = cpu_to_le32(o->do_disk_util); in convert_thread_options_to_net()
384 top->override_sync = cpu_to_le32(o->override_sync); in convert_thread_options_to_net()
385 top->rand_repeatable = cpu_to_le32(o->rand_repeatable); in convert_thread_options_to_net()
386 top->allrand_repeatable = cpu_to_le32(o->allrand_repeatable); in convert_thread_options_to_net()
387 top->rand_seed = __cpu_to_le64(o->rand_seed); in convert_thread_options_to_net()
388 top->log_avg_msec = cpu_to_le32(o->log_avg_msec); in convert_thread_options_to_net()
389 top->log_max = cpu_to_le32(o->log_max); in convert_thread_options_to_net()
390 top->log_offset = cpu_to_le32(o->log_offset); in convert_thread_options_to_net()
391 top->log_gz = cpu_to_le32(o->log_gz); in convert_thread_options_to_net()
392 top->log_gz_store = cpu_to_le32(o->log_gz_store); in convert_thread_options_to_net()
393 top->log_unix_epoch = cpu_to_le32(o->log_unix_epoch); in convert_thread_options_to_net()
394 top->norandommap = cpu_to_le32(o->norandommap); in convert_thread_options_to_net()
395 top->softrandommap = cpu_to_le32(o->softrandommap); in convert_thread_options_to_net()
396 top->bs_unaligned = cpu_to_le32(o->bs_unaligned); in convert_thread_options_to_net()
397 top->fsync_on_close = cpu_to_le32(o->fsync_on_close); in convert_thread_options_to_net()
398 top->bs_is_seq_rand = cpu_to_le32(o->bs_is_seq_rand); in convert_thread_options_to_net()
399 top->random_distribution = cpu_to_le32(o->random_distribution); in convert_thread_options_to_net()
400 top->exitall_error = cpu_to_le32(o->exitall_error); in convert_thread_options_to_net()
401 top->zipf_theta.u.i = __cpu_to_le64(fio_double_to_uint64(o->zipf_theta.u.f)); in convert_thread_options_to_net()
402 top->pareto_h.u.i = __cpu_to_le64(fio_double_to_uint64(o->pareto_h.u.f)); in convert_thread_options_to_net()
403 top->gauss_dev.u.i = __cpu_to_le64(fio_double_to_uint64(o->gauss_dev.u.f)); in convert_thread_options_to_net()
404 top->random_generator = cpu_to_le32(o->random_generator); in convert_thread_options_to_net()
405 top->hugepage_size = cpu_to_le32(o->hugepage_size); in convert_thread_options_to_net()
406 top->rw_min_bs = cpu_to_le32(o->rw_min_bs); in convert_thread_options_to_net()
407 top->thinktime = cpu_to_le32(o->thinktime); in convert_thread_options_to_net()
408 top->thinktime_spin = cpu_to_le32(o->thinktime_spin); in convert_thread_options_to_net()
409 top->thinktime_blocks = cpu_to_le32(o->thinktime_blocks); in convert_thread_options_to_net()
410 top->fsync_blocks = cpu_to_le32(o->fsync_blocks); in convert_thread_options_to_net()
411 top->fdatasync_blocks = cpu_to_le32(o->fdatasync_blocks); in convert_thread_options_to_net()
412 top->barrier_blocks = cpu_to_le32(o->barrier_blocks); in convert_thread_options_to_net()
413 top->overwrite = cpu_to_le32(o->overwrite); in convert_thread_options_to_net()
414 top->bw_avg_time = cpu_to_le32(o->bw_avg_time); in convert_thread_options_to_net()
415 top->iops_avg_time = cpu_to_le32(o->iops_avg_time); in convert_thread_options_to_net()
416 top->loops = cpu_to_le32(o->loops); in convert_thread_options_to_net()
417 top->mem_type = cpu_to_le32(o->mem_type); in convert_thread_options_to_net()
418 top->mem_align = cpu_to_le32(o->mem_align); in convert_thread_options_to_net()
419 top->max_latency = cpu_to_le32(o->max_latency); in convert_thread_options_to_net()
420 top->stonewall = cpu_to_le32(o->stonewall); in convert_thread_options_to_net()
421 top->new_group = cpu_to_le32(o->new_group); in convert_thread_options_to_net()
422 top->numjobs = cpu_to_le32(o->numjobs); in convert_thread_options_to_net()
423 top->cpus_allowed_policy = cpu_to_le32(o->cpus_allowed_policy); in convert_thread_options_to_net()
424 top->gpu_dev_id = cpu_to_le32(o->gpu_dev_id); in convert_thread_options_to_net()
425 top->iolog = cpu_to_le32(o->iolog); in convert_thread_options_to_net()
426 top->rwmixcycle = cpu_to_le32(o->rwmixcycle); in convert_thread_options_to_net()
427 top->nice = cpu_to_le32(o->nice); in convert_thread_options_to_net()
428 top->ioprio = cpu_to_le32(o->ioprio); in convert_thread_options_to_net()
429 top->ioprio_class = cpu_to_le32(o->ioprio_class); in convert_thread_options_to_net()
430 top->file_service_type = cpu_to_le32(o->file_service_type); in convert_thread_options_to_net()
431 top->group_reporting = cpu_to_le32(o->group_reporting); in convert_thread_options_to_net()
432 top->stats = cpu_to_le32(o->stats); in convert_thread_options_to_net()
433 top->fadvise_hint = cpu_to_le32(o->fadvise_hint); in convert_thread_options_to_net()
434 top->fallocate_mode = cpu_to_le32(o->fallocate_mode); in convert_thread_options_to_net()
435 top->zero_buffers = cpu_to_le32(o->zero_buffers); in convert_thread_options_to_net()
436 top->refill_buffers = cpu_to_le32(o->refill_buffers); in convert_thread_options_to_net()
437 top->scramble_buffers = cpu_to_le32(o->scramble_buffers); in convert_thread_options_to_net()
438 top->buffer_pattern_bytes = cpu_to_le32(o->buffer_pattern_bytes); in convert_thread_options_to_net()
439 top->time_based = cpu_to_le32(o->time_based); in convert_thread_options_to_net()
440 top->disable_lat = cpu_to_le32(o->disable_lat); in convert_thread_options_to_net()
441 top->disable_clat = cpu_to_le32(o->disable_clat); in convert_thread_options_to_net()
442 top->disable_slat = cpu_to_le32(o->disable_slat); in convert_thread_options_to_net()
443 top->disable_bw = cpu_to_le32(o->disable_bw); in convert_thread_options_to_net()
444 top->unified_rw_rep = cpu_to_le32(o->unified_rw_rep); in convert_thread_options_to_net()
445 top->gtod_reduce = cpu_to_le32(o->gtod_reduce); in convert_thread_options_to_net()
446 top->gtod_cpu = cpu_to_le32(o->gtod_cpu); in convert_thread_options_to_net()
447 top->clocksource = cpu_to_le32(o->clocksource); in convert_thread_options_to_net()
448 top->no_stall = cpu_to_le32(o->no_stall); in convert_thread_options_to_net()
449 top->trim_percentage = cpu_to_le32(o->trim_percentage); in convert_thread_options_to_net()
450 top->trim_batch = cpu_to_le32(o->trim_batch); in convert_thread_options_to_net()
451 top->trim_zero = cpu_to_le32(o->trim_zero); in convert_thread_options_to_net()
452 top->clat_percentiles = cpu_to_le32(o->clat_percentiles); in convert_thread_options_to_net()
453 top->percentile_precision = cpu_to_le32(o->percentile_precision); in convert_thread_options_to_net()
454 top->continue_on_error = cpu_to_le32(o->continue_on_error); in convert_thread_options_to_net()
455 top->cgroup_weight = cpu_to_le32(o->cgroup_weight); in convert_thread_options_to_net()
456 top->cgroup_nodelete = cpu_to_le32(o->cgroup_nodelete); in convert_thread_options_to_net()
457 top->uid = cpu_to_le32(o->uid); in convert_thread_options_to_net()
458 top->gid = cpu_to_le32(o->gid); in convert_thread_options_to_net()
459 top->flow_id = __cpu_to_le32(o->flow_id); in convert_thread_options_to_net()
460 top->flow = __cpu_to_le32(o->flow); in convert_thread_options_to_net()
461 top->flow_watermark = __cpu_to_le32(o->flow_watermark); in convert_thread_options_to_net()
462 top->flow_sleep = cpu_to_le32(o->flow_sleep); in convert_thread_options_to_net()
463 top->sync_file_range = cpu_to_le32(o->sync_file_range); in convert_thread_options_to_net()
464 top->latency_target = __cpu_to_le64(o->latency_target); in convert_thread_options_to_net()
465 top->latency_window = __cpu_to_le64(o->latency_window); in convert_thread_options_to_net()
466 top->latency_percentile.u.i = __cpu_to_le64(fio_double_to_uint64(o->latency_percentile.u.f)); in convert_thread_options_to_net()
467 top->compress_percentage = cpu_to_le32(o->compress_percentage); in convert_thread_options_to_net()
468 top->compress_chunk = cpu_to_le32(o->compress_chunk); in convert_thread_options_to_net()
469 top->dedupe_percentage = cpu_to_le32(o->dedupe_percentage); in convert_thread_options_to_net()
470 top->block_error_hist = cpu_to_le32(o->block_error_hist); in convert_thread_options_to_net()
471 top->skip_bad = cpu_to_le32(o->skip_bad); in convert_thread_options_to_net()
472 top->replay_align = cpu_to_le32(o->replay_align); in convert_thread_options_to_net()
473 top->replay_scale = cpu_to_le32(o->replay_scale); in convert_thread_options_to_net()
474 top->per_job_logs = cpu_to_le32(o->per_job_logs); in convert_thread_options_to_net()
475 top->write_bw_log = cpu_to_le32(o->write_bw_log); in convert_thread_options_to_net()
476 top->write_lat_log = cpu_to_le32(o->write_lat_log); in convert_thread_options_to_net()
477 top->write_iops_log = cpu_to_le32(o->write_iops_log); in convert_thread_options_to_net()
478 top->write_hist_log = cpu_to_le32(o->write_hist_log); in convert_thread_options_to_net()
481 top->bs[i] = cpu_to_le32(o->bs[i]); in convert_thread_options_to_net()
482 top->ba[i] = cpu_to_le32(o->ba[i]); in convert_thread_options_to_net()
483 top->min_bs[i] = cpu_to_le32(o->min_bs[i]); in convert_thread_options_to_net()
484 top->max_bs[i] = cpu_to_le32(o->max_bs[i]); in convert_thread_options_to_net()
485 top->bssplit_nr[i] = cpu_to_le32(o->bssplit_nr[i]); in convert_thread_options_to_net()
495 top->bssplit[i][j].bs = cpu_to_le32(o->bssplit[i][j].bs); in convert_thread_options_to_net()
496 top->bssplit[i][j].perc = cpu_to_le32(o->bssplit[i][j].perc); in convert_thread_options_to_net()
500 top->zone_split_nr[i] = cpu_to_le32(o->zone_split_nr[i]); in convert_thread_options_to_net()
510 top->zone_split[i][j].access_perc = o->zone_split[i][j].access_perc; in convert_thread_options_to_net()
511 top->zone_split[i][j].size_perc = o->zone_split[i][j].size_perc; in convert_thread_options_to_net()
515 top->rwmix[i] = cpu_to_le32(o->rwmix[i]); in convert_thread_options_to_net()
516 top->rate[i] = cpu_to_le64(o->rate[i]); in convert_thread_options_to_net()
517 top->ratemin[i] = cpu_to_le64(o->ratemin[i]); in convert_thread_options_to_net()
518 top->rate_iops[i] = cpu_to_le32(o->rate_iops[i]); in convert_thread_options_to_net()
519 top->rate_iops_min[i] = cpu_to_le32(o->rate_iops_min[i]); in convert_thread_options_to_net()
521 top->perc_rand[i] = cpu_to_le32(o->perc_rand[i]); in convert_thread_options_to_net()
524 memcpy(top->verify_pattern, o->verify_pattern, MAX_PATTERN_SIZE); in convert_thread_options_to_net()
525 memcpy(top->buffer_pattern, o->buffer_pattern, MAX_PATTERN_SIZE); in convert_thread_options_to_net()
527 top->size = __cpu_to_le64(o->size); in convert_thread_options_to_net()
528 top->io_size = __cpu_to_le64(o->io_size); in convert_thread_options_to_net()
529 top->verify_backlog = __cpu_to_le64(o->verify_backlog); in convert_thread_options_to_net()
530 top->start_delay = __cpu_to_le64(o->start_delay); in convert_thread_options_to_net()
531 top->start_delay_high = __cpu_to_le64(o->start_delay_high); in convert_thread_options_to_net()
532 top->timeout = __cpu_to_le64(o->timeout); in convert_thread_options_to_net()
533 top->ramp_time = __cpu_to_le64(o->ramp_time); in convert_thread_options_to_net()
534 top->ss_dur = __cpu_to_le64(top->ss_dur); in convert_thread_options_to_net()
535 top->ss_ramp_time = __cpu_to_le64(top->ss_ramp_time); in convert_thread_options_to_net()
536 top->ss_state = cpu_to_le32(top->ss_state); in convert_thread_options_to_net()
537 top->ss_limit.u.i = __cpu_to_le64(fio_double_to_uint64(o->ss_limit.u.f)); in convert_thread_options_to_net()
538 top->zone_range = __cpu_to_le64(o->zone_range); in convert_thread_options_to_net()
539 top->zone_size = __cpu_to_le64(o->zone_size); in convert_thread_options_to_net()
540 top->zone_skip = __cpu_to_le64(o->zone_skip); in convert_thread_options_to_net()
541 top->lockmem = __cpu_to_le64(o->lockmem); in convert_thread_options_to_net()
542 top->ddir_seq_add = __cpu_to_le64(o->ddir_seq_add); in convert_thread_options_to_net()
543 top->file_size_low = __cpu_to_le64(o->file_size_low); in convert_thread_options_to_net()
544 top->file_size_high = __cpu_to_le64(o->file_size_high); in convert_thread_options_to_net()
545 top->start_offset = __cpu_to_le64(o->start_offset); in convert_thread_options_to_net()
546 top->trim_backlog = __cpu_to_le64(o->trim_backlog); in convert_thread_options_to_net()
547 top->offset_increment = __cpu_to_le64(o->offset_increment); in convert_thread_options_to_net()
548 top->number_ios = __cpu_to_le64(o->number_ios); in convert_thread_options_to_net()
549 top->rate_process = cpu_to_le32(o->rate_process); in convert_thread_options_to_net()
552 top->percentile_list[i].u.i = __cpu_to_le64(fio_double_to_uint64(o->percentile_list[i].u.f)); in convert_thread_options_to_net()