Home
last modified time | relevance | path

Searched refs:hash0 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dhash.c105 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_unsigned() local
109 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373)); in dx_hack_hash_unsigned()
113 hash1 = hash0; in dx_hack_hash_unsigned()
114 hash0 = hash; in dx_hack_hash_unsigned()
116 return hash0 << 1; in dx_hack_hash_unsigned()
121 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; in dx_hack_hash_signed() local
125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373)); in dx_hack_hash_signed()
129 hash1 = hash0; in dx_hack_hash_signed()
130 hash0 = hash; in dx_hack_hash_signed()
132 return hash0 << 1; in dx_hack_hash_signed()
/openbmc/linux/lib/zstd/compress/
H A Dzstd_fast.c33 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_fillHashTable() local
34 hashTable[hash0] = curr; in ZSTD_fillHashTable()
122 size_t hash0; /* hash for ip0 */ in ZSTD_compressBlock_fast_noDict_generic() local
163 hash0 = ZSTD_hashPtr(ip0, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic()
166 idx = hashTable[hash0]; in ZSTD_compressBlock_fast_noDict_generic()
174 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic()
205 hash0 = hash1; in ZSTD_compressBlock_fast_noDict_generic()
215 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic()
234 hash0 = hash1; in ZSTD_compressBlock_fast_noDict_generic()