函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\mutex-debug.c Create Date:2022-07-27 10:49:10
Last Modify:2022-05-22 15:17:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:debug_mutex_wake_waiter

函数原型:void debug_mutex_wake_waiter(struct mutex *lock, struct mutex_waiter *waiter)

返回类型:void

参数:

类型参数名称
struct mutex *lock
struct mutex_waiter *waiter
39  lockdep_assert_held( & wait_lock)
40  DEBUG_LOCKS_WARN_ON(链表为空)
41  DEBUG_LOCKS_WARN_ON(magic != waiter)
42  DEBUG_LOCKS_WARN_ON(链表为空)
调用者
名称描述
__mutex_unlock_slowpath
__ww_mutex_dieWait-Die; wake a younger waiter context (when locks held) such that it can* die.* Among waiters with context, only the first one can have other locks acquired* already (ctx->acquired > 0), because __ww_mutex_add_waiter() and