Searched refs:force_nonblock (Results 1 – 1 of 1) sorted by relevance
/io_uring/ |
D | io_uring.c | 3608 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_read() local 3624 ret = io_import_iovec(READ, req, &iovec, iter, !force_nonblock); in io_read() 3633 if (!force_nonblock) in io_read() 3639 if (force_nonblock && !io_file_supports_nowait(req, READ)) { in io_read() 3657 if (!force_nonblock && !(req->ctx->flags & IORING_SETUP_IOPOLL)) in io_read() 3665 } else if (ret <= 0 || ret == req->result || !force_nonblock || in io_read() 3747 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_write() local 3758 ret = io_import_iovec(WRITE, req, &iovec, iter, !force_nonblock); in io_write() 3767 if (!force_nonblock) in io_write() 3773 if (force_nonblock && !io_file_supports_nowait(req, WRITE)) in io_write() [all …]
|