函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Same as __wake_up but called with the spinlock in wait_queue_head_t held.

函数原型:void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr)

返回类型:void

参数:

类型参数名称
struct wait_queue_head *wq_head
unsigned intmode
intnr
151  The core wakeup function
调用者
名称描述
completemplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.
complete_allmplete_all: - signals all threads waiting on this completion*@x: holds the state of this particular completion* This will wake up all threads waiting on this particular completion event