Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_sock_addr.c83 } 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 == SYSCALL_ENOTSUPP && err == ENOTSUPP) { in run_test_case()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c_hw.c424 enum i2c_channel_operation_result expected_result) in dce_i2c_hw_engine_wait_on_operation_result() argument
437 if (result != expected_result) in dce_i2c_hw_engine_wait_on_operation_result()
/kernel/linux/linux-5.10/drivers/of/
Dunittest.c2829 .expected_result = expected, \
2836 int expected_result; member
2899 {.dtb_begin = NULL, .dtb_end = NULL, .expected_result = 0, .name = NULL}
2951 if (info->expected_result != -9999) { in unittest_unflatten_overlay_base()
3022 if (ret != info->expected_result) in overlay_data_apply()
3024 info->expected_result, ret, overlay_name); in overlay_data_apply()
3026 return (ret == info->expected_result); in overlay_data_apply()