函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static inline u64 iterate_chain_key(u64 key, unsigned int idx)

返回类型:u64

参数:

类型参数名称
u64key
unsigned intidx
366  k0等于key, k1等于key右移32位
370  返回:k0按位或k1左移32位
调用者
名称描述
__lock_acquireThis gets called for every mutex_lock*()/spin_lock*() operation