Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:keyhashentry

Proto:static inline struct hlist_head *keyhashentry(const struct lock_class_key *key)

Type:struct hlist_head

Parameter:

TypeParameterName
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  Return lock_keys_hash + hash
Caller
NameDescribe
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.