函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\exit.c Create Date:2022-07-27 10:03:18
Last Modify:2020-03-17 11:17:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:child_wait_callback

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

返回类型:int

参数:

类型参数名称
wait_queue_entry_t *wait
unsignedmode
intsync
void *key
1400  wo等于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_opts, child_wait)
1402  p等于key
1404  如果非eligible_pid(wo, p)则返回:0
1407  如果wo_flags按位与Don't wait on children of other threads in this group private不等于 Recipient of SIGCHLD, wait4() reports: 则返回:0
1410  返回:default_wake_function(wait, mode, sync, key)