| Function report | 
| Source Code: fs\aio.c | Create Date:2022-07-28 20:21:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:SYSCALL_DEFINE1(io_destroy, aio_context_t, ctx)
Type:
Parameter:Nothing
| 1383 | ioctx = lookup_ioctx(ctx) | 
| 1384 | If Value is more likely to compile time(NULL != ioctx) Then | 
| 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. | 
| 1405 | Return ret | 
| 1407 | pr_debug("EINVAL: invalid context id\n") | 
| 1408 | Return -EINVAL | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |