函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-29 10:54:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_connect_prep

函数原型:static int io_connect_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)

返回类型:int

参数:

类型参数名称
struct io_kiocb *req
const struct io_uring_sqe *sqe
2431  conn等于connect
2432  io等于io
2434  如果此条件成立可能性小(为编译器优化)(flags & (_context is polled | SQ poll thread ))则返回:负EINVAL
2436  如果prio for the request uffer size or number of iovecs dex into fixed buffers, if used rw_flags则返回:负EINVAL
2439  addr等于u64_to_user_ptr(READ_ONCE(pointer to buffer or iovecs ))
2440  addr_len等于READ_ONCE(addr2)
2442  如果非io则返回:0
2445  返回:move_addr_to_kernel(addr, addr_len, & address)
调用者
名称描述
io_req_defer_prep
io_issue_sqe