Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__wake_up_common_lock

Proto:static void __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, int wake_flags, void *key)

Type:void

Parameter:

TypeParameterName
struct wait_queue_head *wq_head
unsigned intmode
intnr_exclusive
intwake_flags
void *key
116  flags = 0
117  private = NULL
118  func = NULL
119  Initialization list head
121  Do
122  spin_lock_irqsave( & lock, flags)
123  nr_exclusive = The core wakeup function
125  spin_unlock_irqrestore( & lock, flags)
126  When flags & WQ_FLAG_BOOKMARK cycle
Caller
NameDescribe
__wake_up__wake_up - wake up threads blocked on a waitqueue
__wake_up_sync_key__wake_up_sync_key - wake up threads blocked on a waitqueue