Lines Matching refs:thread_data
100 struct thread_data { struct
409 extern struct thread_data *threads;
411 static inline void fio_ro_check(const struct thread_data *td, struct io_u *io_u) in fio_ro_check()
418 static inline int should_fsync(struct thread_data *td) in should_fsync()
437 extern void clear_io_state(struct thread_data *);
438 extern int fio_options_parse(struct thread_data *, char **, int, int);
440 extern int fio_cmd_option_parse(struct thread_data *, const char *, char *);
441 extern int fio_cmd_ioengine_option_parse(struct thread_data *, const char *, char *);
442 extern void fio_fill_default_options(struct thread_data *);
444 extern void fio_options_set_ioengine_opts(struct option *long_options, struct thread_data *td);
446 extern void fio_options_mem_dupe(struct thread_data *);
448 extern void td_fill_rand_seeds(struct thread_data *);
451 extern int ioengine_load(struct thread_data *);
492 extern void td_set_runstate(struct thread_data *, int);
493 extern int td_bump_runstate(struct thread_data *, int);
494 extern void td_restore_runstate(struct thread_data *, int);
504 extern void fio_mark_td_terminate(struct thread_data *);
509 extern int __must_check fio_pin_memory(struct thread_data *);
510 extern void fio_unpin_memory(struct thread_data *);
511 extern int __must_check allocate_io_mem(struct thread_data *);
512 extern void free_io_mem(struct thread_data *);
518 extern void reset_all_stats(struct thread_data *);
525 extern int load_blktrace(struct thread_data *, const char *, int);
531 extern void lat_target_check(struct thread_data *);
532 extern void lat_target_init(struct thread_data *);
533 extern void lat_target_reset(struct thread_data *);
553 static inline int fio_fill_issue_time(struct thread_data *td) in fio_fill_issue_time()
562 static inline int __should_check_rate(struct thread_data *td, in __should_check_rate()
577 static inline int should_check_rate(struct thread_data *td, in should_check_rate()
592 static inline unsigned int td_max_bs(struct thread_data *td) in td_max_bs()
600 static inline unsigned int td_min_bs(struct thread_data *td) in td_min_bs()
617 static inline void td_io_u_lock(struct thread_data *td) in td_io_u_lock()
623 static inline void td_io_u_unlock(struct thread_data *td) in td_io_u_unlock()
629 static inline void td_io_u_free_notify(struct thread_data *td) in td_io_u_free_notify()