Home
last modified time | relevance | path

Searched refs:force_nonblock (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/io_uring/
Depoll.c50 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_epoll_ctl() local
52 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()
Drw.c832 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in __io_read() local
849 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() local
1050 if (force_nonblock) { in io_write()
1098 if (!force_nonblock || ret2 != -EAGAIN) { in io_write()
Dnet.c981 bool force_nonblock = issue_flags & IO_URING_F_NONBLOCK; in io_recvmsg() local
993 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() local
1147 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() local
1549 .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 …]