Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_poll_add_prep

Proto:static int io_poll_add_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
2723  poll = poll
2726  If Value for the false possibility is greater at compile time(flags & _context is polled ) Then Return -EINVAL
2728  If pointer to buffer or iovecs || prio for the request || ffset into file || uffer size or number of iovecs || dex into fixed buffers, if used Then Return -EINVAL
2730  If Not file Then Return -EBADF
2733  events = READ_ONCE(poll_events)
2734  events = demangle_poll(events) | EPOLLERR | EPOLLHUP
2735  Return 0
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe