Lines Matching defs:td
35 static inline void clear_error(struct thread_data *td) in clear_error()
44 static int extend_file(struct thread_data *td, struct fio_file *f) in extend_file()
231 static int pre_read_file(struct thread_data *td, struct fio_file *f) in pre_read_file()
300 unsigned long long get_rand_file_size(struct thread_data *td) in get_rand_file_size()
315 static int file_size(struct thread_data *td, struct fio_file *f) in file_size()
328 static int bdev_size(struct thread_data *td, struct fio_file *f) in bdev_size()
358 static int char_size(struct thread_data *td, struct fio_file *f) in char_size()
393 static int get_file_size(struct thread_data *td, struct fio_file *f) in get_file_size()
445 static int __file_invalidate_cache(struct thread_data *td, struct fio_file *f, in __file_invalidate_cache()
522 int file_invalidate_cache(struct thread_data *td, struct fio_file *f) in file_invalidate_cache()
530 int generic_close_file(struct thread_data fio_unused *td, struct fio_file *f) in generic_close_file()
575 static int file_close_shadow_fds(struct thread_data *td) in file_close_shadow_fds()
593 int generic_open_file(struct thread_data *td, struct fio_file *f) in generic_open_file()
716 int generic_get_file_size(struct thread_data *td, struct fio_file *f) in generic_get_file_size()
724 static int get_file_sizes(struct thread_data *td) in get_file_sizes()
767 static unsigned long long get_fs_free_counts(struct thread_data *td) in get_fs_free_counts()
833 uint64_t get_start_offset(struct thread_data *td, struct fio_file *f) in get_start_offset()
847 int setup_files(struct thread_data *td) in setup_files()
1117 int pre_read_files(struct thread_data *td) in pre_read_files()
1132 static int __init_rand_distribution(struct thread_data *td, struct fio_file *f) in __init_rand_distribution()
1157 static int init_rand_distribution(struct thread_data *td) in init_rand_distribution()
1181 static int check_rand_gen_limits(struct thread_data *td, struct fio_file *f, in check_rand_gen_limits()
1213 int init_random_map(struct thread_data *td) in init_random_map()
1265 void close_files(struct thread_data *td) in close_files()
1276 void close_and_free_files(struct thread_data *td) in close_and_free_files()
1415 static struct fio_file *alloc_new_file(struct thread_data *td) in alloc_new_file()
1451 int add_file(struct thread_data *td, const char *fname, int numjob, int inc) in add_file()
1537 int add_file_exclusive(struct thread_data *td, const char *fname) in add_file_exclusive()
1557 int put_file(struct thread_data *td, struct fio_file *f) in put_file()
1590 void lock_file(struct thread_data *td, struct fio_file *f, enum fio_ddir ddir) in lock_file()
1606 void unlock_file(struct thread_data *td, struct fio_file *f) in unlock_file()
1619 void unlock_file_all(struct thread_data *td, struct fio_file *f) in unlock_file_all()
1627 static int recurse_dir(struct thread_data *td, const char *dirname) in recurse_dir()
1675 int add_dir_files(struct thread_data *td, const char *path) in add_dir_files()
1685 void dup_files(struct thread_data *td, struct thread_data *org) in dup_files()
1725 int get_fileno(struct thread_data *td, const char *fname) in get_fileno()
1740 void free_release_files(struct thread_data *td) in free_release_files()
1749 void fio_file_reset(struct thread_data *td, struct fio_file *f) in fio_file_reset()
1764 bool fio_files_done(struct thread_data *td) in fio_files_done()