函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_poll_add_prep

函数原型:static int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)

返回类型:int

参数:

类型参数名称
struct io_kiocb *req
const struct io_uring_sqe *sqe
2723  poll等于poll
2726  如果此条件成立可能性小(为编译器优化)(flags & _context is polled )则返回:负EINVAL
2728  如果pointer to buffer or iovecs prio for the request ffset into file uffer size or number of iovecs dex into fixed buffers, if used 则返回:负EINVAL
2730  如果非file则返回:负EBADF
2733  events等于READ_ONCE(poll_events)
2734  events等于demangle_poll(events)按位或EPOLLERR按位或EPOLLHUP
2735  返回:0
调用者
名称描述
io_req_defer_prep
io_issue_sqe