Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\proc_namespace.c Create Date:2022-07-28 20:15:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mounts_poll

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

Type:__poll_t

Parameter:

TypeParameterName
struct file *file
poll_table *wait
23  m = needed for tty driver, and maybe others
24  p = private
25  ns = ns
26  res = Epoll event masks | EPOLLRDNORM
29  poll_wait(file, & poll, wait)
31  event = READ_ONCE(event)
32  If poll_event != event Then
33  poll_event = event
34  res |= EPOLLERR | EPOLLPRI
37  Return res