Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-28 15:19:12
Last Modify:2020-03-17 22:19:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:swaps_poll

Proto:static __poll_t swaps_poll(struct file *file, poll_table *wait)

Type:__poll_t

Parameter:

TypeParameterName
struct file *file
poll_table *wait
2696  seq = needed for tty driver, and maybe others
2698  poll_wait(file, & proc_poll_wait, wait)
2700  If poll_event != atomic_read( & Activity counter to indicate that a swapon or swapoff has occurred ) Then
2701  poll_event = atomic_read( & Activity counter to indicate that a swapon or swapoff has occurred )
2702  Return Epoll event masks | EPOLLRDNORM | EPOLLERR | EPOLLPRI
2705  Return Epoll event masks | EPOLLRDNORM