函数逻辑报告 |
Source Code:fs\aio.c |
Create Date:2022-07-29 10:53:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sys_io_destroy:* Destroy the aio_context specified. May cancel any outstanding * AIOs and block on completion. Will fail with -ENOSYS if not* implemented. May fail with -EINVAL if the context pointed to* is invalid.
函数原型:SYSCALL_DEFINE1(io_destroy, aio_context_t, ctx)
返回类型:
参数:无
1383 | ioctx等于lookup_ioctx(ctx) |
1384 | 如果此条件成立可能性大(为编译器优化)(NULL != ioctx)则 |
1388 | init_completion( & comp) |
1389 | atomic_set( & count, 1) |
1395 | 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. |
1396 | percpu计数引用减 |
1405 | 返回:ret |
1407 | pr_debug("EINVAL: invalid context id\n") |
1408 | 返回:负EINVAL |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |