Searched refs:test_spec (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xsk.c | 228 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 290 void test_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_init() 292 const struct test_spec *test_to_run) in test_init() 320 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 325 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog() 335 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu() 388 void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 516 static int pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() 545 static int pkt_stream_replace_half(struct test_spec *test, u32 pkt_len, int offset) in pkt_stream_replace_half() 555 static int pkt_stream_receive_half(struct test_spec *test) in pkt_stream_receive_half() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| 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() 224 char *input, *state = NULL, *test_spec; in parse_test_list() local 231 while ((test_spec = strtok_r(cnt++ ? NULL : input, ",", &state))) { in parse_test_list() 232 err = insert_test(set, test_spec, is_glob_pattern); in parse_test_list()
|
| H A D | xskxceiver.h | 161 struct test_spec { global() struct 162 ifobj_txtest_spec global() argument 163 ifobj_rxtest_spec global() argument 164 tx_pkt_stream_defaulttest_spec global() argument 165 rx_pkt_stream_defaulttest_spec global() argument 166 xdp_prog_rxtest_spec global() argument 167 xdp_prog_txtest_spec global() argument 168 xskmap_rxtest_spec global() argument 169 xskmap_txtest_spec global() argument 170 test_functest_spec global() argument 171 mtutest_spec global() argument 172 total_stepstest_spec global() argument 173 current_steptest_spec global() argument 174 nb_socketstest_spec global() argument 175 failtest_spec global() argument 176 set_ringtest_spec global() argument 177 adjust_tailtest_spec global() argument 178 adjust_tail_supporttest_spec global() argument 179 modetest_spec global() argument 180 nametest_spec global() argument
|
| H A D | test_loader.c | 83 struct test_spec { 130 static void free_test_spec(struct test_spec *spec) in free_msgs() 404 struct test_spec *spec) in parse_test_spec() 722 struct test_spec *spec, in validate_msgs() 987 static bool can_execute_unpriv(struct test_loader *tester, struct test_spec *spec) in run_subtest() 1066 static bool should_do_test_run(struct test_spec *spec, struct test_subspec *subspec) in run_subtest() 1135 struct test_spec *specs, in process_subtest() 1136 struct test_spec *spec, in process_subtest() 1143 struct test_spec *spec_iter; in process_subtest() 1346 struct test_spec *spec 87 struct test_spec { global() struct 88 prog_nametest_spec global() argument 89 privtest_spec global() argument 90 unprivtest_spec global() argument 91 btf_custom_pathtest_spec global() argument 92 log_leveltest_spec global() argument 93 prog_flagstest_spec global() argument 94 mode_masktest_spec global() argument 95 arch_masktest_spec global() argument 96 load_masktest_spec global() argument 97 auxiliarytest_spec global() argument 98 validtest_spec global() argument [all...] |
| H A D | xskxceiver.c | 267 static void run_pkt_test(struct test_spec *test) in run_pkt_test() 341 struct test_spec test; in main()
|