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_setup_async_rw

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

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
ssize_tio_size
struct iovec *iovec
struct iovec *fast_iov
struct iov_iter *iter
1784  If opcode == IORING_OP_READ_FIXED || opcode == IORING_OP_WRITE_FIXED Then Return 0
1787  If Not io Then
1788  If io_alloc_async_ctx(req) Then Return -ENOMEM
1791  io_req_map_rw(req, io_size, iovec, fast_iov, iter)
1793  Return 0
Caller
NameDescribe
io_read
io_write