Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Find and free completed poll iocbs
Proto:static void io_iopoll_complete(struct io_ring_ctx *ctx, unsigned int *nr_events, struct list_head *done)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_ring_ctx * | ctx | |
| unsigned int * | nr_events | |
| struct list_head * | done |
| 1169 | to_free = 0 |
| 1174 | io_cqring_fill_event(req, result) |
| 1175 | nr_events++ |
| 1183 | If (flags & (ctx owns file | linked sqes )) == ctx owns file && Not io_is_fallback_req(req) && Not io Then |
| 1189 | Else |
| 1190 | io_free_req(req) |
| 1195 | io_commit_cqring(ctx) |
| 1196 | io_free_req_many(ctx, reqs, & to_free) |
| Name | Describe |
|---|---|
| io_do_iopoll |
| 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 |