函数逻辑报告

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

函数名称:pollwake

函数原型:static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key)

返回类型:int

参数:

类型参数名称
wait_queue_entry_t *wait
unsignedmode
intsync
void *key
214  entry等于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.(wait, structpoll_table_entry, wait)
215  如果key且非key_to_poll(key)按位与key的值则返回:0
217  返回:__pollwake(wait, mode, sync, key)