Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:are code path, only used when EPOLL_CTL_MOD removes a wakeup source

Proto:static noinline void ep_destroy_wakeup_source(struct epitem *epi)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
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.