函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:keyhashentry

函数原型:static inline struct hlist_head *keyhashentry(const struct lock_class_key *key)

返回类型:struct hlist_head

参数:

类型参数名称
const struct lock_class_key *key
1107  hash等于hash_long((uintptr_t)key, All data structures here are protected by the global debug_lock.* nr_lock_classes is the number of elements of lock_classes[] that is* in use.)
1109  返回:lock_keys_hashhash
调用者
名称描述
lockdep_register_keyRegister a dynamically allocated key.
is_dynamic_keyCheck whether a key has been registered as a dynamic key.
lockdep_unregister_keyUnregister a dynamically allocated key.