Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c119 static char *mode_string(struct test_spec *test) in mode_string()
133 static void report_failure(struct test_spec *test) in report_failure()
381 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init()
429 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init()
456 static void test_spec_reset(struct test_spec *test) in test_spec_reset()
461 static void test_spec_set_name(struct test_spec *test, const char *name) in test_spec_set_name()
466 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog()
476 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu()
527 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default()
641 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace()
[all …]
H A Dtesting_helpers.c130 char *test_spec, in insert_test() argument
143 subtest_str = strchr(test_spec, '/'); in insert_test()
149 ext_test_str = malloc(strlen(test_spec) + glob_chars + 1); in insert_test()
153 sprintf(ext_test_str, pattern, test_spec); in insert_test()
222 char *input, *state = NULL, *test_spec; in parse_test_list() local
229 while ((test_spec = strtok_r(cnt++ ? NULL : input, ",", &state))) { in parse_test_list()
230 err = insert_test(set, test_spec, is_glob_pattern); in parse_test_list()
H A Dtest_loader.c57 struct test_spec { struct
88 static void free_test_spec(struct test_spec *spec) in free_test_spec() argument
163 struct test_spec *spec) in parse_test_spec()
342 struct test_spec *spec, in prepare_case()
443 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec) in can_execute_unpriv()
511 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in should_do_test_run()
536 struct test_spec *specs, in run_subtest()
537 struct test_spec *spec, in run_subtest()
542 struct test_spec *spec_iter; in run_subtest()
647 struct test_spec *specs = NULL; in process_subtest()
[all …]
H A Dxskxceiver.h176 struct test_spec { struct