函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ep_read_events_proc

函数原型:static __poll_t ep_read_events_proc(struct eventpoll *ep, struct list_head *head, void *priv)

返回类型:__poll_t

参数:

类型参数名称
struct eventpoll *ep
struct list_head *head
void *priv
887  depth等于priv
889  init_poll_funcptr( & pt, NULL)
890  depth自加
893  如果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.
894  返回:Epoll event masks 按位或EPOLLRDNORM
895  否则
901  __pm_relax(all only when ep->mtx is held )
902  删除链表项并重新初始化
906  返回:0