Lines Matching refs:io_u
14 int get_next_trim(struct thread_data *td, struct io_u *io_u) in get_next_trim() argument
21 if (io_u->file) in get_next_trim()
30 io_u->offset = ipo->offset; in get_next_trim()
31 io_u->buflen = ipo->len; in get_next_trim()
32 io_u->file = ipo->file; in get_next_trim()
50 if (!fio_file_open(io_u->file)) { in get_next_trim()
51 int r = td_io_open_file(td, io_u->file); in get_next_trim()
55 io_u->file->file_name); in get_next_trim()
60 get_file(io_u->file); in get_next_trim()
61 assert(fio_file_open(io_u->file)); in get_next_trim()
62 io_u->ddir = DDIR_TRIM; in get_next_trim()
63 io_u->xfer_buf = NULL; in get_next_trim()
64 io_u->xfer_buflen = io_u->buflen; in get_next_trim()
66 dprint(FD_VERIFY, "get_next_trim: ret io_u %p\n", io_u); in get_next_trim()
70 int io_u_should_trim(struct thread_data *td, struct io_u *io_u) in io_u_should_trim() argument