函数逻辑报告 |
Source Code:fs\io_uring.c |
Create Date:2022-07-29 10:54:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:io_req_defer_prep
函数原型:static int io_req_defer_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct io_kiocb * | req | |
| const struct io_uring_sqe * | sqe |
| 3094 | ret等于0 |
| 3097 | 当:opcode恒等于IORING_OP_NOP |
| 3098 | 退出 |
| 3099 | 当:opcode恒等于IORING_OP_READV |
| 3100 | 当:opcode恒等于IORING_OP_READ_FIXED |
| 3101 | ret等于io_read_prep(req, sqe, true) |
| 3102 | 退出 |
| 3103 | 当:opcode恒等于IORING_OP_WRITEV |
| 3104 | 当:opcode恒等于IORING_OP_WRITE_FIXED |
| 3105 | ret等于io_write_prep(req, sqe, true) |
| 3106 | 退出 |
| 3107 | 当:opcode恒等于IORING_OP_POLL_ADD |
| 3108 | ret等于io_poll_add_prep(req, sqe) |
| 3109 | 退出 |
| 3110 | 当:opcode恒等于IORING_OP_POLL_REMOVE |
| 3111 | ret等于io_poll_remove_prep(req, sqe) |
| 3112 | 退出 |
| 3113 | 当:opcode恒等于IORING_OP_FSYNC |
| 3114 | ret等于io_prep_fsync(req, sqe) |
| 3115 | 退出 |
| 3116 | 当:opcode恒等于IORING_OP_SYNC_FILE_RANGE |
| 3117 | ret等于io_prep_sfr(req, sqe) |
| 3118 | 退出 |
| 3119 | 当:opcode恒等于IORING_OP_SENDMSG |
| 3120 | ret等于io_sendmsg_prep(req, sqe) |
| 3121 | 退出 |
| 3122 | 当:opcode恒等于IORING_OP_RECVMSG |
| 3123 | ret等于io_recvmsg_prep(req, sqe) |
| 3124 | 退出 |
| 3125 | 当:opcode恒等于IORING_OP_CONNECT |
| 3126 | ret等于io_connect_prep(req, sqe) |
| 3127 | 退出 |
| 3128 | 当:opcode恒等于IORING_OP_TIMEOUT |
| 3129 | ret等于io_timeout_prep(req, sqe, false) |
| 3130 | 退出 |
| 3131 | 当:opcode恒等于IORING_OP_TIMEOUT_REMOVE |
| 3132 | ret等于io_timeout_remove_prep(req, sqe) |
| 3133 | 退出 |
| 3134 | 当:opcode恒等于IORING_OP_ASYNC_CANCEL |
| 3135 | ret等于io_async_cancel_prep(req, sqe) |
| 3136 | 退出 |
| 3137 | 当:opcode恒等于IORING_OP_LINK_TIMEOUT |
| 3138 | ret等于io_timeout_prep(req, sqe, true) |
| 3139 | 退出 |
| 3140 | 当:opcode恒等于IORING_OP_ACCEPT |
| 3141 | ret等于io_accept_prep(req, sqe) |
| 3142 | 退出 |
| 3143 | 默认 |
| 3144 | Print a one-time message (analogous to WARN_ONCE() et al):(warning conditions "io_uring: unhandled opcode %d\n", opcode) |
| 3147 | 退出 |
| 3150 | 返回:ret |
| 名称 | 描述 |
|---|---|
| io_req_defer | |
| io_submit_sqe |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |