Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\eventpoll.c Create Date:2022-07-28 20:19:06
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 an epoll queue wrapper

Proto:static inline struct epitem *ep_item_from_epqueue(poll_table *p)

Type:struct epitem

Parameter:

TypeParameterName
poll_table *p
354  Return ({
354  __mptr = p
354  Do
354  When 0 cycle
354  __mptr - __builtin_offsetof(structep_pqueue, pt)
354  })->epi
Caller
NameDescribe
ep_ptable_queue_proc