Function report |
Source Code:fs\aio.c |
Create Date:2022-07-28 20:21:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lookup_ioctx
Proto:static struct kioctx *lookup_ioctx(unsigned long ctx_id)
Type:struct kioctx
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ctx_id |
1055 | If Get a simple variable from user space(id, & kernel internal index number ) Then Return NULL |
1064 | id = array_index_nospec - sanitize an array index after a bounds check* For a code sequence like:* if (index < size) {* index = array_index_nospec(index, size);* val = array[index];* }* (id, nr) |
1070 | out : |
1072 | Return ret |
Name | Describe |
---|---|
SYSCALL_DEFINE1 | 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_DEFINE3 | sys_io_submit:* Queue the nr iocbs pointed to by iocbpp for processing |
COMPAT_SYSCALL_DEFINE3 | |
SYSCALL_DEFINE3 | sys_io_cancel:* Attempts to cancel an iocb previously passed to io_submit. If* the operation is successfully cancelled, the resulting event is* copied into the memory pointed to by result without being placed* into the completion queue and 0 is returned |
do_io_getevents |
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 |