Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-28 09:49:22
Last Modify:2020-03-17 14:16:01 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hlock_class

Proto:static inline struct lock_class *hlock_class(struct held_lock *hlock)

Type:struct lock_class

Parameter:

TypeParameterName
struct held_lock *hlock
158  class_idx = class_idx
161  The "volatile" is due to gcc bugs ()
163  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then
167  DEBUG_LOCKS_WARN_ON(1)
168  Return NULL
175  Return lock_classes + class_idx
Caller
NameDescribe
print_lock
__lock_acquireThis gets called for every mutex_lock*()/spin_lock*() operation
reacquire_held_locks