Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\exit.c Create Date:2022-07-28 09:03:36
Last Modify:2020-03-17 11:17:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:child_wait_callback

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

Type:int

Parameter:

TypeParameterName
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  If Not eligible_pid(wo, p) Then Return 0
1407  If wo_flags & Don't wait on children of other threads in this group && private != Recipient of SIGCHLD, wait4() reports: Then Return 0
1410  Return default_wake_function(wait, mode, sync, key)