Home
last modified time | relevance | path

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

/linux-5.19.10/lib/
Dtest_hash.c67 u32 (*hash_or)[33]; member
74 params->hash_or[1][0] |= params->h2 = __hash_32_generic(params->h0); in test_int__hash_32()
110 test_int_hash(struct kunit *test, unsigned long long h64, u32 hash_or[2][33]) in test_int_hash()
113 struct test_hash_params params = { &h64, (u32)h64, 0, 0, hash_or }; in test_int_hash()
116 hash_or[0][0] |= params.h1 = __hash_32(params.h0); in test_int_hash()
126 hash_or[0][k] |= params.h1 = hash_32(params.h0, k); in test_int_hash()
132 hash_or[1][k] |= params.h1 = hash_64(h64, k); in test_int_hash()
172 u32 hash_or[2][33] = { { 0, } }; in test_hash_or() local
196 test_int_hash(test, h64, hash_or); in test_hash_or()
200 KUNIT_EXPECT_EQ_MSG(test, hash_or[0][0], -1u, in test_hash_or()
[all …]