/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
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()
|
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()
|
/linux-6.12.1/tools/testing/selftests/net/ |
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.12.1/tools/perf/tests/ |
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.12.1/tools/testing/selftests/media_tests/ |
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.12.1/tools/testing/selftests/bpf/progs/ |
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()
|
D | fexit_bpf2bpf_simple.c | 11 __u64 test_result = 0; variable 24 test_result = 1; in BPF_PROG()
|
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()
|
D | fexit_bpf2bpf.c | 16 __u64 test_result = 0; variable 27 test_result = 1; in BPF_PROG()
|
/linux-6.12.1/lib/ |
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() 1017 if (!fw && !test_fw_config->test_result) 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() [all …]
|
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.12.1/tools/testing/selftests/iommu/ |
D | iommufd_fail_nth.c | 101 int test_result) in fail_nth_next() argument 182 int test_result = 0; \ 190 while (fail_nth_next(_metadata, &nth_state, test_result)) { \ 193 test_result = test_nth_##name(_metadata, self, \ 196 ASSERT_EQ(0, test_result); \
|
/linux-6.12.1/tools/testing/selftests/arm64/signal/ |
D | test_signals.c | 24 test_result(current); in main()
|
D | test_signals_utils.h | 19 void test_result(struct tdescr *td);
|
D | test_signals_utils.c | 398 void test_result(struct tdescr *td) in test_result() function
|
/linux-6.12.1/tools/testing/selftests/devices/probe/ |
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.12.1/lib/kunit/ |
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.12.1/tools/testing/selftests/kvm/ |
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.12.1/tools/testing/selftests/kselftest/ |
D | ksft.py | 65 def test_result(condition, description=""): function
|
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_mbx.h | 272 s32 test_result; member
|
D | fm10k_ethtool.c | 910 mbx->test_result = FM10K_NOT_IMPLEMENTED; in fm10k_mbx_test() 926 err = mbx->test_result; in fm10k_mbx_test()
|
/linux-6.12.1/tools/testing/kunit/ |
D | kunit.py | 196 _, test_result = parse_tests(request, metadata, run_result) 203 test_counts.add_subtest_counts(test_result.counts)
|
/linux-6.12.1/tools/testing/selftests/kmod/ |
D | kmod.sh | 254 cat $DIR/test_result
|
/linux-6.12.1/drivers/scsi/qla4xxx/ |
D | ql4_83xx.c | 709 uint32_t test_result) in qla4_83xx_poll_reg() argument 721 if ((value & test_mask) != test_result) { in qla4_83xx_poll_reg() 738 __func__, value, test_mask, test_result); in qla4_83xx_poll_reg()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_progs.c | 253 static char *test_result(bool failed, bool skipped) in test_result() function 370 test_result(subtest_state->error_cnt, in dump_test_log() 455 test_result(subtest_state->error_cnt, in test__end_subtest()
|