Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/tools/testing/selftests/membarrier/
Dmembarrier_test.c19 const char *test_name = "sys membarrier invalid command"; in test_membarrier_cmd_fail() local
24 test_name, cmd, flags); in test_membarrier_cmd_fail()
29 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail()
35 test_name, cmd, flags, errno); in test_membarrier_cmd_fail()
42 const char *test_name = "sys membarrier MEMBARRIER_CMD_QUERY invalid flags"; in test_membarrier_flags_fail() local
47 test_name, flags); in test_membarrier_flags_fail()
52 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail()
58 test_name, flags, errno); in test_membarrier_flags_fail()
65 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL"; in test_membarrier_global_success() local
70 test_name, flags, errno); in test_membarrier_global_success()
[all …]
/Linux-v4.19/tools/testing/selftests/
Dkselftest_harness.h147 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument
166 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument
168 #define __TEST_IMPL(test_name, _signal) \ argument
169 static void test_name(struct __test_metadata *_metadata); \
170 static struct __test_metadata _##test_name##_object = \
171 { name: "global." #test_name, \
172 fn: &test_name, termsig: _signal }; \
173 static void __attribute__((constructor)) _register_##test_name(void) \
175 __register_test(&_##test_name##_object); \
177 static void test_name( \
[all …]
/Linux-v4.19/drivers/staging/greybus/tools/
Dlbtest81 def log_csv(test_name, size, iteration_max, sys_pfx): argument
85 fname = test_name + '_' + size + '_' + str(iteration_max) + '.csv'
110 row.writerow([date, test_name, size, iteration_max, error,
117 def loopback_run(test_name, size, iteration_max, sys_pfx): argument
118 test_id = dict[test_name]
155 log_csv(test_name, size, iteration_max, sys_pfx)
Dloopback_test.c97 char test_name[MAX_STR_LEN]; member
439 t->test_name, in format_output()
481 t->test_name, dev_name, t->size, t->iteration_max, in format_output()
539 t->test_name, t->size, t->iteration_max); in log_results()
839 if (strstr(dict[i].name, t->test_name)) in loopback_run()
843 fprintf(stderr, "invalid test %s\n", t->test_name); in loopback_run()
909 snprintf(t.test_name, MAX_STR_LEN, "%s", optarg); in main()
989 if (t.test_name[0] == '\0' || t.iteration_max == 0) in main()
/Linux-v4.19/tools/testing/selftests/futex/include/
Dlogging.h110 void print_result(const char *test_name, int ret) in print_result() argument
114 ksft_test_result_pass("%s\n", test_name); in print_result()
118 ksft_test_result_error("%s\n", test_name); in print_result()
122 ksft_test_result_fail("%s\n", test_name); in print_result()
/Linux-v4.19/tools/testing/selftests/size/
Dget_size.c78 static const char *test_name = " get runtime memory use\n"; in _start() local
86 print(test_name); in _start()
91 print(test_name); in _start()
/Linux-v4.19/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c156 void dumpdata(char *s1, char *s2, int n, char *test_name) in dumpdata() argument
160 printf(" %s: unexpected result:\n", test_name); in dumpdata()
171 int test_memcmp(void *s1, void *s2, int n, int offset, char *test_name) in test_memcmp() argument
184 dumpdata(s1c, s2c, n, test_name); in test_memcmp()
195 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() argument
200 printf("\tDoing %s:\t", test_name); in do_test()
245 test_memcmp(mem0, ci0, width, offset, test_name); in do_test()
255 r |= test_memcmp(mem1, ci1, width, offset, test_name); in do_test()
/Linux-v4.19/samples/bpf/
Dmap_perf_test_user.c124 const char *test_name; in do_test_lru() local
168 test_name = "lru_hash_map_perf"; in do_test_lru()
171 test_name = "nocommon_lru_hash_map_perf"; in do_test_lru()
174 test_name = "inner_lru_hash_map_perf"; in do_test_lru()
177 test_name = "lru_hash_lookup_perf"; in do_test_lru()
195 cpu, test_name, in do_test_lru()
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dintel_hangcheck.c667 const char *test_name, in __igt_reset_engines() argument
705 engine->name, test_name); in __igt_reset_engines()
776 engine->name, test_name, err); in __igt_reset_engines()
793 engine->name, test_name); in __igt_reset_engines()
803 engine->name, test_name, count); in __igt_reset_engines()
809 engine->name, test_name, count, reported, in __igt_reset_engines()
/Linux-v4.19/tools/testing/selftests/net/forwarding/
Dlib.sh191 local test_name=$1
200 printf "TEST: %-60s [FAIL]\n" "$test_name $opt_str"
212 printf "TEST: %-60s [PASS]\n" "$test_name $opt_str"
/Linux-v4.19/tools/testing/ktest/
Dktest.pl171 my $test_name;
328 "TEST_NAME" => \$test_name,
1709 if (defined($test_name)) {
1710 $name = " ($test_name)";
2595 if (defined($test_name)) {
2596 $name = " ($test_name)";
4314 if (defined($test_name)) {
4315 $name = " ($test_name)";
/Linux-v4.19/tools/testing/selftests/futex/
DREADME42 test_name: Description of the test
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dtenxpress.c492 .test_name = sfx7101_test_name,
Dtxc43128_phy.c560 .test_name = txc43128_test_name,
Dnet_driver.h584 const char *(*test_name) (struct ef4_nic *efx, unsigned int index); member
Dethtool.c332 EF4_BUG_ON_PARANOID(efx->phy_op->test_name == NULL); in ef4_ethtool_fill_self_tests()
338 name = efx->phy_op->test_name(efx, i); in ef4_ethtool_fill_self_tests()
/Linux-v4.19/lib/
Dtest_bpf.c6715 static char test_name[64]; variable
6716 module_param_string(test_name, test_name, sizeof(test_name), 0);
6724 static __init int find_test_index(const char *test_name) in find_test_index() argument
6729 if (!strcmp(tests[i].descr, test_name)) in find_test_index()
6751 } else if (*test_name) { in prepare_bpf_tests()
6756 int idx = find_test_index(test_name); in prepare_bpf_tests()
6760 test_name); in prepare_bpf_tests()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dethtool.c350 EFX_WARN_ON_PARANOID(efx->phy_op->test_name == NULL); in efx_ethtool_fill_self_tests()
356 name = efx->phy_op->test_name(efx, i); in efx_ethtool_fill_self_tests()
Dnet_driver.h660 const char *(*test_name) (struct efx_nic *efx, unsigned int index); member
Dmcdi_port.c1132 .test_name = efx_mcdi_phy_test_name,
/Linux-v4.19/drivers/usb/host/
Dxhci-mem.c1935 char *test_name, int test_number) in xhci_test_trb_in_td() argument
1947 test_name, test_number); in xhci_test_trb_in_td()
/Linux-v4.19/kernel/trace/
Dtrace_events_hist.c4181 const char *test_name; in create_sort_keys() local
4222 test_name = hist_field_name(hist_field, 0); in create_sort_keys()
4224 if (strcmp(field_name, test_name) == 0) { in create_sort_keys()