Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_read_prep

Proto:static int io_read_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe, bool force_nonblock)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
const struct io_uring_sqe *sqe
boolforce_nonblock
1803  ret = io_prep_rw(req, sqe, force_nonblock)
1804  If ret Then Return ret
1807  If Value for the false possibility is greater at compile time(!(f_mode & le is open for reading )) Then Return -EBADF
1810  If Not io Then Return 0
1813  io = io
1814  iov = fast_iov
1815  io = NULL
1816  ret = io_import_iovec(generic data direction definitions , req, & iov, & iter)
1817  io = io
1818  If ret < 0 Then Return ret
1821  io_req_map_rw(req, ret, iov, fast_iov, & iter)
1822  Return 0
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe