Lines Matching refs:tg
23 void init_ffsb_thread(ffsb_thread_t * ft, struct ffsb_tg *tg, unsigned bufsize, in init_ffsb_thread() argument
28 ft->tg = tg; in init_ffsb_thread()
55 unsigned wait_time = tg_get_waittime(ft->tg); in ft_run()
56 int stopval = tg_get_stopval(ft->tg); in ft_run()
58 ffsb_barrier_wait(tg_get_start_barrier(ft->tg)); in ft_run()
60 while (tg_get_flagval(ft->tg) != stopval) { in ft_run()
61 tg_get_op(ft->tg, &ft->rd, ¶ms); in ft_run()
83 return tg_get_read_random(ft->tg); in ft_get_read_random()
88 return tg_get_read_size(ft->tg); in ft_get_read_size()
93 return tg_get_read_blocksize(ft->tg); in ft_get_read_blocksize()
98 return tg_get_write_random(ft->tg); in ft_get_write_random()
103 return tg_get_write_size(ft->tg); in ft_get_write_size()
108 return tg_get_write_blocksize(ft->tg); in ft_get_write_blocksize()
113 return tg_get_fsync_file(ft->tg); in ft_get_fsync_file()
146 return tg_get_read_skip(ft->tg); in ft_get_read_skip()
151 return tg_get_read_skipsize(ft->tg); in ft_get_read_skipsize()