函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apm_32.c Create Date:2022-07-27 09:22:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_poll

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

返回类型:__poll_t

参数:

类型参数名称
struct file *fp
poll_table *wait
1509  as等于 needed for tty driver, and maybe others
1510  如果check_apm_user(as, "poll")则返回:0
1512  poll_wait(fp, & apm_waitqueue, wait)
1513  如果非queue_empty(as)则返回:Epoll event masks 按位或EPOLLRDNORM
1515  返回:0