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_write_prep

Proto:static int io_write_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
1890  ret = io_prep_rw(req, sqe, force_nonblock)
1891  If ret Then Return ret
1894  If Value for the false possibility is greater at compile time(!(f_mode & le is open for writing )) Then Return -EBADF
1897  If Not io Then Return 0
1900  io = io
1901  iov = fast_iov
1902  io = NULL
1903  ret = io_import_iovec(WRITE, req, & iov, & iter)
1904  io = io
1905  If ret < 0 Then Return ret
1908  io_req_map_rw(req, ret, iov, fast_iov, & iter)
1909  Return 0
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe