函数逻辑报告 |
Source Code:fs\io_uring.c |
Create Date:2022-07-29 10:54:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find and free completed poll iocbs
函数原型:static void io_iopoll_complete(struct io_ring_ctx *ctx, unsigned int *nr_events, struct list_head *done)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct io_ring_ctx * | ctx | |
| unsigned int * | nr_events | |
| struct list_head * | done |
| 1169 | to_free等于0 |
| 1172 | 删除链表项 |
| 1174 | io_cqring_fill_event(req, result) |
| 1175 | nr_events自加 |
| 1183 | 如果flags按位与ctx owns file 按位或linked sqes 的值的值恒等于ctx owns file 且非io_is_fallback_req(req)且非io则 |
| 1189 | 否则 |
| 1190 | io_free_req(req) |
| 1195 | io_commit_cqring(ctx) |
| 1196 | io_free_req_many(ctx, reqs, & to_free) |
| 名称 | 描述 |
|---|---|
| io_do_iopoll |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |