Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_sendmsg
Proto:static int io_sendmsg(struct io_kiocb *req, struct io_kiocb **nxt, bool force_nonblock)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct io_kiocb * | req | |
struct io_kiocb ** | nxt | |
bool | force_nonblock |
2189 | struct io_async_msghdr * kmsg = NULL |
2193 | If Value for the false possibility is greater at compile time(flags & _context is polled ) Then Return -EINVAL |
2196 | sock = sock_from_file(file, & ret) |
2197 | If sock Then |
2202 | If io Then |
2209 | Else |
2223 | If flags & Nonblocking io Then flags |= must not punt to workers |
2225 | Else if force_nonblock Then flags |= Nonblocking io |
2228 | ret = __sys_sendmsg_sock(sock, & msg, flags) |
2229 | If force_nonblock && ret == -EAGAIN Then |
2232 | If io_alloc_async_ctx(req) Then |
2238 | Return -EAGAIN |
2246 | io_cqring_add_event(req, ret) |
2247 | If ret < 0 Then req_set_fail_links(req) |
2250 | Return 0 |
Name | Describe |
---|---|
io_issue_sqe |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |