函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_accept_prep

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

返回类型:int

参数:

类型参数名称
struct io_kiocb *req
const struct io_uring_sqe *sqe
2358  accept等于accept
2360  如果此条件成立可能性小(为编译器优化)(flags & (_context is polled | SQ poll thread ))则返回:负EINVAL
2362  如果prio for the request uffer size or number of iovecs dex into fixed buffers, if used 则返回:负EINVAL
2365  addr等于u64_to_user_ptr(READ_ONCE(pointer to buffer or iovecs ))
2366  addr_len等于u64_to_user_ptr(READ_ONCE(addr2))
2367  flags等于READ_ONCE(accept_flags)
2368  返回:0
调用者
名称描述
io_req_defer_prep
io_issue_sqe