Searched refs:test_spec (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| A D | xskxceiver.c | 128 static char *mode_string(struct test_spec *test) in mode_string() 142 static void report_failure(struct test_spec *test) in report_failure() 536 const struct test_spec *test_to_run) in test_spec_init() 564 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 1260 static int receive_pkts(struct test_spec *test) in receive_pkts() 1725 struct test_spec *test = (struct test_spec *)arg; in worker_testapp_validate_tx() 1748 struct test_spec *test = (struct test_spec *)arg; in worker_testapp_validate_rx() 2396 static int testapp_poll_rx(struct test_spec *test) in testapp_poll_rx() 2518 static void run_pkt_test(struct test_spec *test) in run_pkt_test() 2590 static const struct test_spec tests[] = { [all …]
|
| A D | testing_helpers.c | 131 char *test_spec, in insert_test() argument 144 subtest_str = strchr(test_spec, '/'); in insert_test() 150 ext_test_str = malloc(strlen(test_spec) + glob_chars + 1); in insert_test() 154 sprintf(ext_test_str, pattern, test_spec); in insert_test() 223 char *input, *state = NULL, *test_spec; in parse_test_list() local 230 while ((test_spec = strtok_r(cnt++ ? NULL : input, ",", &state))) { in parse_test_list() 231 err = insert_test(set, test_spec, is_glob_pattern); in parse_test_list()
|
| A D | xskxceiver.h | 124 struct test_spec; 127 typedef int (*test_func_t)(struct test_spec *test); 160 struct test_spec { struct
|
| A D | test_loader.c | 79 struct test_spec { struct 124 static void free_test_spec(struct test_spec *spec) in free_test_spec() 364 struct test_spec *spec) in parse_test_spec() 608 struct test_spec *spec, in prepare_case() 759 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec) in can_execute_unpriv() 887 struct test_spec *specs, in run_subtest() 888 struct test_spec *spec, in run_subtest() 894 struct test_spec *spec_iter; in run_subtest() 1057 struct test_spec *specs = NULL; in process_subtest() 1076 specs = calloc(nr_progs, sizeof(struct test_spec)); in process_subtest() [all …]
|
Completed in 18 milliseconds