Home
last modified time | relevance | path

Searched refs:test_result (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dskb_load_bytes.c9 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()
A Dload_bytes_relative.c16 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.3-rc2/tools/testing/selftests/net/
A Dunicast_extensions.sh128 test_result=0
129 _do_segmenttest "$@" || test_result=1
138 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result`
140 show_result $test_result "$4"
156 test_result=0
157 _do_route_test "$@" || test_result=1
169 [ -n "$expect_failure" ] && test_result=`expr 1 - $test_result`
170 show_result $test_result "$6"
A Dipsec.c568 struct test_result { struct
575 struct test_result tr = {}; in write_test_result() argument
2230 struct test_result tr = {}; in check_results()
/linux-6.3-rc2/tools/perf/tests/
A Ddlfilter-test.c55 static int test_result(const char *msg, int ret) in test_result() function
191 return test_result("perf_event__synthesize_sample() failed", TEST_FAIL); in write_sample()
195 return test_result("Failed to write sample", TEST_FAIL); in write_sample()
325 return test_result("dlfilters not found", TEST_SKIP); in test__dlfilter_test()
328 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test()
331 return test_result("gcc not found", TEST_SKIP); in test__dlfilter_test()
336 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test()
348 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test()
356 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test()
360 return test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dskb_load_bytes.c9 int test_result = 0; variable
16 test_result = bpf_skb_load_bytes(skb, load_offset, buf, 10); in skb_process()
A Dfexit_bpf2bpf_simple.c11 __u64 test_result = 0; variable
24 test_result = 1; in BPF_PROG()
A Dload_bytes_relative.c18 } test_result SEC(".maps");
45 bpf_map_update_elem(&test_result, &map_key, &test_passed, BPF_ANY); in load_bytes_relative()
A Dfexit_bpf2bpf.c16 __u64 test_result = 0; variable
27 test_result = 1; in BPF_PROG()
/linux-6.3-rc2/lib/
A Dtest_firmware.c116 int test_result; member
231 test_fw_config->test_result = 0; in __test_firmware_config_init()
831 test_fw_config->test_result = -EINVAL; in test_fw_run_batch_request()
868 if (!test_fw_config->test_result) in test_fw_run_batch_request()
869 test_fw_config->test_result = req->rc; in test_fw_run_batch_request()
945 test_fw_config->test_result = rc; in trigger_batched_requests_store()
962 test_fw_config->test_result = -EINVAL; in trigger_batched_cb()
979 test_fw_config->test_result = -ENOENT; in trigger_batched_cb()
1049 test_fw_config->test_result = rc; in trigger_batched_requests_async_store()
1336 static DEVICE_ATTR_RO(test_result);
[all …]
A Dtest_kmod.c74 int test_result; member
303 config->test_result = err_ret; in tally_up_work()
528 config->test_result); in trigger_config_run()
814 config->test_result = 0; in __kmod_config_init()
973 &config->test_result); in test_result_store()
1030 return test_dev_config_show_int(test_dev, buf, config->test_result); in test_result_show()
1032 static DEVICE_ATTR_RW(test_result);
1045 TEST_KMOD_DEV_ATTR(test_result),
/linux-6.3-rc2/tools/testing/selftests/iommu/
A Diommufd_fail_nth.c99 int test_result) in fail_nth_next() argument
180 int test_result = 0; \
188 while (fail_nth_next(_metadata, &nth_state, test_result)) { \
191 test_result = test_nth_##name(_metadata, self, \
194 ASSERT_EQ(0, test_result); \
/linux-6.3-rc2/tools/testing/selftests/arm64/signal/
A Dtest_signals.c24 test_result(current); in main()
A Dtest_signals_utils.h17 void test_result(struct tdescr *td);
A Dtest_signals_utils.c397 void test_result(struct tdescr *td) in test_result() function
/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c1024 struct test_result { struct
1032 struct test_result *rbestslottime, in test_loop() argument
1033 struct test_result *rbestruntime) in test_loop()
1036 struct test_result result; in test_loop()
1092 struct test_result rbestslottime; in main()
1105 struct test_result rbestruntime; in main()
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/
A Dfm10k_mbx.h272 s32 test_result; member
A Dfm10k_ethtool.c910 mbx->test_result = FM10K_NOT_IMPLEMENTED; in fm10k_mbx_test()
926 err = mbx->test_result; in fm10k_mbx_test()
A Dfm10k_tlv.c729 &mbx->test_result); in fm10k_tlv_msg_test()
/linux-6.3-rc2/tools/testing/kunit/
A Dkunit.py160 _, test_result = parse_tests(request, metadata, run_result)
167 test_counts.add_subtest_counts(test_result.counts)
A Dkunit_tool_test.py531 test_result = kunit_parser.parse_run_tests(file)
533 test=test_result,
/linux-6.3-rc2/tools/testing/selftests/kmod/
A Dkmod.sh254 cat $DIR/test_result
/linux-6.3-rc2/drivers/scsi/qla4xxx/
A Dql4_83xx.c709 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.3-rc2/tools/testing/selftests/bpf/
A Dtest_progs.c221 static char *test_result(bool failed, bool skipped) in test_result() function
315 test_result(subtest_state->error_cnt, in dump_test_log()
386 test_result(subtest_state->error_cnt, in test__end_subtest()
/linux-6.3-rc2/drivers/net/can/usb/
A Dmcba_usb.c128 u8 test_result; member

Completed in 63 milliseconds

12