Searched refs:hash0 (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/ext4/ |
| H A D | hash.c | 105 __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()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_fast.c | 76 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_fillHashTableForCCtx() local 77 hashTable[hash0] = curr; in ZSTD_fillHashTableForCCtx() 219 size_t hash0; /* hash for ip0 */ in ZSTD_compressBlock_fast_noDict_generic() local 260 hash0 = ZSTD_hashPtr(ip0, hlog, mls); in ZSTD_compressBlock_fast_noDict_generic() 263 matchIdx = hashTable[hash0]; in ZSTD_compressBlock_fast_noDict_generic() 271 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic() 304 hash0 = hash1; in ZSTD_compressBlock_fast_noDict_generic() 314 hashTable[hash0] = current0; in ZSTD_compressBlock_fast_noDict_generic() 331 hash0 = hash1; in ZSTD_compressBlock_fast_noDict_generic() 543 size_t hash0 = ZSTD_hashPtr(ip0, hlog, mls); in ZSTD_compressBlock_fast_dictMatchState_generic() local [all …]
|