Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_sendmsg_prep

Proto:static int io_sendmsg_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
2163  sr = sr_msg
2164  io = io
2166  msg_flags = READ_ONCE(msg_flags)
2167  msg = u64_to_user_ptr(READ_ONCE(pointer to buffer or iovecs ))
2170  If compat Then msg_flags |= This message needs 32 bit fixups
2174  If Not io Then Return 0
2177  iov = fast_iov
2178  Return sendmsg_copy_msghdr( & msg, msg, msg_flags, & iov)
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe