函数逻辑报告 |
Source Code:fs\aio.c |
Create Date:2022-07-29 10:53:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lookup_ioctx
函数原型:static struct kioctx *lookup_ioctx(unsigned long ctx_id)
返回类型:struct kioctx
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ctx_id |
1055 | 如果Careful: we have to cast the result to the type of the pointer* for sign reasons(id, & kernel internal index number )则返回:NULL |
1059 | table等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(ioctx_table) |
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) |
1065 | ctx等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(table[id]) |
1070 | out : |
1072 | 返回:ret |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |