/tools/testing/selftests/bpf/prog_tests/ |
A D | core_extern.c | 23 static struct test_case { struct 28 } test_cases[] = { argument
|
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
|
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()
|
A D | sock_iter_batch.c | 601 struct test_case { struct 615 static struct test_case resume_tests[] = { argument
|
A D | tcp_custom_syncookie.c | 92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) in create_connection()
|
A D | xdp_bonding.c | 671 struct bond_test_case *test_case = &bond_test_cases[i]; in serial_test_xdp_bonding() local
|
A D | core_reloc.c | 1004 struct core_reloc_test_case *test_case, test_case_copy; in run_core_reloc_tests() local
|
/tools/testing/vsock/ |
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;
|
/tools/perf/tests/ |
A D | tests.h | 35 struct test_case { struct 45 struct test_case *test_cases; argument
|
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()
|
/tools/testing/selftests/kvm/x86/ |
A D | kvm_clock_test.c | 19 struct test_case { struct 24 static struct test_case test_cases[] = { argument 77 static void setup_clock(struct kvm_vm *vm, struct test_case *test_case) in setup_clock()
|
/tools/testing/selftests/net/ |
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
|
/tools/testing/selftests/mm/ |
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()
|
A D | cow.c | 1082 struct test_case { struct 1091 static const struct test_case anon_test_cases[] = { argument 1209 static void run_anon_test_case(struct test_case const *test_case) in run_anon_test_case() 1491 struct test_case const *test_case = &anon_thp_test_cases[i]; in run_anon_thp_test_cases() local 1827 static void run_non_anon_test_case(struct non_anon_test_case const *test_case) in run_non_anon_test_case()
|
A D | mremap_test.c | 990 static void run_mremap_test_case(struct test test_case, int *failures, in run_mremap_test_case()
|
/tools/testing/selftests/kvm/ |
A D | system_counter_offset_test.c | 19 struct test_case { struct 23 static struct test_case test_cases[] = { argument
|
/tools/testing/selftests/sysctl/ |
A D | sysctl.sh | 1038 function test_case() function
|
/tools/testing/selftests/kmod/ |
A D | kmod.sh | 620 function test_case() function
|