Lines Matching defs:td
36 static void mark_random_map(struct thread_data *td, struct io_u *io_u) in mark_random_map()
53 static uint64_t last_block(struct thread_data *td, struct fio_file *f, in last_block()
83 static int __get_next_rand_offset(struct thread_data *td, struct fio_file *f, in __get_next_rand_offset()
139 static int __get_next_rand_offset_zipf(struct thread_data *td, in __get_next_rand_offset_zipf()
147 static int __get_next_rand_offset_pareto(struct thread_data *td, in __get_next_rand_offset_pareto()
163 static int get_off_from_method(struct thread_data *td, struct fio_file *f, in get_off_from_method()
181 static inline int should_sort_io(struct thread_data *td) in should_sort_io()
195 static int should_do_random(struct thread_data *td, enum fio_ddir ddir) in should_do_random()
214 static int get_next_rand_offset(struct thread_data *td, struct fio_file *f, in get_next_rand_offset()
253 static int get_next_rand_block(struct thread_data *td, struct fio_file *f, in get_next_rand_block()
271 static int get_next_seq_offset(struct thread_data *td, struct fio_file *f, in get_next_seq_offset()
296 static int get_next_block(struct thread_data *td, struct io_u *io_u, in get_next_block()
365 static int __get_next_offset(struct thread_data *td, struct io_u *io_u, in __get_next_offset()
400 static int get_next_offset(struct thread_data *td, struct io_u *io_u, in get_next_offset()
413 static inline int io_u_fits(struct thread_data *td, struct io_u *io_u, in io_u_fits()
421 static unsigned int __get_next_buflen(struct thread_data *td, struct io_u *io_u, in __get_next_buflen()
489 static unsigned int get_next_buflen(struct thread_data *td, struct io_u *io_u, in get_next_buflen()
502 static void set_rwmix_bytes(struct thread_data *td) in set_rwmix_bytes()
515 static inline enum fio_ddir get_rand_ddir(struct thread_data *td) in get_rand_ddir()
534 void io_u_quiesce(struct thread_data *td) in io_u_quiesce()
552 static enum fio_ddir rate_ddir(struct thread_data *td, enum fio_ddir ddir) in rate_ddir()
611 static enum fio_ddir get_rw_ddir(struct thread_data *td) in get_rw_ddir()
668 static void set_rw_ddir(struct thread_data *td, struct io_u *io_u) in set_rw_ddir()
679 void put_file_log(struct thread_data *td, struct fio_file *f) in put_file_log()
687 void put_io_u(struct thread_data *td, struct io_u *io_u) in put_io_u()
704 void clear_io_u(struct thread_data *td, struct io_u *io_u) in clear_io_u()
710 void requeue_io_u(struct thread_data *td, struct io_u **io_u) in requeue_io_u()
732 static int fill_io_u(struct thread_data *td, struct io_u *io_u) in fill_io_u()
821 void io_u_mark_submit(struct thread_data *td, unsigned int nr) in io_u_mark_submit()
827 void io_u_mark_complete(struct thread_data *td, unsigned int nr) in io_u_mark_complete()
833 void io_u_mark_depth(struct thread_data *td, unsigned int nr) in io_u_mark_depth()
862 static void io_u_mark_lat_usec(struct thread_data *td, unsigned long usec) in io_u_mark_lat_usec()
903 static void io_u_mark_lat_msec(struct thread_data *td, unsigned long msec) in io_u_mark_lat_msec()
948 static void io_u_mark_latency(struct thread_data *td, unsigned long usec) in io_u_mark_latency()
959 static struct fio_file *get_next_file_rand(struct thread_data *td, in get_next_file_rand()
1008 static struct fio_file *get_next_file_rr(struct thread_data *td, int goodf, in get_next_file_rr()
1060 static struct fio_file *__get_next_file(struct thread_data *td) in __get_next_file()
1101 static struct fio_file *get_next_file(struct thread_data *td) in get_next_file()
1113 static long set_io_u_file(struct thread_data *td, struct io_u *io_u) in set_io_u_file()
1140 static void lat_fatal(struct thread_data *td, struct io_completion_data *icd, in lat_fatal()
1149 static void lat_new_cycle(struct thread_data *td) in lat_new_cycle()
1160 static int __lat_target_failed(struct thread_data *td) in __lat_target_failed()
1183 static int lat_target_failed(struct thread_data *td) in lat_target_failed()
1192 void lat_target_init(struct thread_data *td) in lat_target_init()
1207 void lat_target_reset(struct thread_data *td) in lat_target_reset()
1213 static void lat_target_success(struct thread_data *td) in lat_target_success()
1258 void lat_target_check(struct thread_data *td) in lat_target_check()
1284 int queue_full(struct thread_data *td) in queue_full()
1296 struct io_u *__get_io_u(struct thread_data *td) in __get_io_u()
1338 static int check_get_trim(struct thread_data *td, struct io_u *io_u) in check_get_trim()
1364 static int check_get_verify(struct thread_data *td, struct io_u *io_u) in check_get_verify()
1434 struct io_u *get_io_u(struct thread_data *td) in get_io_u()
1528 void io_u_log_error(struct thread_data *td, struct io_u *io_u) in io_u_log_error()
1551 static inline int gtod_reduce(struct thread_data *td) in gtod_reduce()
1557 static void account_io_completion(struct thread_data *td, struct io_u *io_u, in account_io_completion()
1599 static long long usec_for_io(struct thread_data *td, enum fio_ddir ddir) in usec_for_io()
1610 static void io_completed(struct thread_data *td, struct io_u *io_u, in io_completed()
1717 static void init_icd(struct thread_data *td, struct io_completion_data *icd, in init_icd()
1732 static void ios_completed(struct thread_data *td, in ios_completed()
1751 int io_u_sync_complete(struct thread_data *td, struct io_u *io_u, in io_u_sync_complete()
1780 int io_u_queued_complete(struct thread_data *td, int min_evts, in io_u_queued_complete()
1820 void io_u_queued(struct thread_data *td, struct io_u *io_u) in io_u_queued()
1830 void fill_io_buffer(struct thread_data *td, void *buf, unsigned int min_write, in fill_io_buffer()
1856 void io_u_fill_buffer(struct thread_data *td, struct io_u *io_u, in io_u_fill_buffer()