函数逻辑报告 |
Source Code:fs\aio.c |
Create Date:2022-07-29 10:53:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aio_get_req* Allocate a slot for an aio request.* Returns NULL if no requests are free.* The refcount is initialized to 2 - one for the async op completion,* one for the synchronous code that does this.
函数原型:static inline struct aio_kiocb *aio_get_req(struct kioctx *ctx)
返回类型:struct aio_kiocb
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kioctx * | ctx |
| 1031 | 如果此条件成立可能性小(为编译器优化)(!req)则返回:NULL |
| 1034 | 如果此条件成立可能性小(为编译器优化)(!get_reqs_available(ctx))则 |
| 1036 | 返回:NULL |
| 1039 | percpu计数引用增 |
| 1041 | 初始化链表头 |
| 1044 | 返回:req |
| 名称 | 描述 |
|---|---|
| io_submit_one |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |