函数逻辑报告 |
Source Code:fs\io_uring.c |
Create Date:2022-07-29 10:54:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:io_issue_sqe
函数原型:static int io_issue_sqe(struct io_kiocb *req, const struct io_uring_sqe *sqe, struct io_kiocb **nxt, bool force_nonblock)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct io_kiocb * | req | |
const struct io_uring_sqe * | sqe | |
struct io_kiocb ** | nxt | |
bool | force_nonblock |
3188 | 当:opcode恒等于IORING_OP_NOP |
3191 | 当:opcode恒等于IORING_OP_READV |
3192 | 当:opcode恒等于IORING_OP_READ_FIXED |
3193 | 如果sqe则 |
3194 | ret等于io_read_prep(req, sqe, force_nonblock) |
3198 | ret等于io_read(req, nxt, force_nonblock) |
3199 | 退出 |
3200 | 当:opcode恒等于IORING_OP_WRITEV |
3201 | 当:opcode恒等于IORING_OP_WRITE_FIXED |
3202 | 如果sqe则 |
3203 | ret等于io_write_prep(req, sqe, force_nonblock) |
3207 | ret等于io_write(req, nxt, force_nonblock) |
3208 | 退出 |
3209 | 当:opcode恒等于IORING_OP_FSYNC |
3217 | 当:opcode恒等于IORING_OP_POLL_ADD |
3225 | 当:opcode恒等于IORING_OP_POLL_REMOVE |
3226 | 如果sqe则 |
3231 | ret等于Find a running poll command that matches one specified in sqe->addr,* and remove it if found. |
3232 | 退出 |
3233 | 当:opcode恒等于IORING_OP_SYNC_FILE_RANGE |
3241 | 当:opcode恒等于IORING_OP_SENDMSG |
3249 | 当:opcode恒等于IORING_OP_RECVMSG |
3257 | 当:opcode恒等于IORING_OP_TIMEOUT |
3265 | 当:opcode恒等于IORING_OP_TIMEOUT_REMOVE |
3273 | 当:opcode恒等于IORING_OP_ACCEPT |
3281 | 当:opcode恒等于IORING_OP_CONNECT |
3289 | 当:opcode恒等于IORING_OP_ASYNC_CANCEL |
3297 | 默认 |
3305 | 如果flags按位与_context is polled 则 |
3306 | in_async等于io_wq_current_is_worker() |
3312 | 如果in_async则mutex_lock( & uring_lock) |
3321 | 返回:0 |
名称 | 描述 |
---|---|
io_wq_submit_work | |
__io_queue_sqe |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |