函数逻辑报告 | 
Source Code:fs\io_uring.c | 
Create Date:2022-07-29 10:55:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:io_uring_cancel_files
函数原型:static void io_uring_cancel_files(struct io_ring_ctx *ctx, struct files_struct *files)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct io_ring_ctx * | ctx | |
| struct files_struct * | files | 
| 5039 | DEFINE_WAIT(wait) | 
| 5042 | struct io_kiocb * cancel_req = NULL | 
| 5044 | spin_lock_irq( & inflight_lock) | 
| 5051 | cancel_req等于req | 
| 5052 | 退出 | 
| 5057 | spin_unlock_irq( & inflight_lock) | 
| 5060 | 如果非cancel_req则退出 | 
| 5063 | io_wq_cancel_work( IO offload , & work) | 
| 5064 | io_put_req(cancel_req) | 
| 5065 | 进程调度 | 
| 名称 | 描述 | 
|---|---|
| io_uring_flush | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |