函数逻辑报告 | 
Source Code:fs\io_uring.c | 
Create Date:2022-07-29 10:54:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:io_async_find_and_cancel
函数原型:static void io_async_find_and_cancel(struct io_ring_ctx *ctx, struct io_kiocb *req, __u64 sqe_addr, struct io_kiocb **nxt, int success_ret)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct io_ring_ctx * | ctx | |
| struct io_kiocb * | req | |
| __u64 | sqe_addr | |
| struct io_kiocb ** | nxt | |
| int | success_ret | 
| 3046 | ret等于io_async_cancel_one(ctx, (void * )(unsignedlong)sqe_addr) | 
| 3048 | spin_lock_irqsave( & completion_lock, flags) | 
| 3049 | 转到:done | 
| 3052 | spin_lock_irqsave( & completion_lock, flags) | 
| 3053 | ret等于io_timeout_cancel(ctx, sqe_addr) | 
| 3056 | ret等于io_poll_cancel(ctx, sqe_addr) | 
| 3057 | done : | 
| 3058 | 如果非ret则ret等于success_ret | 
| 3060 | io_cqring_fill_event(req, ret) | 
| 3061 | io_commit_cqring(ctx) | 
| 3062 | spin_unlock_irqrestore( & completion_lock, flags) | 
| 3063 | io_cqring_ev_posted(ctx) | 
| 3065 | 如果ret小于0则req_set_fail_links(req) | 
| 名称 | 描述 | 
|---|---|
| io_async_cancel | |
| io_link_timeout_fn | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |