Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Register a dynamically allocated key.

Proto:void lockdep_register_key(struct lock_class_key *key)

Type:void

Parameter:

TypeParameterName
struct lock_class_key *key
1119  If WARN_ON_ONCE(Is this the address of a static object:) Then Return
1121  hash_head = keyhashentry(key)
1123  raw_local_irq_save(flags)
1124  If Not graph_lock() Then Go to restore_irqs
1127  If WARN_ON_ONCE(k == key) Then Go to out_unlock
1130  adds the specified element to the specified hlist
1131  out_unlock :
1132  graph_unlock()
1133  restore_irqs :
1134  raw_local_irq_restore(flags)