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_req_map_rw

Proto:static void io_req_map_rw(struct io_kiocb *req, ssize_t io_size, struct iovec *iovec, struct iovec *fast_iov, struct iov_iter *iter)

Type:void

Parameter:

TypeParameterName
struct io_kiocb *req
ssize_tio_size
struct iovec *iovec
struct iovec *fast_iov
struct iov_iter *iter
1764  nr_segs = nr_segs
1765  size = io_size
1766  iov = iovec
1767  If Not iov Then
1768  iov = fast_iov
1769  memcpy(iov, fast_iov, size of iovec * nr_segs)
Caller
NameDescribe
io_setup_async_rw
io_read_prep
io_write_prep