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_recvmsg
Proto:static int io_recvmsg(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 |
| 2286 | struct io_async_msghdr * kmsg = NULL |
| 2290 | If Value for the false possibility is greater at compile time(flags & _context is polled ) Then Return -EINVAL |
| 2293 | sock = sock_from_file(file, & ret) |
| 2294 | If sock Then |
| 2299 | If io Then |
| 2306 | Else |
| 2321 | If flags & Nonblocking io Then flags |= must not punt to workers |
| 2323 | Else if force_nonblock Then flags |= Nonblocking io |
| 2328 | If force_nonblock && ret == -EAGAIN Then |
| 2331 | If io_alloc_async_ctx(req) Then |
| 2337 | Return -EAGAIN |
| 2345 | io_cqring_add_event(req, ret) |
| 2346 | If ret < 0 Then req_set_fail_links(req) |
| 2349 | 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 |