Lines Matching refs:hash_or
67 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()
202 hash_or[0][0], -1u); in test_hash_or()
205 KUNIT_EXPECT_EQ_MSG(test, hash_or[1][0], -1u, in test_hash_or()
207 hash_or[1][0], -1u); in test_hash_or()
215 KUNIT_EXPECT_EQ_MSG(test, hash_or[0][i], m, in test_hash_or()
217 i, hash_or[0][i], m); in test_hash_or()
218 KUNIT_EXPECT_EQ_MSG(test, hash_or[1][i], m, in test_hash_or()
220 i, hash_or[1][i], m); in test_hash_or()