Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_accept_prep

Proto:static int io_accept_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
const struct io_uring_sqe *sqe
2358  accept = accept
2360  If Value for the false possibility is greater at compile time(flags & (_context is polled | SQ poll thread )) Then Return -EINVAL
2362  If prio for the request || uffer size or number of iovecs || dex into fixed buffers, if used Then Return -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  Return 0
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe