Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wake_page_function

Proto:static int wake_page_function(wait_queue_entry_t *wait, unsigned mode, int sync, void *arg)

Type:int

Parameter:

TypeParameterName
wait_queue_entry_t *wait
unsignedmode
intsync
void *arg
1030  key = arg
1031  wait_page = 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, structwait_page_queue, wait)
1034  If page != page Then Return 0
1036  page_match = 1
1038  If bit_nr != bit_nr Then Return 0
1049  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return -1
1052  Return autoremove_wake_function(wait, mode, sync, key)