Searched refs:force_nonblock (Results 1 – 3 of 3) sorted by relevance
50 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_epoll_ctl() local52 ret = do_epoll_ctl(ie->epfd, ie->op, ie->fd, &ie->event, force_nonblock); in io_epoll_ctl()53 if (force_nonblock && ret == -EAGAIN) in io_epoll_ctl()
832 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in __io_read() local849 if (force_nonblock) { in __io_read()872 if (ret == -EOPNOTSUPP && force_nonblock) in __io_read()881 if (!force_nonblock && !(req->ctx->flags & IORING_SETUP_IOPOLL)) in __io_read()889 } else if (ret == req->cqe.res || ret <= 0 || !force_nonblock || in __io_read()1038 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_write() local1050 if (force_nonblock) { in io_write()1098 if (!force_nonblock || ret2 != -EAGAIN) { in io_write()
981 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_recvmsg() local993 if (force_nonblock) in io_recvmsg()1031 if (ret == -EAGAIN && force_nonblock) { in io_recvmsg()1134 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_recv() local1147 if (force_nonblock) in io_recv()1168 if (ret == -EAGAIN && force_nonblock) { in io_recv()1546 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_accept() local1549 .flags = force_nonblock ? O_NONBLOCK : 0, in io_accept()1573 if (ret == -EAGAIN && force_nonblock && in io_accept()1697 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_connect() local[all …]