函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:are code path, only used when EPOLL_CTL_MOD removes a wakeup source

函数原型:static noinline void ep_destroy_wakeup_source(struct epitem *epi)

返回类型:void

参数:

类型参数名称
struct epitem *epi
1459  ws等于all only when ep->mtx is held
1461  RCU_INIT_POINTER() - initialize an RCU protected pointer*@p: The pointer to be initialized.*@v: The value to initialized the pointer to.* Initialize an RCU-protected pointer in special cases where readers(wakeup_source used when EPOLLWAKEUP is set , NULL)
1468  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
1469  wakeup_source_unregister(ws)
调用者
名称描述
ep_modifyModify the interest event mask by dropping an event if the new mask* has a match in the current file status. Must be called with "mtx" held.