函数逻辑报告 |
Source Code:fs\io_uring.c |
Create Date:2022-07-29 10:54:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Called if REQ_F_LINK is set, and we fail the head request
函数原型:static void io_fail_links(struct io_kiocb *req)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct io_kiocb * | req |
| 1029 | spin_lock_irqsave( & completion_lock, flags) |
| 1035 | 删除链表项并重新初始化 |
| 1038 | 如果flags按位与has linked timeout 且opcode恒等于IORING_OP_LINK_TIMEOUT则 |
| 1040 | io_link_cancel_timeout(link) |
| 1041 | 否则 |
| 1042 | io_cqring_fill_event(link, - ECANCELED) |
| 1043 | __io_double_put_req(link) |
| 1045 | flags与等于has linked timeout 的反 |
| 1048 | io_commit_cqring(ctx) |
| 1049 | spin_unlock_irqrestore( & completion_lock, flags) |
| 1050 | io_cqring_ev_posted(ctx) |
| 名称 | 描述 |
|---|---|
| io_req_find_next |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |