函数逻辑报告

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

函数名称:partial hash update function. Assume roughly 4 bits per character

函数原型:static inline unsigned long partial_name_hash(unsigned long c, unsigned long prevhash)

返回类型:unsigned long

参数:

类型参数名称
unsigned longc
unsigned longprevhash
45  返回:prevhashc左移4位的值加c右移4位的值的和乘11
调用者
名称描述
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.