Lines Matching defs:tg
26 void init_ffsb_tg(ffsb_tg_t * tg, unsigned num_threads, unsigned tg_num) in init_ffsb_tg()
42 void destroy_ffsb_tg(ffsb_tg_t * tg) in destroy_ffsb_tg()
55 ffsb_tg_t *tg = params->tg; in tg_run() local
98 void tg_get_op(ffsb_tg_t * tg, randdata_t * rd, tg_op_params_t * params) in tg_get_op()
124 void tg_set_op_weight(ffsb_tg_t * tg, char *opname, unsigned weight) in tg_set_op_weight()
131 unsigned tg_get_op_weight(ffsb_tg_t * tg, char *opname) in tg_get_op_weight()
138 void tg_set_bindfs(ffsb_tg_t * tg, int fsnum) in tg_set_bindfs()
143 int tg_get_bindfs(ffsb_tg_t * tg) in tg_get_bindfs()
148 unsigned tg_get_numthreads(ffsb_tg_t * tg) in tg_get_numthreads()
153 static void update_bufsize(ffsb_tg_t * tg) in update_bufsize()
163 void tg_set_read_random(ffsb_tg_t * tg, int rr) in tg_set_read_random()
168 void tg_set_write_random(ffsb_tg_t * tg, int wr) in tg_set_write_random()
173 void tg_set_fsync_file(ffsb_tg_t * tg, int fsync) in tg_set_fsync_file()
178 void tg_set_read_size(ffsb_tg_t * tg, uint64_t rs) in tg_set_read_size()
183 void tg_set_read_blocksize(ffsb_tg_t * tg, uint32_t rs) in tg_set_read_blocksize()
189 void tg_set_read_skip(ffsb_tg_t * tg, int rs) in tg_set_read_skip()
194 void tg_set_read_skipsize(ffsb_tg_t * tg, uint32_t rs) in tg_set_read_skipsize()
199 void tg_set_write_size(ffsb_tg_t * tg, uint64_t ws) in tg_set_write_size()
204 void tg_set_write_blocksize(ffsb_tg_t * tg, uint32_t ws) in tg_set_write_blocksize()
210 int tg_get_read_random(ffsb_tg_t * tg) in tg_get_read_random()
215 int tg_get_write_random(ffsb_tg_t * tg) in tg_get_write_random()
220 int tg_get_fsync_file(ffsb_tg_t * tg) in tg_get_fsync_file()
225 uint64_t tg_get_read_size(ffsb_tg_t * tg) in tg_get_read_size()
230 uint32_t tg_get_read_blocksize(ffsb_tg_t * tg) in tg_get_read_blocksize()
235 int tg_get_read_skip(ffsb_tg_t * tg) in tg_get_read_skip()
240 uint32_t tg_get_read_skipsize(ffsb_tg_t * tg) in tg_get_read_skipsize()
245 uint64_t tg_get_write_size(ffsb_tg_t * tg) in tg_get_write_size()
250 uint32_t tg_get_write_blocksize(ffsb_tg_t * tg) in tg_get_write_blocksize()
255 int tg_get_stopval(ffsb_tg_t * tg) in tg_get_stopval()
260 ffsb_barrier_t *tg_get_start_barrier(ffsb_tg_t * tg) in tg_get_start_barrier()
265 static void tg_print_config_helper(ffsb_tg_t * tg) in tg_print_config_helper()
306 void tg_print_config(ffsb_tg_t * tg) in tg_print_config()
313 void tg_print_config_aging(ffsb_tg_t * tg, char *fsname) in tg_print_config_aging()
320 void tg_collect_results(ffsb_tg_t * tg, ffsb_op_results_t * r) in tg_collect_results()
327 void tg_set_waittime(ffsb_tg_t * tg, unsigned time) in tg_set_waittime()
332 unsigned tg_get_waittime(ffsb_tg_t * tg) in tg_get_waittime()
337 int tg_get_flagval(ffsb_tg_t * tg) in tg_get_flagval()
342 void tg_set_statsc(ffsb_tg_t * tg, ffsb_statsc_t * fsc) in tg_set_statsc()
355 void tg_collect_stats(ffsb_tg_t * tg, ffsb_statsd_t * fsd) in tg_collect_stats()
366 int tg_needs_stats(ffsb_tg_t * tg) in tg_needs_stats()