Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cwt_wakefn

Proto:static int cwt_wakefn(wait_queue_entry_t *wait, unsigned mode, int sync, void *key)

Type:int

Parameter:

TypeParameterName
wait_queue_entry_t *wait
unsignedmode
intsync
void *key
3073  cwait = 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, structcwt_wait, wait)
3075  If work != key Then Return 0
3077  Return autoremove_wake_function(wait, mode, sync, key)