函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-29 10:54:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_setup_async_rw

函数原型: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)

返回类型:int

参数:

类型参数名称
struct io_kiocb *req
ssize_tio_size
struct iovec *iovec
struct iovec *fast_iov
struct iov_iter *iter
1784  如果opcode恒等于IORING_OP_READ_FIXEDopcode恒等于IORING_OP_WRITE_FIXED则返回:0
1787  如果非io
1788  如果io_alloc_async_ctx(req)则返回:负ENOMEM
1791  io_req_map_rw(req, io_size, iovec, fast_iov, iter)
1793  返回:0
调用者
名称描述
io_read
io_write