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_recvmsg_prep

Proto:static int io_recvmsg_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
2260  sr = sr_msg
2261  io = io
2263  msg_flags = READ_ONCE(msg_flags)
2264  msg = u64_to_user_ptr(READ_ONCE(pointer to buffer or iovecs ))
2267  If compat Then msg_flags |= This message needs 32 bit fixups
2271  If Not io Then Return 0
2274  iov = fast_iov
2275  Return recvmsg_copy_msghdr( & msg, msg, msg_flags, & uaddr, & iov)
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe