Home
last modified time | relevance | path

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

/tools/testing/vsock/
Dutil.h27 struct test_case { struct
28 const char *name; /* human-readable name */
31 void (*run_client)(const struct test_opts *opts);
34 void (*run_server)(const struct test_opts *opts);
36 bool skip;
/tools/testing/selftests/bpf/prog_tests/
Dcore_extern.c23 static struct test_case { struct
28 } test_cases[] = { argument
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
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()
Dtcp_custom_syncookie.c92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) in create_connection()
Dxdp_bonding.c671 struct bond_test_case *test_case = &bond_test_cases[i]; in serial_test_xdp_bonding() local
Dcore_reloc.c1002 struct core_reloc_test_case *test_case, test_case_copy; in run_core_reloc_tests() local
/tools/perf/tests/
Dtests.h34 struct test_case { struct
43 struct test_case *test_cases; argument
/tools/testing/selftests/kvm/x86_64/
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/
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/
Dgup_longterm.c328 struct test_case { struct
329 const char *desc;
330 test_fn fn;
430 static void run_test_case(struct test_case const *test_case) in run_test_case()
Dcow.c1033 struct test_case { struct
1042 static const struct test_case anon_test_cases[] = { argument
1160 static void run_anon_test_case(struct test_case const *test_case) in run_anon_test_case()
1431 struct test_case const *test_case = &anon_thp_test_cases[i]; in run_anon_thp_test_cases() local
1739 static void run_non_anon_test_case(struct non_anon_test_case const *test_case) in run_non_anon_test_case()
Dmremap_test.c637 static void run_mremap_test_case(struct test test_case, int *failures, in run_mremap_test_case()
/tools/testing/selftests/kvm/
Dsystem_counter_offset_test.c19 struct test_case { struct
23 static struct test_case test_cases[] = { argument
/tools/testing/selftests/sysctl/
Dsysctl.sh1008 function test_case() function
/tools/testing/selftests/kmod/
Dkmod.sh620 function test_case() function
/tools/testing/selftests/filesystems/fuse/
Dfuse_test.c2477 struct test_case { struct
2483 const struct test_case *test_case) in run_one_test()
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c4705 struct test_case { struct
4710 void run_one_test(const char *mount_dir, struct test_case *test_case) in run_one_test()