Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\wait.c Create Date:2022-07-28 09:40:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Same as __wake_up but called with the spinlock in wait_queue_head_t held.

Proto:void __wake_up_locked(struct wait_queue_head *wq_head, unsigned int mode, int nr)

Type:void

Parameter:

TypeParameterName
struct wait_queue_head *wq_head
unsigned intmode
intnr
151  The core wakeup function
Caller
NameDescribe
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