Lines Matching refs:io_u
24 * The ->event() hook is called to match an event number with an io_u.
29 static struct io_u *fio_skeleton_event(struct thread_data *td, int event)
47 * The ->cancel() hook attempts to cancel the io_u. Only relevant for
50 static int fio_skeleton_cancel(struct thread_data *td, struct io_u *io_u)
56 * The ->queue() hook is responsible for initiating io on the io_u
60 * The io engine must transfer in the direction noted by io_u->ddir
61 * to the buffer pointed to by io_u->xfer_buf for as many bytes as
62 * io_u->xfer_buflen. Residual data count may be set in io_u->resid
65 static int fio_skeleton_queue(struct thread_data *td, struct io_u *io_u)
70 fio_ro_check(td, io_u);
82 * The ->prep() function is called for each io_u prior to being submitted
84 * preparatory actions on the io_u, before being submitted. Not required.
86 static int fio_skeleton_prep(struct thread_data *td, struct io_u *io_u)