Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-28 20:07:01
Last Modify:2020-03-18 10:25:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:poll_get_entry

Proto:static struct poll_table_entry *poll_get_entry(struct poll_wqueues *p)

Type:struct poll_table_entry

Parameter:

TypeParameterName
struct poll_wqueues *p
162  table = table
164  If inline_index < N_INLINE_POLL_ENTRIES Then Return inline_entries + inline_index++
167  If Not table || POLL_TABLE_FULL(table) Then
170  new_table = __get_free_page(GFP_KERNEL)
171  If Not new_table Then
172  error = -ENOMEM
173  Return NULL
175  entry = entries
176  next = table
177  table = new_table
178  table = new_table
181  Return entry++
Caller
NameDescribe
__pollwaitOk, Peter made a complicated, but straightforward multiple_wait() function