函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:y userspace file descriptor functions

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

返回类型:__poll_t

参数:

类型参数名称
struct file *file
poll_table *wait
322  group等于 needed for tty driver, and maybe others
323  ret等于0
325  poll_wait(file, & read() on the notification file blocks on this waitq , wait)
326  加自旋锁
327  如果非rn true if the notify queue is empty, false otherwise ret等于Epoll event masks 按位或EPOLLRDNORM
329  自旋锁解锁
331  返回:ret