函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_uring_poll

函数原型:static __poll_t io_uring_poll(struct file *file, poll_table *wait)

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *wait
4971  ctx等于 needed for tty driver, and maybe others
4972  mask等于0
4974  poll_wait(file, & cq_wait, wait)
4979  smp_rmb()
4980  如果READ_ONCE(tail)减cached_sq_head不等于Ring sizes (constant, power of 2) mask或等于EPOLLOUT按位或EPOLLWRNORM
4983  如果io_cqring_events(ctx, false)则mask或等于Epoll event masks 按位或EPOLLRDNORM
4986  返回:mask