Searched refs:test_spec (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/ |
H A D | xskxceiver.c | 130 static char *mode_string(struct test_spec *test) in mode_string() 144 static void report_failure(struct test_spec *test) in report_failure() 476 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 538 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init() 540 const struct test_spec *test_to_run) in test_spec_init() 568 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 573 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog() 583 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu() 636 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 769 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() [all …]
|
H 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()
|
H A D | xskxceiver.h | 125 struct test_spec; 128 typedef int (*test_func_t)(struct test_spec *test); 161 struct test_spec { struct
|
H A D | test_loader.c | 87 struct test_spec { struct 133 static void free_test_spec(struct test_spec *spec) in free_test_spec() 398 struct test_spec *spec) in parse_test_spec() 661 struct test_spec *spec, in prepare_case() 812 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec) in can_execute_unpriv() 884 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in should_do_test_run() 940 struct test_spec *specs, in run_subtest() 941 struct test_spec *spec, in run_subtest() 948 struct test_spec *spec_iter; in run_subtest() 1125 struct test_spec *specs = NULL; in process_subtest() [all …]
|