Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H 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
H A Dcore_extern.c23 static struct test_case { struct
28 } test_cases[] = { argument
H 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()
H A Dsock_iter_batch.c601 struct test_case { struct
615 static struct test_case resume_tests[] = { argument
H A Dtcp_custom_syncookie.c92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) in create_connection()
H A Dxdp_bonding.c671 struct bond_test_case *test_case = &bond_test_cases[i]; in serial_test_xdp_bonding() local
H A Dcore_reloc.c1002 struct core_reloc_test_case *test_case, test_case_copy; run_core_reloc_tests() local
[all...]
/linux/tools/testing/vsock/
H 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;
/linux/net/mptcp/
H A Dcrypto_test.c6 struct test_case { struct
15 static struct test_case tests[] = { argument
/linux/tools/perf/tests/
H A Dtests.h35 struct test_case { struct
45 struct test_case *test_cases; argument
H 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()
/linux/lib/kunit/
H A Dtest.c140 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 Dattributes.c401 struct kunit_case *filtered, *test_case; in kunit_filter_attr_tests() local
/linux/tools/testing/selftests/net/
H 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
/linux/tools/testing/selftests/mm/
H 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()
H A Dcow.c1099 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 Dsystem_counter_offset_test.c19 struct test_case { struct
23 static struct test_case test_cases[] = { argument
/linux/drivers/virt/nitro_enclaves/
H A Dne_misc_dev_test.c123 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 Dtest_map_in_map.bpf.c109 u16 test_case, port, dst6[8]; in BPF_KSYSCALL() local
H A Dmap_perf_test.bpf.c188 u16 test_case; in BPF_KSYSCALL() local
/linux/tools/testing/selftests/sysctl/
H A Dsysctl.sh1038 function test_case() function
/linux/tools/testing/selftests/kmod/
H A Dkmod.sh620 function test_case() function
/linux/lib/
H A Dtest_kmod.c82 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 Dtest.h415 #define kunit_suite_for_each_test_case(suite, test_case) \ argument