Lines Matching defs:td

27 static inline void clear_error(struct thread_data *td)  in clear_error()
36 static int extend_file(struct thread_data *td, struct fio_file *f) in extend_file()
201 static int pre_read_file(struct thread_data *td, struct fio_file *f) in pre_read_file()
259 static unsigned long long get_rand_file_size(struct thread_data *td) in get_rand_file_size()
272 static int file_size(struct thread_data *td, struct fio_file *f) in file_size()
285 static int bdev_size(struct thread_data *td, struct fio_file *f) in bdev_size()
315 static int char_size(struct thread_data *td, struct fio_file *f) in char_size()
350 static int get_file_size(struct thread_data *td, struct fio_file *f) in get_file_size()
380 static int __file_invalidate_cache(struct thread_data *td, struct fio_file *f, in __file_invalidate_cache()
433 int file_invalidate_cache(struct thread_data *td, struct fio_file *f) in file_invalidate_cache()
441 int generic_close_file(struct thread_data fio_unused *td, struct fio_file *f) in generic_close_file()
489 static int file_close_shadow_fds(struct thread_data *td) in file_close_shadow_fds()
507 int generic_open_file(struct thread_data *td, struct fio_file *f) in generic_open_file()
630 int generic_get_file_size(struct thread_data *td, struct fio_file *f) in generic_get_file_size()
638 static int get_file_sizes(struct thread_data *td) in get_file_sizes()
674 static unsigned long long get_fs_free_counts(struct thread_data *td) in get_fs_free_counts()
740 uint64_t get_start_offset(struct thread_data *td, struct fio_file *f) in get_start_offset()
754 int setup_files(struct thread_data *td) in setup_files()
970 int pre_read_files(struct thread_data *td) in pre_read_files()
984 static int __init_rand_distribution(struct thread_data *td, struct fio_file *f) in __init_rand_distribution()
1007 static int init_rand_distribution(struct thread_data *td) in init_rand_distribution()
1026 int init_random_map(struct thread_data *td) in init_random_map()
1075 void close_files(struct thread_data *td) in close_files()
1086 void close_and_free_files(struct thread_data *td) in close_and_free_files()
1220 static struct fio_file *alloc_new_file(struct thread_data *td) in alloc_new_file()
1237 int add_file(struct thread_data *td, const char *fname, int numjob, int inc) in add_file()
1323 int add_file_exclusive(struct thread_data *td, const char *fname) in add_file_exclusive()
1343 int put_file(struct thread_data *td, struct fio_file *f) in put_file()
1376 void lock_file(struct thread_data *td, struct fio_file *f, enum fio_ddir ddir) in lock_file()
1392 void unlock_file(struct thread_data *td, struct fio_file *f) in unlock_file()
1405 void unlock_file_all(struct thread_data *td, struct fio_file *f) in unlock_file_all()
1413 static int recurse_dir(struct thread_data *td, const char *dirname) in recurse_dir()
1461 int add_dir_files(struct thread_data *td, const char *path) in add_dir_files()
1471 void dup_files(struct thread_data *td, struct thread_data *org) in dup_files()
1513 int get_fileno(struct thread_data *td, const char *fname) in get_fileno()
1528 void free_release_files(struct thread_data *td) in free_release_files()
1537 void fio_file_reset(struct thread_data *td, struct fio_file *f) in fio_file_reset()
1552 int fio_files_done(struct thread_data *td) in fio_files_done()