/external/fio/ |
D | file.h | 64 struct fio_file { struct 140 static inline void fio_file_set_##name(struct fio_file *f) \ argument 144 static inline void fio_file_clear_##name(struct fio_file *f) \ 148 static inline int fio_file_##name(struct fio_file *f) \ 170 extern uint64_t get_start_offset(struct thread_data *, struct fio_file *); 172 extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *); 173 extern int __must_check generic_open_file(struct thread_data *, struct fio_file *); 174 extern int __must_check generic_close_file(struct thread_data *, struct fio_file *); 175 extern int __must_check generic_get_file_size(struct thread_data *, struct fio_file *); 176 extern int __must_check file_lookup_open(struct fio_file *f, int flags); [all …]
|
D | ioengine.h | 38 struct fio_file *file; 144 int (*open_file)(struct thread_data *, struct fio_file *); 145 int (*close_file)(struct thread_data *, struct fio_file *); 146 int (*invalidate)(struct thread_data *, struct fio_file *); 147 int (*unlink_file)(struct thread_data *, struct fio_file *); 148 int (*get_file_size)(struct thread_data *, struct fio_file *); 184 extern int __must_check td_io_sync(struct thread_data *, struct fio_file *); 187 extern int __must_check td_io_open_file(struct thread_data *, struct fio_file *); 188 extern int td_io_close_file(struct thread_data *, struct fio_file *); 189 extern int td_io_unlink_file(struct thread_data *, struct fio_file *); [all …]
|
D | filehash.c | 34 void remove_file_hash(struct fio_file *f) in remove_file_hash() 47 static struct fio_file *__lookup_file_hash(const char *name) in __lookup_file_hash() 53 struct fio_file *f = flist_entry(n, struct fio_file, hash_list); in __lookup_file_hash() 67 struct fio_file *lookup_file_hash(const char *name) in lookup_file_hash() 69 struct fio_file *f; in lookup_file_hash() 77 struct fio_file *add_file_hash(struct fio_file *f) in add_file_hash() 79 struct fio_file *alias; in add_file_hash()
|
D | filehash.h | 8 extern struct fio_file *lookup_file_hash(const char *); 9 extern struct fio_file *add_file_hash(struct fio_file *); 10 extern void remove_file_hash(struct fio_file *);
|
D | filesetup.c | 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() [all …]
|
D | io_u.c | 28 static int random_map_free(struct fio_file *f, const uint64_t block) in random_map_free() 39 struct fio_file *f = io_u->file; 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() 137 struct fio_file *f, enum fio_ddir ddir, in __get_next_rand_offset_zipf() 145 struct fio_file *f, enum fio_ddir ddir, 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() 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() [all …]
|
D | ioengines.c | 417 int td_io_open_file(struct thread_data *td, struct fio_file *f) in td_io_open_file() 498 int td_io_close_file(struct thread_data *td, struct fio_file *f) in td_io_close_file() 516 int td_io_unlink_file(struct thread_data *td, struct fio_file *f) in td_io_unlink_file() 524 int td_io_get_file_size(struct thread_data *td, struct fio_file *f) in td_io_get_file_size() 533 struct fio_file *f) in do_sync_file_range() 578 struct fio_file *f = io_u->file; in do_io_u_trim()
|
D | iolog.h | 152 struct fio_file *file; 178 extern void log_file(struct thread_data *, struct fio_file *, enum file_log_act);
|
/external/fio/engines/ |
D | gfapi.h | 19 extern int fio_gf_get_file_size(struct thread_data *td, struct fio_file *f); 20 extern int fio_gf_open_file(struct thread_data *td, struct fio_file *f); 21 extern int fio_gf_close_file(struct thread_data *td, struct fio_file *f); 22 extern int fio_gf_unlink_file(struct thread_data *td, struct fio_file *f);
|
D | mmap.c | 31 static int fio_mmap_file(struct thread_data *td, struct fio_file *f, in fio_mmap_file() 88 struct fio_file *f = io_u->file; in fio_mmapio_prep_limited() 110 struct fio_file *f = io_u->file; in fio_mmapio_prep_full() 134 struct fio_file *f = io_u->file; in fio_mmapio_prep() 169 struct fio_file *f = io_u->file; in fio_mmapio_queue() 234 static int fio_mmapio_open_file(struct thread_data *td, struct fio_file *f) in fio_mmapio_open_file() 254 static int fio_mmapio_close_file(struct thread_data *td, struct fio_file *f) in fio_mmapio_close_file()
|
D | sync.c | 30 struct fio_file *last_file; 36 struct fio_file *f = io_u->file; in fio_syncio_prep() 79 struct fio_file *f = io_u->file; in fio_pvsyncio_queue() 103 struct fio_file *f = io_u->file; in fio_psyncio_queue() 123 struct fio_file *f = io_u->file; in fio_syncio_queue() 275 struct fio_file *f; in fio_vsyncio_commit()
|
D | skeleton_external.c | 114 static int fio_skeleton_open(struct thread_data *td, struct fio_file *f) in fio_skeleton_open() 122 static int fio_skeleton_close(struct thread_data *td, struct fio_file *f) in fio_skeleton_close()
|
D | sg.c | 72 struct fio_file *f; in fio_sgio_getevents() 161 struct fio_file *f, struct io_u *io_u) in fio_sgio_ioctl_doio() 176 static int fio_sgio_rw_doio(struct fio_file *f, struct io_u *io_u, int do_sync) in fio_sgio_rw_doio() 197 struct fio_file *f = io_u->file; in fio_sgio_doio() 349 static int fio_sgio_type_check(struct thread_data *td, struct fio_file *f) in fio_sgio_type_check() 385 static int fio_sgio_open(struct thread_data *td, struct fio_file *f) in fio_sgio_open()
|
D | glusterfs.c | 105 int fio_gf_get_file_size(struct thread_data *td, struct fio_file *f) in fio_gf_get_file_size() 132 int fio_gf_open_file(struct thread_data *td, struct fio_file *f) in fio_gf_open_file() 267 int fio_gf_close_file(struct thread_data *td, struct fio_file *f) in fio_gf_close_file() 283 int fio_gf_unlink_file(struct thread_data *td, struct fio_file *f) in fio_gf_unlink_file()
|
D | falloc.c | 26 static int open_file(struct thread_data *td, struct fio_file *f) in open_file() 75 struct fio_file *f = io_u->file; in fio_fallocate_queue()
|
D | libhdfs.c | 151 int fio_hdfsio_open_file(struct thread_data *td, struct fio_file *f) in fio_hdfsio_open_file() 163 int fio_hdfsio_close_file(struct thread_data *td, struct fio_file *f) in fio_hdfsio_close_file() 176 struct fio_file *f; in fio_hdfsio_setup()
|
D | binject.c | 65 struct fio_file *f; in binject_read_commands() 101 struct fio_file *f; in fio_binject_getevents() 330 static int fio_binject_close_file(struct thread_data *td, struct fio_file *f) in fio_binject_close_file() 344 static int fio_binject_open_file(struct thread_data *td, struct fio_file *f) in fio_binject_open_file()
|
D | splice.c | 32 struct fio_file *f = io_u->file; in fio_splice_read_old() 76 struct fio_file *f = io_u->file; in fio_splice_read() 175 struct fio_file *f = io_u->file; in fio_splice_write()
|
D | windowsaio.c | 47 static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f); 48 static int fio_windowsaio_close_file(struct thread_data fio_unused *td, struct fio_file *f); 151 static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f) in fio_windowsaio_open_file() 220 static int fio_windowsaio_close_file(struct thread_data fio_unused *td, struct fio_file *f) in fio_windowsaio_close_file()
|
/external/fio/os/ |
D | os-hpux.h | 45 static inline int blockdev_invalidate_cache(struct fio_file *f) in blockdev_invalidate_cache() 50 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) in blockdev_size() 66 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) in chardev_size()
|
D | os-freebsd.h | 61 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) in blockdev_size() 74 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) in chardev_size() 79 static inline int blockdev_invalidate_cache(struct fio_file *f) in blockdev_invalidate_cache()
|
D | os-aix.h | 24 static inline int blockdev_invalidate_cache(struct fio_file *f) in blockdev_invalidate_cache() 29 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) in blockdev_size()
|
D | os-mac.h | 117 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) in blockdev_size() 132 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) in chardev_size() 145 static inline int blockdev_invalidate_cache(struct fio_file *f) in blockdev_invalidate_cache()
|
D | os-windows.h | 114 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) in blockdev_size() 141 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) in chardev_size() 146 static inline int blockdev_invalidate_cache(struct fio_file *f) in blockdev_invalidate_cache()
|
D | os-solaris.h | 49 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) in chardev_size() 62 static inline int blockdev_invalidate_cache(struct fio_file *f) in blockdev_invalidate_cache()
|