函数逻辑报告 |
Source Code:fs\io_uring.c |
Create Date:2022-07-29 10:54:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get as many references to a file as we have IOs left in this submission,* assuming most submissions are for one file, or at least that each file* has more than one submission.
函数原型:static struct file *io_file_get(struct io_submit_state *state, int fd)
返回类型:struct file
参数:
类型 | 参数 | 名称 |
---|---|---|
struct io_submit_state * | state | |
int | fd |
1461 | 如果* File reference cache则 |
1467 | io_file_put(state) |
1469 | * File reference cache等于fget_many(fd, ios_left) |
1470 | 如果非* File reference cache则返回:NULL |
1475 | used_refs等于1 |
1476 | ios_left自减 |
1477 | 返回:* File reference cache |
名称 | 描述 |
---|---|
io_req_set_file |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |