Lines Matching defs:sel
111 struct io_async_rw *io, struct io_br_sel *sel,
118 sel->addr = u64_to_user_ptr(rw->addr);
120 return io_import_vec(ddir, req, io, sel->addr, sqe_len);
123 *sel = io_buffer_select(req, &sqe_len, io->buf_group, issue_flags);
124 if (!sel->addr)
126 rw->addr = (unsigned long) sel->addr;
129 return import_ubuf(ddir, sel->addr, sqe_len, &io->iter);
134 struct io_br_sel *sel,
139 ret = __io_import_rw_buffer(rw, req, io, sel, issue_flags);
315 struct io_br_sel sel = { };
320 return io_import_rw_buffer(ddir, req, req->async_data, &sel, 0);
650 struct io_br_sel *sel, unsigned int issue_flags)
666 if (sel)
667 cflags = io_put_kbuf(req, ret, sel->buf_list);
912 static int __io_read(struct io_kiocb *req, struct io_br_sel *sel,
927 ret = io_import_rw_buffer(ITER_DEST, req, io, sel, issue_flags);
1028 struct io_br_sel sel = { };
1031 ret = __io_read(req, &sel, issue_flags);
1033 return kiocb_done(req, ret, &sel, issue_flags);
1036 io_kbuf_recycle(req, sel.buf_list, issue_flags);
1043 struct io_br_sel sel = { };
1055 ret = __io_read(req, &sel, issue_flags);
1066 if (io_kbuf_recycle(req, sel.buf_list, issue_flags))
1070 io_kbuf_recycle(req, sel.buf_list, issue_flags);
1074 cflags = io_put_kbuf(req, ret, sel.buf_list);
1082 cflags = io_put_kbuf(req, ret, sel.buf_list);