Home
last modified time | relevance | path

Searched refs:fio_file (Results 1 – 25 of 53) sorted by relevance

123

/external/fio/
Dfile.h64 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 …]
Dioengine.h38 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 …]
Dfilehash.c34 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()
Dfilehash.h8 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 *);
Dfilesetup.c36 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 …]
Dio_u.c28 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 …]
Dioengines.c417 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()
Diolog.h152 struct fio_file *file;
178 extern void log_file(struct thread_data *, struct fio_file *, enum file_log_act);
/external/fio/engines/
Dgfapi.h19 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);
Dmmap.c31 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()
Dsync.c30 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()
Dskeleton_external.c114 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()
Dsg.c72 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()
Dglusterfs.c105 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()
Dfalloc.c26 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()
Dlibhdfs.c151 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()
Dbinject.c65 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()
Dsplice.c32 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()
Dwindowsaio.c47 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/
Dos-hpux.h45 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()
Dos-freebsd.h61 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()
Dos-aix.h24 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()
Dos-mac.h117 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()
Dos-windows.h114 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()
Dos-solaris.h49 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()

123