Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The hash key of the lock dependency chains is a hash itself too:* it's a hash of all locks taken up to that lock, including that lock.* It's a 64-bit hash, because it's important for the keys to be* unique.

Proto:static inline u64 iterate_chain_key(u64 key, unsigned int idx)

Type:u64

Parameter:

TypeParameterName
u64key
unsigned intidx
366  k0 = key , k1 = key >> 32
370  Return k0 | k1 << 32
Caller
NameDescribe
__lock_acquireThis gets called for every mutex_lock*()/spin_lock*() operation