Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apm_32.c Create Date:2022-07-28 08:22:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_poll

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

Type:__poll_t

Parameter:

TypeParameterName
struct file *fp
poll_table *wait
1509  as = needed for tty driver, and maybe others
1510  If check_apm_user(as, "poll") Then Return 0
1512  poll_wait(fp, & apm_waitqueue, wait)
1513  If Not queue_empty(as) Then Return Epoll event masks | EPOLLRDNORM
1515  Return 0