Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_connect
Proto:static int io_connect(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 |
| 2460 | If io Then |
| 2462 | Else |
| 2471 | file_flags = If force_nonblock Then O_NONBLOCK Else 0 |
| 2473 | ret = __sys_connect_file(file, & address, addr_len, file_flags) |
| 2475 | If ( ret == -EAGAIN || ret == -EINPROGRESS ) && force_nonblock Then |
| 2478 | If io_alloc_async_ctx(req) Then |
| 2483 | Return -EAGAIN |
| 2487 | out : |
| 2488 | If ret < 0 Then req_set_fail_links(req) |
| 2490 | io_cqring_add_event(req, ret) |
| 2492 | 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 |