Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ep_read_events_proc

Proto:static __poll_t ep_read_events_proc(struct eventpoll *ep, struct list_head *head, void *priv)

Type:__poll_t

Parameter:

TypeParameterName
struct eventpoll *ep
struct list_head *head
void *priv
887  depth = priv
889  init_poll_funcptr( & pt, NULL)
890  depth++
893  If Differs from ep_eventpoll_poll() in that internal callers already have* the ep->mtx so we need to start from depth=1, such that mutex_lock_nested()* is correctly annotated. Then
894  Return Epoll event masks | EPOLLRDNORM
895  Else
901  __pm_relax(all only when ep->mtx is held )
902  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
906  Return 0