Home
last modified time | relevance | path

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

/linux-4.19.296/lib/
Dxxhash.c176 uint64_t h64; in xxh64() local
196 h64 = xxh_rotl64(v1, 1) + xxh_rotl64(v2, 7) + in xxh64()
198 h64 = xxh64_merge_round(h64, v1); in xxh64()
199 h64 = xxh64_merge_round(h64, v2); in xxh64()
200 h64 = xxh64_merge_round(h64, v3); in xxh64()
201 h64 = xxh64_merge_round(h64, v4); in xxh64()
204 h64 = seed + PRIME64_5; in xxh64()
207 h64 += (uint64_t)len; in xxh64()
212 h64 ^= k1; in xxh64()
213 h64 = xxh_rotl64(h64, 27) * PRIME64_1 + PRIME64_4; in xxh64()
[all …]
Dtest_hash.c68 test_int_hash(unsigned long long h64, u32 hash_or[2][33]) in test_int_hash() argument
71 u32 h0 = (u32)h64, h1, h2; in test_int_hash()
113 hash_or[1][k] |= h1 = hash_64(h64, k); in test_int_hash()
115 pr_err("hash_64(%#llx, %d) = %#x > %#x", h64, k, h1, m); in test_int_hash()
119 h2 = hash_64_generic(h64, k); in test_int_hash()
123 "= %#x", h64, k, h1, h2); in test_int_hash()
129 h64, k, h1, m); in test_int_hash()
148 unsigned long long h64 = 0; in test_hash_init() local
177 h64 = h64 << 32 | h0; /* For use with hash_64 */ in test_hash_init()
178 if (!test_int_hash(h64, hash_or)) in test_hash_init()