/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | skb_load_bytes.c | 9 int err, prog_fd, test_result; local 31 test_result = skel->bss->test_result; 32 if (!ASSERT_EQ(test_result, -EFAULT, "offset -1")) 39 test_result = skel->bss->test_result; 40 if (!ASSERT_EQ(test_result, 0, "offset 10"))
|
H A D | load_bytes_relative.c | 16 struct bpf_map *test_result; local 35 test_result = bpf_object__find_map_by_name(obj, "test_result"); 36 if (CHECK_FAIL(!test_result)) 39 map_fd = bpf_map__fd(test_result);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | fexit_bpf2bpf_simple.c | 11 __u64 test_result = 0; variable 24 test_result = 1;
|
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);
|
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);
|
H A D | fexit_bpf2bpf.c | 16 __u64 test_result = 0; variable 27 test_result = 1;
|
/linux-master/tools/testing/selftests/arm64/signal/ |
H A D | test_signals.c | 24 test_result(current);
|
H A D | test_signals_utils.h | 19 void test_result(struct tdescr *td);
|
H A D | test_signals_utils.c | 398 void test_result(struct tdescr *td) function
|
/linux-master/tools/testing/selftests/net/ |
H A D | unicast_extensions.sh | 126 test_result=0 127 _do_segmenttest "$@" || test_result=1 135 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result` 137 show_result $test_result "$4" 151 test_result=0 152 _do_route_test "$@" || test_result=1 162 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result` 163 show_result $test_result " [all...] |
/linux-master/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 122 int test_result; local 149 test_result = priority_test(fd); 150 if (!test_result)
|
/linux-master/tools/testing/selftests/devices/ |
H A D | ksft.py | 65 def test_result(condition, description=""): function
|
H A D | test_discoverable_devices.py | 173 ksft.test_result(os.path.isdir(driver_link), test_name) 177 ksft.test_result(os.path.isdir(driver_link), test_name) 233 ksft.test_result(
|
/linux-master/tools/perf/tests/ |
H A D | dlfilter-test.c | 59 static int test_result(const char *msg, int ret) function 195 return test_result("perf_event__synthesize_sample() failed", TEST_FAIL); 199 return test_result("Failed to write sample", TEST_FAIL); 329 return test_result("dlfilters not found", TEST_SKIP); 332 return test_result("Failed to get expected filter description", TEST_FAIL); 335 return test_result("gcc not found", TEST_SKIP); 340 return test_result("Failed to write test C file", TEST_FAIL); 352 return test_result("Failed to find program symbols", TEST_FAIL); 360 return test_result("Failed to create test perf.data file", TEST_FAIL); 364 return test_result("perf_header__write_pip [all...] |
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd_fail_nth.c | 101 int test_result) 141 test_result, atoi(buf)); */ 148 test_result); */ 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); \ 99 fail_nth_next(struct __test_metadata *_metadata, struct fail_nth_state *nth_state, int test_result) argument
|
/linux-master/lib/ |
H A D | test_firmware.c | 72 * @test_result: a test may use this to collect the result from the call 117 int test_result; member in struct:test_config 238 test_fw_config->test_result = 0; 862 test_fw_config->test_result = -EINVAL; 901 if (!test_fw_config->test_result) 902 test_fw_config->test_result = req->rc; 984 test_fw_config->test_result = rc; 1001 test_fw_config->test_result = -EINVAL; 1017 if (!fw && !test_fw_config->test_result) 1018 test_fw_config->test_result [all...] |
H A D | test_kmod.c | 77 int test_result; member in struct:test_config 307 config->test_result = err_ret; 532 config->test_result); 537 * then userspace must just check the result of config->test_result. 818 config->test_result = 0; 977 &config->test_result); 1034 return test_dev_config_show_int(test_dev, buf, config->test_result); 1036 static DEVICE_ATTR_RW(test_result); 1049 TEST_KMOD_DEV_ATTR(test_result),
|
/linux-master/lib/kunit/ |
H A D | attributes.c | 404 bool suite_result, test_result, default_result, result; local 435 test_result = filter.attr->filter(filter.attr->get_attr(test_case, true), 447 if (test_result)
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.h | 272 s32 test_result; member in struct:fm10k_mbx_info
|
H A D | fm10k_tlv.c | 729 &mbx->test_result);
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 1024 struct test_result { struct 1032 struct test_result *rbestslottime, 1033 struct test_result *rbestruntime) 1036 struct test_result result = {}; 1091 struct test_result rbestslottime = {}; 1103 struct test_result rbestruntime = {};
|
/linux-master/tools/testing/kunit/ |
H A D | kunit.py | 196 _, test_result = parse_tests(request, metadata, run_result) 203 test_counts.add_subtest_counts(test_result.counts)
|
/linux-master/tools/testing/selftests/kmod/ |
H A D | kmod.sh | 254 cat $DIR/test_result
|
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 699 * value read ANDed with test_mask is equal to test_result. 705 * @test_result : Compare (value&test_mask) with test_result. 709 uint32_t test_result) 721 if ((value & test_mask) != test_result) { 738 __func__, value, test_mask, test_result); 707 qla4_83xx_poll_reg(struct scsi_qla_host *ha, uint32_t addr, int duration, uint32_t test_mask, uint32_t test_result) argument
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 221 static char *test_result(bool failed, bool skipped) function 338 test_result(subtest_state->error_cnt, 423 test_result(subtest_state->error_cnt,
|