函数逻辑报告

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

函数名称:Must be called with lock->wait_lock held.

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

返回类型:void

参数:

类型参数名称
struct mutex *lock
struct mutex_waiter *waiter
32  memset(waiter, kernel/mutexes *********, waiter的长度)
33  magic等于waiter
34  初始化链表头