Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\stringhash.h Create Date:2022-07-28 05:41:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Finally: cut down the number of bits to a int value (and try to avoid* losing bits). This also has the property (wanted by the dcache)* that the msbits make a good hash table index.

Proto:static inline unsigned int end_name_hash(unsigned long hash)

Type:unsigned int

Parameter:

TypeParameterName
unsigned longhash
55  Return hash_long(hash, 32)
Caller
NameDescribe
full_name_hashReturn the hash of a string of known length
hashlen_stringReturn the "hash_len" (hash and length) of a null-terminated string
hash_nameWe know there's a real path component here of at least* one character.