函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\stringhash.h Create Date:2022-07-27 06:43:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static inline unsigned int end_name_hash(unsigned long hash)

返回类型:unsigned int

参数:

类型参数名称
unsigned longhash
55  返回:hash_long(hash, 32)
调用者
名称描述
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.