函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-27 15:24:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:wake_page_function

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

返回类型:int

参数:

类型参数名称
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  如果page不等于page则返回:0
1036  page_match等于1
1038  如果bit_nr不等于bit_nr则返回:0
1049  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:负1
1052  返回:autoremove_wake_function(wait, mode, sync, key)