/linux-master/tools/testing/selftests/ |
H A D | kselftest_harness.h | 139 * @test_name: test name 152 #define TEST(test_name) __TEST_IMPL(test_name, -1) 157 * @test_name: test name 171 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) 173 #define __TEST_IMPL(test_name, _signal) \ 174 static void test_name(struct __test_metadata *_metadata); \ 175 static inline void wrapper_##test_name( \ 181 test_name(_metadat 1161 char *test_name; local [all...] |
H A D | kselftest.h | 28 * ksft_test_result_code(exit_code, test_name, fmt, ...); 263 void ksft_test_result_code(int exit_code, const char *test_name, argument 298 printf("%s %u %s%s", tap_code, ksft_test_num(), test_name, directive);
|
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 49 char test_name[TEST_NAME_LEN]; local 53 snprintf(test_name, sizeof(test_name), 60 ksft_test_result_fail("%s\n", test_name); 67 ksft_test_result_fail("%s\n", test_name); 70 ksft_test_result_pass("%s\n", test_name); 77 char test_name[TEST_NAME_LEN]; local 84 snprintf(test_name, sizeof(test_name), 88 snprintf(test_name, sizeo [all...] |
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 164 test_name = f"{current_node['meta']['pathname']}.{intf_num}.driver" 168 ksft.test_result_fail(test_name) 173 ksft.test_result(os.path.isdir(driver_link), test_name) 176 test_name = current_node["meta"]["pathname"] + ".driver" 177 ksft.test_result(os.path.isdir(driver_link), test_name)
|
/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 179 my $test_name; 342 "TEST_NAME" => \$test_name, 1533 if (defined($test_name)) { 1534 $name = "$test_name:$test_type"; 1832 if (defined($test_name)) { 1833 $name = " ($test_name)"; 2729 if (defined($test_name)) { 2730 $name = " ($test_name)"; 4436 if (defined($test_name)) { 4437 $name = " ($test_name)"; [all...] |
/linux-master/tools/testing/selftests/landlock/ |
H A D | common.h | 27 #define TEST_F_FORK(fixture_name, test_name) TEST_F(fixture_name, test_name)
|
/linux-master/lib/ |
H A D | test_vmalloc.c | 398 const char *test_name; member in struct:test_case_desc 583 test_case_array[j].test_name,
|
H A D | test_bpf.c | 14934 static char test_name[64]; variable 14935 module_param_string(test_name, test_name, sizeof(test_name), 0); 15565 static __init int find_test_index(const char *test_name) argument 15571 if (!strcmp(tests[i].descr, test_name)) 15578 if (!strcmp(tail_call_tests[i].descr, test_name)) 15585 if (!strcmp(skb_segment_tests[i].descr, test_name)) 15619 } else if (*test_name) { 15621 * if a test_name wa [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | userspace_pm.sh | 56 test_name="" 68 test_name="${1}" 70 mptcp_lib_print_title "${test_name}" 76 mptcp_lib_result_pass "${test_name}" 82 mptcp_lib_result_skip "${test_name}" 93 mptcp_lib_result_fail "${test_name}"
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | tc_police.sh | 127 local test_name=$1; shift 149 log_test "$test_name" 182 local test_name=$1; shift 199 log_test "$test_name" 236 local test_name=$1; shift 279 log_test "$test_name" 299 local test_name=$1; shift 321 log_test "$test_name" 354 local test_name=$1; shift 388 log_test "$test_name" [all...] |
H A D | lib.sh | 398 local test_name=$1 407 printf "TEST: %-60s [FAIL]\n" "$test_name $opt_str" 419 printf "TEST: %-60s [ OK ]\n" "$test_name $opt_str" 425 local test_name=$1 428 printf "TEST: %-60s [SKIP]\n" "$test_name $opt_str"
|
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue_pi.c | 363 const char *test_name; local 403 ret = asprintf(&test_name, 408 test_name = TEST_NAME; 418 print_result(test_name, ret);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 138 const char *test_name; member in struct:prog_test_def 184 const char *test_name, 190 if (glob_match(test_name, sel->blacklist.tests[i].name)) { 203 if (glob_match(test_name, sel->whitelist.tests[i].name)) { 233 fprintf(env.stdout, "#%-*d %s:", TEST_NUM_WIDTH, test->test_num, test->test_name); 255 const char *test_name, char *subtest_name, 264 test_name, subtest_name); 314 jsonw_string_field(w, "name", test->test_name); 337 test->test_name, subtest_state->name, 422 test->test_name, subtest_stat 181 should_run_subtest(struct test_selector *sel, struct test_selector *subtest_sel, int subtest_num, const char *test_name, const char *subtest_name) argument 254 print_subtest_name(int test_num, int subtest_num, const char *test_name, char *subtest_name, char *result) argument [all...] |
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_redirect.c | 160 static void send_and_capture_test_packets(const char *test_name, int tap_fd, argument 176 log_err("%s egress test fails", test_name); 185 log_err("%s ingress test fails", test_name);
|
/linux-master/samples/bpf/ |
H A D | map_perf_test_user.c | 125 const char *test_name; local 172 test_name = "lru_hash_map_perf"; 175 test_name = "nocommon_lru_hash_map_perf"; 178 test_name = "inner_lru_hash_map_perf"; 181 test_name = "lru_hash_lookup_perf"; 199 cpu, test_name,
|
/linux-master/include/kunit/ |
H A D | test.h | 152 * @test_name: a reference to a test case function. 158 #define KUNIT_CASE(test_name) \ 159 { .run_case = test_name, .name = #test_name, \ 166 * @test_name: a reference to a test case function. 170 #define KUNIT_CASE_ATTR(test_name, attributes) \ 171 { .run_case = test_name, .name = #test_name, \ 178 * @test_name: a reference to a test case function. 181 #define KUNIT_CASE_SLOW(test_name) \ [all...] |
/linux-master/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 672 const char *test_name) 679 test_err("%s failed", test_name); 688 const char *test_name) 694 dump_eb_and_memory_contents(eb, memory, test_name); 671 dump_eb_and_memory_contents(struct extent_buffer *eb, void *memory, const char *test_name) argument 687 verify_eb_and_memory(struct extent_buffer *eb, void *memory, const char *test_name) argument
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 4904 char *fw_str = resp->test_name[i];
|
H A D | bnxt_hsi.h | 10272 char test_name[8][32]; member in struct:hwrm_selftest_qlist_output
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 60 overlaps, should_fail, test_name) \ 62 .name = test_name, \ 215 char *test_name = "mremap expand merge"; local 241 ksft_test_result_pass("%s\n", test_name); 243 ksft_test_result_fail("%s\n", test_name); 254 char *test_name = "mremap expand merge offset"; local 280 ksft_test_result_pass("%s\n", test_name); 282 ksft_test_result_fail("%s\n", test_name); 301 char *test_name = "mremap mremap move within range"; local 353 ksft_test_result_pass("%s\n", test_name); 499 char *test_name = "mremap move 1mb from start at 1MB+256KB aligned src"; local [all...] |
H A D | ksm_tests.c | 786 int test_name = CHECK_KSM_MERGE; local 849 test_name = CHECK_KSM_UNMERGE; 852 test_name = CHECK_KSM_ZERO_PAGE_MERGE; 855 test_name = CHECK_KSM_NUMA_MERGE; 858 test_name = KSM_MERGE_TIME; 861 test_name = KSM_MERGE_TIME_HUGE_PAGES; 864 test_name = KSM_UNMERGE_TIME; 867 test_name = KSM_COW_TIME; 894 switch (test_name) {
|
/linux-master/kernel/trace/ |
H A D | trace_events_hist.c | 4710 const char *test_name; local 4756 test_name = hist_field_name(hist_field, 0); 4758 if (strcmp(field_name, test_name) == 0) {
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 329 EF4_BUG_ON_PARANOID(efx->phy_op->test_name == NULL); 335 name = efx->phy_op->test_name(efx, i);
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 60 const char *test_name = "pidfd_send_signal send SIGUSR1"; local 65 test_name); 73 test_name); 81 test_name); 85 test_name); 88 ksft_test_result_pass("%s test: Sent signal\n", test_name); 97 const char *test_name = "pidfd_send_signal signal exited process"; local 102 test_name); 109 test_name); 124 test_name); 156 const char *test_name = "pidfd_send_signal signal recycled pid"; local 354 const char *test_name = "pidfd_send_signal check for support"; local 395 poll_pidfd(const char *test_name, int pidfd) argument 448 const char *test_name = "pidfd_poll check for premature notification on child thread exec"; local 513 const char *test_name = "pidfd_poll check for premature notification on non-empty" local [all...] |
H A D | pidfd_fdinfo_test.c | 42 static void error_report(struct error *err, const char *test_name) argument 46 ksft_exit_fail_msg("%s test: Fatal: %s\n", test_name, err->msg); 51 ksft_test_result_error("%s test: %s\n", test_name, err->msg); 56 ksft_test_result_skip("%s test: %s\n", test_name, err->msg); 61 test_name, err->msg); 65 ksft_test_result_pass("%s test: Passed\n", test_name); 70 test_name, err->code, err->msg); 75 static inline int error_check(struct error *err, const char *test_name) argument 79 error_report(err, test_name); 256 const char *test_name local 289 const char *test_name = "pidfd check fdinfo for dead process"; local [all...] |