/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 1034 my $test_case = 0; 1075 $test_case = 1; 1178 $test_case = 1; 1259 return $test_case; 1275 my $test_case; 1278 $test_case = __read_config $config, \$test_num; 1284 if (!$test_case) {
|
/linux-master/tools/perf/tests/ |
H A D | tests.h | 34 struct test_case { struct 43 struct test_case *test_cases; 66 struct test_case tests__##_name[] = { \
|
H A D | tests-scripts.c | 147 struct test_case *tests;
|
H A D | parse-events.c | 2863 static struct test_case tests__parse_events[] = {
|
H A D | pmu-events.c | 1097 static struct test_case pmu_events_tests[] = {
|
H A D | perf-time-to-tsc.c | 208 static struct test_case time_to_tsc_tests[] = {
|
H A D | mmap-basic.c | 281 static struct test_case tests__basic_mmap[] = {
|
H A D | openat-syscall-all-cpus.c | 128 static struct test_case tests__openat_syscall_event_on_all_cpus[] = {
|
H A D | cpumap.c | 250 static struct test_case tests__cpu_map[] = {
|
H A D | dso-data.c | 398 static struct test_case tests__dso_data[] = {
|
/linux-master/lib/ |
H A D | test_kmod.c | 76 enum kmod_test_case test_case; member in struct:test_config 140 static const char *test_case_str(enum kmod_test_case test_case) argument 142 switch (test_case) { 196 switch (config->test_case) { 216 switch (config->test_case) { 248 switch (config->test_case) { 423 test_case_str(config->test_case), 424 config->test_case); 440 test_case_str(config->test_case), 441 config->test_case); 723 trigger_config_run_type(struct kmod_test_device *test_dev, enum kmod_test_case test_case, const char *test_str) argument [all...] |
/linux-master/tools/testing/vsock/ |
H A D | vsock_uring_test.c | 214 static struct test_case test_cases[] = {
|
H A D | vsock_test.c | 1406 static struct test_case test_cases[] = {
|
H A D | util.c | 429 void run_tests(const struct test_case *test_cases, 477 void list_tests(const struct test_case *test_cases) 489 void skip_test(struct test_case *test_cases, size_t test_cases_len,
|
H A D | vsock_diag_test.c | 427 static struct test_case test_cases[] = {
|
H A D | util.h | 27 struct test_case { struct 57 void run_tests(const struct test_case *test_cases, 59 void list_tests(const struct test_case *test_cases); 60 void skip_test(struct test_case *test_cases, size_t test_cases_len,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | tcp_custom_syncookie.c | 92 static void create_connection(struct test_tcp_custom_syncookie_case *test_case) argument 96 server = start_server(test_case->family, test_case->type, test_case->addr, 0, 0);
|
H A D | ctx_rewrite.c | 31 struct test_case { struct 66 static struct test_case test_cases[] = { 757 static void run_one_testcase(struct btf *btf, struct test_case *test)
|
H A D | xdp_bonding.c | 671 struct bond_test_case *test_case = &bond_test_cases[i]; local 673 if (test__start_subtest(test_case->name)) 676 test_case->mode, 677 test_case->xmit_policy);
|
/linux-master/lib/kunit/ |
H A D | executor.c | 107 struct kunit_case *filtered, *test_case; local 110 kunit_suite_for_each_test_case(suite, test_case) { 111 if (!test_glob || glob_match(test_glob, test_case->name)) 129 kunit_suite_for_each_test_case(suite, test_case) { 130 if (!test_glob || glob_match(test_glob, test_case->name)) 131 filtered[n++] = *test_case; 281 struct kunit_case *test_case; local 293 kunit_suite_for_each_test_case((*suites), test_case) { 294 pr_info("%s.%s\n", (*suites)->name, test_case->name); 296 kunit_print_attr((void *)test_case, tru [all...] |
H A D | test.c | 133 struct kunit_case *test_case; local 136 kunit_suite_for_each_test_case(suite, test_case) 207 const struct kunit_case *test_case; local 213 kunit_suite_for_each_test_case(suite, test_case) { 214 if (test_case->status == KUNIT_FAILURE) 216 else if (test_case->status == KUNIT_SUCCESS) 236 struct kunit_case *test_case) 242 if (tc == test_case) 358 struct kunit_case *test_case, 363 enum kunit_speed speed = test_case 235 kunit_test_case_num(struct kunit_suite *suite, struct kunit_case *test_case) argument 357 kunit_run_case_check_speed(struct kunit *test, struct kunit_case *test_case, struct timespec64 duration) argument 379 kunit_run_case_internal(struct kunit *test, struct kunit_suite *suite, struct kunit_case *test_case) argument 426 struct kunit_case *test_case; member in struct:kunit_try_catch_context 434 struct kunit_case *test_case = ctx->test_case; local 518 kunit_run_case_catch_errors(struct kunit_suite *suite, struct kunit_case *test_case, struct kunit *test) argument 604 struct kunit_case *test_case; local [all...] |
/linux-master/include/kunit/ |
H A D | test.h | 295 enum kunit_status status; /* Read only after test_case finishes! */ 324 struct kunit_case *test_case); 410 #define kunit_suite_for_each_test_case(suite, test_case) \ 411 for (test_case = suite->test_cases; test_case->run_case; test_case++)
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | kvm_clock_test.c | 19 struct test_case { struct 24 static struct test_case test_cases[] = { 77 static void setup_clock(struct kvm_vm *vm, struct test_case *test_case) argument 83 data.clock = test_case->kvmclock_base; 84 if (test_case->realtime_offset) { 99 data.realtime += test_case->realtime_offset;
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | system_counter_offset_test.c | 19 struct test_case { struct 23 static struct test_case test_cases[] = { 36 static void setup_system_counter(struct kvm_vcpu *vcpu, struct test_case *test) 42 static uint64_t guest_read_system_counter(struct test_case *test) 47 static uint64_t host_read_guest_system_counter(struct test_case *test) 66 struct test_case *test = &test_cases[i]; 96 struct test_case *test = &test_cases[i];
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 569 static void run_mremap_test_case(struct test test_case, int *failures, argument 573 long long remap_time = remap_region(test_case.config, threshold_mb, 577 if (test_case.expect_failure) 579 test_case.name); 581 ksft_test_result_fail("%s\n", test_case.name); 590 test_case.config.region_size <= threshold_mb * _1MB) 592 test_case.name, remap_time); 594 ksft_test_result_pass("%s\n", test_case.name);
|