Lines Matching refs:thread_data
93 int (*end_io)(struct thread_data *, struct io_u **);
135 int (*setup)(struct thread_data *);
136 int (*init)(struct thread_data *);
137 int (*prep)(struct thread_data *, struct io_u *);
138 int (*queue)(struct thread_data *, struct io_u *);
139 int (*commit)(struct thread_data *);
140 int (*getevents)(struct thread_data *, unsigned int, unsigned int, const struct timespec *);
141 struct io_u *(*event)(struct thread_data *, int);
142 int (*cancel)(struct thread_data *, struct io_u *);
143 void (*cleanup)(struct thread_data *);
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 *);
149 void (*terminate)(struct thread_data *);
150 int (*io_u_init)(struct thread_data *, struct io_u *);
151 void (*io_u_free)(struct thread_data *, struct io_u *);
181 extern int __must_check td_io_init(struct thread_data *);
182 extern int __must_check td_io_prep(struct thread_data *, struct io_u *);
183 extern int __must_check td_io_queue(struct thread_data *, struct io_u *);
184 extern int __must_check td_io_sync(struct thread_data *, struct fio_file *);
185 extern int __must_check td_io_getevents(struct thread_data *, unsigned int, unsigned int, const struct timespec *);
186 extern int __must_check td_io_commit(struct thread_data *);
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 *);
190 extern int __must_check td_io_get_file_size(struct thread_data *, struct fio_file *);
192 extern struct ioengine_ops *load_ioengine(struct thread_data *, const char *);
195 extern void free_ioengine(struct thread_data *);
196 extern void close_ioengine(struct thread_data *);
203 extern struct io_u *__get_io_u(struct thread_data *);
204 extern struct io_u *get_io_u(struct thread_data *);
205 extern void put_io_u(struct thread_data *, struct io_u *);
206 extern void clear_io_u(struct thread_data *, struct io_u *);
207 extern void requeue_io_u(struct thread_data *, struct io_u **);
208 extern int __must_check io_u_sync_complete(struct thread_data *, struct io_u *, uint64_t *);
209 extern int __must_check io_u_queued_complete(struct thread_data *, int, uint64_t *);
210 extern void io_u_queued(struct thread_data *, struct io_u *);
211 extern void io_u_quiesce(struct thread_data *);
212 extern void io_u_log_error(struct thread_data *, struct io_u *);
213 extern void io_u_mark_depth(struct thread_data *, unsigned int);
214 extern void fill_io_buffer(struct thread_data *, void *, unsigned int, unsigned int);
215 extern void io_u_fill_buffer(struct thread_data *td, struct io_u *, unsigned int, unsigned int);
216 void io_u_mark_complete(struct thread_data *, unsigned int);
217 void io_u_mark_submit(struct thread_data *, unsigned int);
218 int queue_full(const struct thread_data *);
220 int do_io_u_sync(const struct thread_data *, struct io_u *);
221 int do_io_u_trim(const struct thread_data *, struct io_u *);