Searched refs:test_spec (Results 1 – 4 of 4) sorted by relevance
| /tools/testing/selftests/bpf/ |
| 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() 474 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 534 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init() 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() 569 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog() 579 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu() 632 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 760 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() [all …]
|
| D | xskxceiver.h | 124 struct test_spec; 127 typedef int (*test_func_t)(struct test_spec *test); 160 struct test_spec { struct
|
| 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()
|
| 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() 831 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in should_do_test_run() 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() 1059 struct test_spec *specs = NULL; in process_subtest() [all …]
|