/kernel/linux/linux-6.6/net/sunrpc/auth_gss/ |
H A D | gss_krb5_test.c | 32 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 [all...] |
/kernel/linux/linux-5.10/samples/kfifo/ |
H A D | record-example.c | 56 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 D | bytestream-example.c | 45 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()
|
H A D | inttype-example.c | 45 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()
|
/kernel/linux/linux-6.6/samples/kfifo/ |
H A D | record-example.c | 56 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 D | bytestream-example.c | 45 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()
|
H A D | inttype-example.c | 45 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_sock_addr.c | 86 } 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 in run_test_case() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_sock_addr.c | 83 } expected_result; member 655 if (ret < 0 && test->expected_result != LOAD_REJECT) { in load_insns() 860 if (test->expected_result != LOAD_REJECT) in load_path() 1550 if (test->expected_result == LOAD_REJECT && progfd < 0) in run_test_case() 1552 else if (test->expected_result == LOAD_REJECT || progfd < 0) in run_test_case() 1557 if (test->expected_result == ATTACH_REJECT && err) { in run_test_case() 1560 } else if (test->expected_result == ATTACH_REJECT || err) { in run_test_case() 1562 } else if (test->expected_result == ATTACH_OKAY) { in run_test_case() 1588 if (test->expected_result == SYSCALL_EPERM && err == EPERM) { in run_test_case() 1593 if (test->expected_result in run_test_case() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | amx.c | 349 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 424 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() 437 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result() 421 dce_i2c_hw_engine_wait_on_operation_result( struct dce_i2c_hw *dce_i2c_hw, uint32_t timeout, enum i2c_channel_operation_result expected_result) dce_i2c_hw_engine_wait_on_operation_result() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c_hw.c | 447 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() 460 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result() 445 dce_i2c_hw_engine_wait_on_operation_result(struct dce_i2c_hw *dce_i2c_hw, uint32_t timeout, enum i2c_channel_operation_result expected_result) dce_i2c_hw_engine_wait_on_operation_result() argument
|
/kernel/linux/linux-5.10/drivers/of/ |
H A D | unittest.c | 2849 .expected_result = expected, \ 2856 int expected_result; member 2919 {.dtb_begin = NULL, .dtb_end = NULL, .expected_result = 0, .name = NULL} 2971 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base() 3042 if (ret != info->expected_result) in overlay_data_apply() 3044 info->expected_result, ret, overlay_name); in overlay_data_apply() 3046 return (ret == info->expected_result); in overlay_data_apply()
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | unittest.c | 3310 .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()
|
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_proto_test.c | 2540 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()
|