Lines Matching refs:fio_file

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()
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()
463 int file_lookup_open(struct fio_file *f, int flags) in file_lookup_open()
465 struct fio_file *__f; in file_lookup_open()
491 struct fio_file *f; 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()
640 struct fio_file *f; in get_file_sizes()
680 struct fio_file *f; in get_fs_free_counts()
740 uint64_t get_start_offset(struct thread_data *td, struct fio_file *f) in get_start_offset()
758 struct fio_file *f; in setup_files()
972 struct fio_file *f; in pre_read_files()
984 static int __init_rand_distribution(struct thread_data *td, struct fio_file *f) in __init_rand_distribution()
1009 struct fio_file *f; in init_rand_distribution()
1029 struct fio_file *f; in init_random_map()
1077 struct fio_file *f; in close_files()
1088 struct fio_file *f; in close_and_free_files()
1128 static void get_file_type(struct fio_file *f) in get_file_type()
1220 static struct fio_file *alloc_new_file(struct thread_data *td) in alloc_new_file()
1222 struct fio_file *f; in alloc_new_file()
1241 struct fio_file *f; in add_file()
1325 struct fio_file *f; in add_file_exclusive()
1336 void get_file(struct fio_file *f) in get_file()
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()
1473 struct fio_file *f; in dup_files()
1487 struct fio_file *__f; in dup_files()
1515 struct fio_file *f; in get_fileno()
1537 void fio_file_reset(struct thread_data *td, struct fio_file *f) in fio_file_reset()
1554 struct fio_file *f; in fio_files_done()