Home
last modified time | relevance | path

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

/linux-6.6.21/net/sunrpc/auth_gss/
Dgss_krb5_test.c32 const struct xdr_netobj *expected_result; member
55 derivedkey.data = kunit_kzalloc(test, param->expected_result->len, in kdf_case()
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()
236 .expected_result = &nfold_test1_expected_result,
242 .expected_result = &nfold_test2_expected_result,
248 .expected_result = &nfold_test3_expected_result,
254 .expected_result = &nfold_test4_expected_result,
260 .expected_result = &nfold_test5_expected_result,
[all …]
/linux-6.6.21/samples/kfifo/
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()
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()
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.6.21/tools/testing/selftests/bpf/
Dtest_sock_addr.c86 } expected_result; member
655 if (ret < 0 && test->expected_result != LOAD_REJECT) { in load_insns()
686 if (test->expected_result != LOAD_REJECT) in load_path()
1325 if (test->expected_result == LOAD_REJECT && progfd < 0) in run_test_case()
1327 else if (test->expected_result == LOAD_REJECT || progfd < 0) in run_test_case()
1332 if (test->expected_result == ATTACH_REJECT && err) { in run_test_case()
1335 } else if (test->expected_result == ATTACH_REJECT || err) { in run_test_case()
1337 } else if (test->expected_result == ATTACH_OKAY) { in run_test_case()
1363 if (test->expected_result == SYSCALL_EPERM && err == EPERM) { in run_test_case()
1368 if (test->expected_result == SYSCALL_ENOTSUPP && err == ENOTSUPP) { in run_test_case()
[all …]
/linux-6.6.21/tools/testing/selftests/x86/
Damx.c349 enum expected_result { FAIL_EXPECTED, SUCCESS_EXPECTED }; enum
361 static void validate_req_xcomp_perm(enum expected_result exp) in validate_req_xcomp_perm()
398 static void validate_xcomp_perm(enum expected_result exp) in validate_xcomp_perm()
436 static void setup_altstack(void *addr, unsigned long size, enum expected_result exp) in setup_altstack()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c_hw.c447 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() argument
460 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result()
/linux-6.6.21/drivers/of/
Dunittest.c3310 .expected_result = expected, \
3318 int expected_result; member
3448 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base()
3521 if (ret != info->expected_result) { in overlay_data_apply()
3523 info->expected_result, ret, overlay_name); in overlay_data_apply()
/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_proto_test.c2540 int expected_result; in cros_ec_proto_test_get_sensor_count_legacy() member
2570 KUNIT_EXPECT_EQ(test, ret, test_data[i].expected_result); in cros_ec_proto_test_get_sensor_count_legacy()