Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Get the "struct epitem" from a wait queue pointer

Proto:static inline struct epitem *ep_item_from_wait(wait_queue_entry_t *p)

Type:struct epitem

Parameter:

TypeParameterName
wait_queue_entry_t *p
348  Return ({
348  __mptr = p
348  Do
348  When 0 cycle
348  __mptr - __builtin_offsetof(structeppoll_entry, wait)
348  })->base
Caller
NameDescribe
ep_poll_callbackThis is the callback that is passed to the wait queue wakeup* mechanism