Home
last modified time | relevance | path

Searched defs:test_case (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dcore_extern.c23 static struct test_case { struct
28 } test_cases[] = { argument
A Dctx_rewrite.c32 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 Dmigrate_reuseport.c185 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 Dsock_iter_batch.c601 struct test_case { struct
615 static struct test_case resume_tests[] = { argument
A Dtcp_custom_syncookie.c92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) in create_connection()
A Dxdp_bonding.c671 struct bond_test_case *test_case = &bond_test_cases[i]; in serial_test_xdp_bonding() local
A Dcore_reloc.c1004 struct core_reloc_test_case *test_case, test_case_copy; in run_core_reloc_tests() local
/tools/testing/vsock/
A Dutil.h59 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 Dtests.h35 struct test_case { struct
45 struct test_case *test_cases; argument
A Dbuiltin-test.c237 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 Dkvm_clock_test.c19 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 Drxtimestamp.c43 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 Dgup_longterm.c388 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 Dcow.c1082 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 Dmremap_test.c990 static void run_mremap_test_case(struct test test_case, int *failures, in run_mremap_test_case()
/tools/testing/selftests/kvm/
A Dsystem_counter_offset_test.c19 struct test_case { struct
23 static struct test_case test_cases[] = { argument
/tools/testing/selftests/sysctl/
A Dsysctl.sh1038 function test_case() function
/tools/testing/selftests/kmod/
A Dkmod.sh620 function test_case() function

Completed in 50 milliseconds