函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-27 10:49:43
Last Modify:2020-03-17 14:16:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hlock_class

函数原型:static inline struct lock_class *hlock_class(struct held_lock *hlock)

返回类型:struct lock_class

参数:

类型参数名称
struct held_lock *hlock
158  class_idx等于class_idx
161  The "volatile" is due to gcc bugs ()
163  如果非st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
167  DEBUG_LOCKS_WARN_ON(1)
168  返回:NULL
175  返回:lock_classesclass_idx
调用者
名称描述
print_lock
__lock_acquireThis gets called for every mutex_lock*()/spin_lock*() operation
reacquire_held_locks