| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | skb_load_bytes.c | 9 int err, prog_fd, test_result; in test_skb_load_bytes() local 31 test_result = skel->bss->test_result; in test_skb_load_bytes() 32 if (!ASSERT_EQ(test_result, -EFAULT, "offset -1")) in test_skb_load_bytes() 39 test_result = skel->bss->test_result; in test_skb_load_bytes() 40 if (!ASSERT_EQ(test_result, 0, "offset 10")) in test_skb_load_bytes()
|
| H A D | load_bytes_relative.c | 16 struct bpf_map *test_result; in test_load_bytes_relative() local 35 test_result = bpf_object__find_map_by_name(obj, "test_result"); in test_load_bytes_relative() 36 if (CHECK_FAIL(!test_result)) in test_load_bytes_relative() 39 map_fd = bpf_map__fd(test_result); in test_load_bytes_relative()
|
| H A D | xdp_context_test_run.c | 165 err = bpf_map__lookup_elem(skel->maps.test_result, &map_key, in assert_test_result()
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | unicast_extensions.sh | 119 test_result=0 120 _do_segmenttest "$@" || test_result=1 128 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result` 130 show_result $test_result "$4" 144 test_result=0 145 _do_route_test "$@" || test_result=1 155 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result` 156 show_result $test_result "$6"
|
| /linux-6.15/tools/perf/tests/ |
| H A D | dlfilter-test.c | 59 static int test_result(const char *msg, int ret) in test_result() function 195 return test_result("perf_event__synthesize_sample() failed", TEST_FAIL); in write_sample() 199 return test_result("Failed to write sample", TEST_FAIL); in write_sample() 329 return test_result("dlfilters not found", TEST_SKIP); in test__dlfilter_test() 332 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test() 335 return test_result("gcc not found", TEST_SKIP); in test__dlfilter_test() 340 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test() 352 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test() 360 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test() 364 return test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test() [all …]
|
| /linux-6.15/tools/testing/selftests/media_tests/ |
| H A D | video_device_test.c | 122 int test_result; in main() local 149 test_result = priority_test(fd); in main() 150 if (!test_result) in main()
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | skb_load_bytes.c | 9 int test_result = 0; variable 16 test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); in skb_process()
|
| H A D | fexit_bpf2bpf_simple.c | 11 __u64 test_result = 0; variable 24 test_result = 1; in BPF_PROG()
|
| H A D | load_bytes_relative.c | 18 } test_result SEC(".maps"); 45 bpf_map_update_elem(&test_result, &map_key, &test_passed, BPF_ANY); in load_bytes_relative()
|
| H A D | test_xdp_meta.c | 24 } test_result SEC(".maps"); 38 bpf_map_update_elem(&test_result, &key, data_meta, BPF_ANY); in ing_cls()
|
| H A D | fexit_bpf2bpf.c | 16 __u64 test_result = 0; variable 27 test_result = 1; in BPF_PROG()
|
| /linux-6.15/lib/ |
| H A D | test_firmware.c | 117 int test_result; member 238 test_fw_config->test_result = 0; in __test_firmware_config_init() 862 test_fw_config->test_result = -EINVAL; in test_fw_run_batch_request() 901 if (!test_fw_config->test_result) in test_fw_run_batch_request() 902 test_fw_config->test_result = req->rc; in test_fw_run_batch_request() 984 test_fw_config->test_result = rc; in trigger_batched_requests_store() 1001 test_fw_config->test_result = -EINVAL; in trigger_batched_cb() 1018 test_fw_config->test_result = -ENOENT; in trigger_batched_cb() 1094 test_fw_config->test_result = rc; in trigger_batched_requests_async_store() 1382 static DEVICE_ATTR_RO(test_result); [all …]
|
| H A D | test_kmod.c | 77 int test_result; member 307 config->test_result = err_ret; in tally_up_work() 532 config->test_result); in trigger_config_run() 818 config->test_result = 0; in __kmod_config_init() 977 &config->test_result); in test_result_store() 1034 return test_dev_config_show_int(test_dev, buf, config->test_result); in test_result_show() 1036 static DEVICE_ATTR_RW(test_result); 1049 TEST_KMOD_DEV_ATTR(test_result),
|
| /linux-6.15/tools/testing/selftests/iommu/ |
| H A D | iommufd_fail_nth.c | 104 int test_result) in fail_nth_next() argument 185 int test_result = 0; \ 193 while (fail_nth_next(_metadata, &nth_state, test_result)) { \ 196 test_result = test_nth_##name(_metadata, self, \ 199 ASSERT_EQ(0, test_result); \
|
| /linux-6.15/tools/testing/selftests/arm64/signal/ |
| H A D | test_signals.c | 38 test_result(current); in main()
|
| H A D | test_signals_utils.h | 20 void test_result(struct tdescr *td);
|
| H A D | test_signals_utils.c | 410 void test_result(struct tdescr *td) in test_result() function
|
| /linux-6.15/tools/testing/selftests/devices/probe/ |
| H A D | test_discoverable_devices.py | 200 ksft.test_result(os.path.isdir(driver_link), test_name) 204 ksft.test_result(os.path.isdir(driver_link), test_name) 263 ksft.test_result(
|
| /linux-6.15/lib/kunit/ |
| H A D | attributes.c | 404 bool suite_result, test_result, default_result, result; in kunit_filter_attr_tests() local 435 test_result = filter.attr->filter(filter.attr->get_attr(test_case, true), in kunit_filter_attr_tests() 447 if (test_result) in kunit_filter_attr_tests()
|
| /linux-6.15/tools/testing/selftests/kvm/ |
| H A D | memslot_perf_test.c | 1040 struct test_result { struct 1048 struct test_result *rbestslottime, in test_loop() argument 1049 struct test_result *rbestruntime) in test_loop() 1052 struct test_result result = {}; in test_loop() 1107 struct test_result rbestslottime = {}; in main() 1119 struct test_result rbestruntime = {}; in main()
|
| /linux-6.15/tools/testing/selftests/kselftest/ |
| H A D | ksft.py | 68 def test_result(condition, description=""): function
|
| /linux-6.15/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_mbx.h | 272 s32 test_result; member
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_dp_test.c | 179 u8 test_result = DP_TEST_ACK; in intel_dp_autotest_edid() local 211 test_result = DP_TEST_ACK | DP_TEST_EDID_CHECKSUM_WRITE; in intel_dp_autotest_edid() 218 return test_result; in intel_dp_autotest_edid()
|
| /linux-6.15/tools/testing/selftests/kmod/ |
| H A D | kmod.sh | 254 cat $DIR/test_result
|
| /linux-6.15/tools/testing/kunit/ |
| H A D | kunit.py | 198 _, test_result = parse_tests(request, metadata, run_result) 205 test_counts.add_subtest_counts(test_result.counts)
|