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()
86 static int __get_next_rand_offset(struct thread_data *td, struct fio_file *f, in __get_next_rand_offset()
136 static int __get_next_rand_offset_zipf(struct thread_data *td, in __get_next_rand_offset_zipf()
144 static int __get_next_rand_offset_pareto(struct thread_data *td, in __get_next_rand_offset_pareto()
160 static int get_off_from_method(struct thread_data *td, struct fio_file *f, in get_off_from_method()
178 static inline int should_sort_io(struct thread_data *td) in should_sort_io()
192 static int should_do_random(struct thread_data *td, enum fio_ddir ddir) in should_do_random()
206 static int get_next_rand_offset(struct thread_data *td, struct fio_file *f, in get_next_rand_offset()
244 static int get_next_rand_block(struct thread_data *td, struct fio_file *f, in get_next_rand_block()
262 static int get_next_seq_offset(struct thread_data *td, struct fio_file *f, in get_next_seq_offset()
299 static int get_next_block(struct thread_data *td, struct io_u *io_u, in get_next_block()
368 static int __get_next_offset(struct thread_data *td, struct io_u *io_u, in __get_next_offset()
403 static int get_next_offset(struct thread_data *td, struct io_u *io_u, in get_next_offset()
416 static inline int io_u_fits(struct thread_data *td, struct io_u *io_u, in io_u_fits()
424 static unsigned int __get_next_buflen(struct thread_data *td, struct io_u *io_u, in __get_next_buflen()
484 static unsigned int get_next_buflen(struct thread_data *td, struct io_u *io_u, in get_next_buflen()
497 static void set_rwmix_bytes(struct thread_data *td) in set_rwmix_bytes()
510 static inline enum fio_ddir get_rand_ddir(struct thread_data *td) in get_rand_ddir()
524 void io_u_quiesce(struct thread_data *td) in io_u_quiesce()
548 static enum fio_ddir rate_ddir(struct thread_data *td, enum fio_ddir ddir) in rate_ddir()
604 static enum fio_ddir get_rw_ddir(struct thread_data *td) in get_rw_ddir()
661 static void set_rw_ddir(struct thread_data *td, struct io_u *io_u) in set_rw_ddir()
672 void put_file_log(struct thread_data *td, struct fio_file *f) in put_file_log()
680 void put_io_u(struct thread_data *td, struct io_u *io_u) in put_io_u()
697 void clear_io_u(struct thread_data *td, struct io_u *io_u) in clear_io_u()
703 void requeue_io_u(struct thread_data *td, struct io_u **io_u) in requeue_io_u()
725 static int fill_io_u(struct thread_data *td, struct io_u *io_u) in fill_io_u()
822 void io_u_mark_submit(struct thread_data *td, unsigned int nr) in io_u_mark_submit()
828 void io_u_mark_complete(struct thread_data *td, unsigned int nr) in io_u_mark_complete()
834 void io_u_mark_depth(struct thread_data *td, unsigned int nr) in io_u_mark_depth()
863 static void io_u_mark_lat_usec(struct thread_data *td, unsigned long usec) in io_u_mark_lat_usec()
904 static void io_u_mark_lat_msec(struct thread_data *td, unsigned long msec) in io_u_mark_lat_msec()
949 static void io_u_mark_latency(struct thread_data *td, unsigned long usec) in io_u_mark_latency()
960 static struct fio_file *get_next_file_rand(struct thread_data *td, in get_next_file_rand()
1003 static struct fio_file *get_next_file_rr(struct thread_data *td, int goodf, in get_next_file_rr()
1055 static struct fio_file *__get_next_file(struct thread_data *td) in __get_next_file()
1096 static struct fio_file *get_next_file(struct thread_data *td) in get_next_file()
1108 static long set_io_u_file(struct thread_data *td, struct io_u *io_u) in set_io_u_file()
1135 static void lat_fatal(struct thread_data *td, struct io_completion_data *icd, in lat_fatal()
1144 static void lat_new_cycle(struct thread_data *td) in lat_new_cycle()
1155 static int __lat_target_failed(struct thread_data *td) in __lat_target_failed()
1178 static int lat_target_failed(struct thread_data *td) in lat_target_failed()
1187 void lat_target_init(struct thread_data *td) in lat_target_init()
1202 void lat_target_reset(struct thread_data *td) in lat_target_reset()
1208 static void lat_target_success(struct thread_data *td) in lat_target_success()
1253 void lat_target_check(struct thread_data *td) in lat_target_check()
1279 int queue_full(const struct thread_data *td) in queue_full()
1291 struct io_u *__get_io_u(struct thread_data *td) in __get_io_u()
1336 static int check_get_trim(struct thread_data *td, struct io_u *io_u) in check_get_trim()
1362 static int check_get_verify(struct thread_data *td, struct io_u *io_u) in check_get_verify()
1432 struct io_u *get_io_u(struct thread_data *td) in get_io_u()
1527 void io_u_log_error(struct thread_data *td, struct io_u *io_u) in io_u_log_error()
1545 static inline int gtod_reduce(struct thread_data *td) in gtod_reduce()
1551 static void account_io_completion(struct thread_data *td, struct io_u *io_u, in account_io_completion()
1593 static long long usec_for_io(struct thread_data *td, enum fio_ddir ddir) in usec_for_io()
1604 static void io_completed(struct thread_data *td, struct io_u **io_u_ptr, in io_completed()
1723 static void init_icd(struct thread_data *td, struct io_completion_data *icd, in init_icd()
1738 static void ios_completed(struct thread_data *td, in ios_completed()
1757 int io_u_sync_complete(struct thread_data *td, struct io_u *io_u, in io_u_sync_complete()
1786 int io_u_queued_complete(struct thread_data *td, int min_evts, in io_u_queued_complete()
1828 void io_u_queued(struct thread_data *td, struct io_u *io_u) in io_u_queued()
1842 static struct frand_state *get_buf_state(struct thread_data *td) in get_buf_state()
1861 static void save_buf_state(struct thread_data *td, struct frand_state *rs) in save_buf_state()
1867 void fill_io_buffer(struct thread_data *td, void *buf, unsigned int min_write, in fill_io_buffer()
1908 void io_u_fill_buffer(struct thread_data *td, struct io_u *io_u, in io_u_fill_buffer()