函数逻辑报告 |
Source Code:fs\aio.c |
Create Date:2022-07-29 10:53:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sys_io_setup:* Create an aio_context capable of receiving at least nr_events
函数原型:SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp)
返回类型:
参数:无
1318 | ret等于Careful: we have to cast the result to the type of the pointer* for sign reasons(ctx, ctxp) |
1319 | 如果此条件成立可能性小(为编译器优化)(ret)则转到:out |
1323 | 如果此条件成立可能性小(为编译器优化)(ctx || nr_events == 0)则 |
1331 | 如果非是错误则 |
1333 | 如果ret则kill_ioctx* Cancels all outstanding aio requests on an aio context. Used* when the processes owning a context have all exited to encourage* the rapid destruction of the kioctx. |
1335 | percpu计数引用减 |
1338 | out : |
1339 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |