函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__wake_up_common_lock

函数原型:static void __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, int wake_flags, void *key)

返回类型:void

参数:

类型参数名称
struct wait_queue_head *wq_head
unsigned intmode
intnr_exclusive
intwake_flags
void *key
116  flags等于0
117  private = NULL
118  func = NULL
119  初始化链表头
121  循环
122  spin_lock_irqsave( & lock, flags)
123  nr_exclusive等于The core wakeup function
125  spin_unlock_irqrestore( & lock, flags)
126 flags按位与WQ_FLAG_BOOKMARK循环
调用者
名称描述
__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