Lines Matching refs:thread_data
61 * Each thread_data structure has a number of files associated with it,
167 struct thread_data;
168 extern void close_files(struct thread_data *);
169 extern void close_and_free_files(struct thread_data *);
170 extern uint64_t get_start_offset(struct thread_data *, struct fio_file *);
171 extern int __must_check setup_files(struct thread_data *);
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 *);
177 extern int __must_check pre_read_files(struct thread_data *);
178 extern int add_file(struct thread_data *, const char *, int, int);
179 extern int add_file_exclusive(struct thread_data *, const char *);
181 extern int __must_check put_file(struct thread_data *, struct fio_file *);
182 extern void put_file_log(struct thread_data *, struct fio_file *);
183 extern void lock_file(struct thread_data *, struct fio_file *, enum fio_ddir);
184 extern void unlock_file(struct thread_data *, struct fio_file *);
185 extern void unlock_file_all(struct thread_data *, struct fio_file *);
186 extern int add_dir_files(struct thread_data *, const char *);
187 extern int init_random_map(struct thread_data *);
188 extern void dup_files(struct thread_data *, struct thread_data *);
189 extern int get_fileno(struct thread_data *, const char *);
190 extern void free_release_files(struct thread_data *);
192 void fio_file_reset(struct thread_data *, struct fio_file *);
193 int fio_files_done(struct thread_data *);