/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 32 struct test_case { struct 33 char *name; 34 enum bpf_prog_type prog_type; 35 enum bpf_attach_type expected_attach_type; 36 int field_offset; 37 int field_sz; 41 struct { 67 static struct test_case test_cases[] = { argument
|
H A D | core_extern.c | 23 static struct test_case { struct 28 } test_cases[] = { argument
|
H A D | migrate_reuseport.c | 185 static int drop_ack(struct migrate_reuseport_test_case *test_case, in drop_ack() 203 static int pass_ack(struct migrate_reuseport_test_case *test_case) in pass_ack() 216 static int start_servers(struct migrate_reuseport_test_case *test_case, in start_servers() 278 static int start_clients(struct migrate_reuseport_test_case *test_case) in start_clients() 321 static int update_maps(struct migrate_reuseport_test_case *test_case, in update_maps() 351 static int migrate_dance(struct migrate_reuseport_test_case *test_case) in migrate_dance() 407 static void count_requests(struct migrate_reuseport_test_case *test_case, in count_requests() 456 static void run_test(struct migrate_reuseport_test_case *test_case, in run_test()
|
H A D | sock_iter_batch.c | 601 struct test_case { struct 615 static struct test_case resume_tests[] = { argument
|
H A D | tcp_custom_syncookie.c | 92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) in create_connection()
|
H A D | xdp_bonding.c | 671 struct bond_test_case *test_case = &bond_test_cases[i]; in serial_test_xdp_bonding() local
|
H A D | core_reloc.c | 1002 struct core_reloc_test_case *test_case, test_case_copy; run_core_reloc_tests() local [all...] |
/linux/tools/testing/vsock/ |
H A D | util.h | 59 struct test_case { struct 60 const char *name; /* human-readable name */ 63 void (*run_client)(const struct test_opts *opts); 66 void (*run_server)(const struct test_opts *opts); 68 bool skip;
|
/linux/net/mptcp/ |
H A D | crypto_test.c | 6 struct test_case { struct 15 static struct test_case tests[] = { argument
|
/linux/tools/perf/tests/ |
H A D | tests.h | 35 struct test_case { struct 45 struct test_case *test_cases; argument
|
H A D | builtin-test.c | 237 static const char *skip_reason(const struct test_suite *t, int test_case) in skip_reason() 245 static const char *test_description(const struct test_suite *t, int test_case) in test_description() 253 static test_fnptr test_function(const struct test_suite *t, int test_case) in test_function() 261 static bool test_exclusive(const struct test_suite *t, int test_case) in test_exclusive()
|
/linux/lib/kunit/ |
H A D | test.c | 140 struct kunit_case *test_case; in kunit_suite_num_test_cases() local 214 const struct kunit_case *test_case; in kunit_suite_has_succeeded() local 243 struct kunit_case *test_case) in kunit_test_case_num() 365 struct kunit_case *test_case, in kunit_run_case_check_speed() 400 static unsigned long kunit_test_timeout(struct kunit_suite *suite, struct kunit_case *test_case) in kunit_test_timeout() 422 struct kunit_case *test_case) in kunit_run_case_internal() 467 struct kunit_case *test_case; member 475 struct kunit_case *test_case = ctx->test_case; in kunit_try_run_case() local 560 struct kunit_case *test_case, in kunit_run_case_catch_errors() 647 struct kunit_case *test_case; in kunit_run_tests() local
|
H A D | attributes.c | 401 struct kunit_case *filtered, *test_case; in kunit_filter_attr_tests() local
|
/linux/tools/testing/selftests/net/ |
H A D | rxtimestamp.c | 43 struct test_case { struct 44 struct options sockopt; 45 struct tstamps expected; 46 bool enabled; 70 static struct test_case test_cases[] = { argument
|
/linux/tools/testing/selftests/mm/ |
H A D | gup_longterm.c | 388 struct test_case { struct 389 const char *desc; 390 test_fn fn; 490 static void run_test_case(struct test_case const *test_case) in run_test_case()
|
H A D | cow.c | 1099 struct test_case { global() struct 1108 fntest_case global() argument 1226 run_anon_test_case(struct test_case const * test_case) run_anon_test_case() argument 1506 struct test_case const *test_case = &anon_thp_test_cases[i]; run_anon_thp_test_cases() local 1840 run_non_anon_test_case(struct non_anon_test_case const * test_case) run_non_anon_test_case() argument [all...] |
/linux/tools/testing/selftests/kvm/ |
H A D | system_counter_offset_test.c | 19 struct test_case { struct 23 static struct test_case test_cases[] = { argument
|
/linux/drivers/virt/nitro_enclaves/ |
H A D | ne_misc_dev_test.c | 123 struct ne_phys_regions_test *test_case = &phys_regions_test_cases[i]; in ne_misc_dev_test_merge_phys_contig_memory_regions() local
|
/linux/samples/bpf/ |
H A D | test_map_in_map.bpf.c | 109 u16 test_case, port, dst6[8]; in BPF_KSYSCALL() local
|
H A D | map_perf_test.bpf.c | 188 u16 test_case; in BPF_KSYSCALL() local
|
/linux/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | 1038 function test_case() function
|
/linux/tools/testing/selftests/kmod/ |
H A D | kmod.sh | 620 function test_case() function
|
/linux/lib/ |
H A D | test_kmod.c | 82 enum kmod_test_case test_case; member 146 static const char *test_case_str(enum kmod_test_case test_case) in test_case_str() 735 enum kmod_test_case test_case) in trigger_config_run_type()
|
/linux/include/kunit/ |
H A D | test.h | 415 #define kunit_suite_for_each_test_case(suite, test_case) \ argument
|