函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-27 16:49:37
Last Modify:2020-03-17 22:19:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:swaps_poll

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

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *wait
2696  seq等于 needed for tty driver, and maybe others
2698  poll_wait(file, & proc_poll_wait, wait)
2700  如果poll_event不等于atomic_read( & Activity counter to indicate that a swapon or swapoff has occurred )则
2701  poll_event等于atomic_read( & Activity counter to indicate that a swapon or swapoff has occurred )
2702  返回:Epoll event masks 按位或EPOLLRDNORM按位或EPOLLERR按位或EPOLLPRI
2705  返回:Epoll event masks 按位或EPOLLRDNORM