Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_connect_prep

Proto:static int io_connect_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
const struct io_uring_sqe *sqe
2431  conn = connect
2432  io = io
2434  If Value for the false possibility is greater at compile time(flags & (_context is polled | SQ poll thread )) Then Return -EINVAL
2436  If prio for the request || uffer size or number of iovecs || dex into fixed buffers, if used || rw_flags Then Return -EINVAL
2439  addr = u64_to_user_ptr(READ_ONCE(pointer to buffer or iovecs ))
2440  addr_len = READ_ONCE(addr2)
2442  If Not io Then Return 0
2445  Return move_addr_to_kernel(addr, addr_len, & address)
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe