Home
last modified time | relevance | path

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

/linux-6.15/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c32 const struct xdr_netobj *expected_result; member
58 derivedkey.len = param->expected_result->len; in kdf_case()
67 memcmp(param->expected_result->data, in kdf_case()
115 memcmp(param->expected_result->data, in checksum_case()
314 param->expected_result->len * 8, result); in rfc3961_nfold_case()
318 memcmp(param->expected_result->data, in rfc3961_nfold_case()
570 param->expected_result->len, buf.len, in rfc3962_encrypt_case()
573 memcmp(param->expected_result->data, in rfc3962_encrypt_case()
1198 memcmp(param->expected_result->data, in rfc6803_encrypt_case()
1691 memcmp(param->expected_result->data, in rfc8009_encrypt_case()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Dlink-selection.c182 bool expected_result; member
190 .expected_result = false,
199 .expected_result = true,
208 .expected_result = false,
217 .expected_result = true,
226 .expected_result = true,
235 .expected_result = true,
244 .expected_result = false,
289 KUNIT_EXPECT_EQ(test, result, params->expected_result); in test_iwl_mld_channel_load_allows_emlsr()
/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_atomic_state_test.c23 int expected_result; member
255 KUNIT_ASSERT_EQ(test, ret, param->expected_result); in drm_test_check_in_clone_mode()
295 KUNIT_ASSERT_EQ(test, ret, param->expected_result); in drm_test_check_valid_clones()
317 .expected_result = true,
322 .expected_result = false,
330 .expected_result = 0,
336 .expected_result = 0,
341 .expected_result = -EINVAL,
H A Ddrm_connector_test.c1101 int expected_result; member
1108 .expected_result = _result, \
1153 KUNIT_EXPECT_EQ(test, ret, params->expected_result); in drm_test_connector_hdmi_init_formats_yuv420_allowed()
/linux-6.15/lib/math/
H A Dtest_mul_u64_u64_div_u64.c76 u64 expected_result = test_values[i].result; in test_init() local
79 if (result != expected_result) { in test_init()
81 pr_err("ERROR: expected result: %016llx\n", expected_result); in test_init()
/linux-6.15/lib/math/tests/
H A Dint_log_kunit.c7 unsigned int expected_result; member
48 KUNIT_EXPECT_EQ(test, tc->expected_result, intlog2(tc->value)); in intlog2_test()
57 KUNIT_EXPECT_EQ(test, tc->expected_result, intlog10(tc->value)); in intlog10_test()
H A Dint_sqrt_kunit.c11 unsigned long expected_result; member
50 KUNIT_EXPECT_EQ(test, tc->expected_result, int_sqrt(tc->x)); in int_sqrt_test()
H A Dint_pow_kunit.c9 u64 expected_result; member
36 KUNIT_EXPECT_EQ(test, tc->expected_result, int_pow(tc->base, tc->exponent)); in int_pow_test()
H A Dgcd_kunit.c10 unsigned long expected_result; member
39 KUNIT_EXPECT_EQ(test, tc->expected_result, gcd(tc->val1, tc->val2)); in gcd_test()
/linux-6.15/samples/kfifo/
H A Dinttype-example.c45 static const int expected_result[FIFO_SIZE] = { variable
92 if (i != expected_result[j++]) { in testfunc()
97 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
H A Drecord-example.c56 static const char *expected_result[] = { variable
106 if (strcmp(buf, expected_result[i++])) { in testfunc()
111 if (i != ARRAY_SIZE(expected_result)) { in testfunc()
H A Dbytestream-example.c45 static const unsigned char expected_result[FIFO_SIZE] = { variable
99 if (i != expected_result[j++]) { in testfunc()
104 if (j != ARRAY_SIZE(expected_result)) { in testfunc()
/linux-6.15/tools/testing/selftests/x86/
H A Damx.c153 enum expected_result { FAIL_EXPECTED, SUCCESS_EXPECTED }; enum
166 static void validate_req_xcomp_perm(enum expected_result exp) in validate_req_xcomp_perm()
203 static void validate_xcomp_perm(enum expected_result exp) in validate_xcomp_perm()
241 static void setup_altstack(void *addr, unsigned long size, enum expected_result exp) in setup_altstack()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsock_addr.c373 } expected_result; member
2613 test->expected_result == LOAD_REJECT || in test_sock_addr()
2614 test->expected_result == ATTACH_REJECT); in test_sock_addr()
2645 if (test->expected_result == SYSCALL_EPERM) in test_sock_addr()
2647 else if (test->expected_result == SYSCALL_ENOTSUPP) in test_sock_addr()
2649 else if (test->expected_result == SUCCESS) in test_sock_addr()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_i2c_hw.c445 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() argument
458 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result()
/linux-6.15/drivers/of/
H A Dunittest.c3665 .expected_result = expected, \
3673 int expected_result; member
3797 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base()
3870 if (ret != info->expected_result) { in overlay_data_apply()
3872 info->expected_result, ret, overlay_name); in overlay_data_apply()
/linux-6.15/drivers/platform/chrome/
H A Dcros_ec_proto_test.c2528 int expected_result; in cros_ec_proto_test_get_sensor_count_legacy() member
2558 KUNIT_EXPECT_EQ(test, ret, test_data[i].expected_result); in cros_ec_proto_test_get_sensor_count_legacy()