函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-29 10:36:59
Last Modify:2020-03-18 10:25:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Ok, Peter made a complicated, but straightforward multiple_wait() function

函数原型:static void __pollwait(struct file *filp, wait_queue_head_t *wait_address, poll_table *p)

返回类型:void

参数:

类型参数名称
struct file *filp
wait_queue_head_t *wait_address
poll_table *p
224  pwq等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(p, structpoll_wqueues, pt)
225  entry等于poll_get_entry(pwq)
226  如果非entry则返回
228  filp等于get_file(filp)
229  wait_address等于wait_address
230  key等于_key
231  init_waitqueue_func_entry( & wait, pollwake)
232  private等于pwq
233  add_wait_queue(wait_address, & wait)