Searched refs:test_spec (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/bpf/
H A Dxskxceiver.h117 struct test_spec;
120 typedef int (*test_func_t)(struct test_spec *test);
150 struct test_spec { struct
H A Dxskxceiver.c122 static char *mode_string(struct test_spec *test)
136 static void report_failure(struct test_spec *test)
412 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx,
467 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx,
469 const struct test_spec *test_to_run)
497 static void test_spec_reset(struct test_spec *test)
502 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx,
512 static int test_spec_set_mtu(struct test_spec *test, int mtu)
565 static void pkt_stream_restore_default(struct test_spec *test)
693 static void pkt_stream_replace(struct test_spec *tes
[all...]
H A Dtesting_helpers.c130 char *test_spec,
143 subtest_str = strchr(test_spec, '/');
149 ext_test_str = malloc(strlen(test_spec) + glob_chars + 1);
153 sprintf(ext_test_str, pattern, test_spec);
222 char *input, *state = NULL, *test_spec; local
229 while ((test_spec = strtok_r(state ? NULL : input, ",", &state))) {
230 err = insert_test(set, test_spec, is_glob_pattern);
129 insert_test(struct test_filter_set *set, char *test_spec, bool is_glob_pattern) argument
H A Dtest_loader.c58 struct test_spec { struct
90 static void free_test_spec(struct test_spec *spec)
173 struct test_spec *spec)
363 struct test_spec *spec,
464 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec)
536 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec)
561 struct test_spec *specs,
562 struct test_spec *spec,
567 struct test_spec *spec_iter;
676 struct test_spec *spec
[all...]

Completed in 126 milliseconds