| /linux/tools/testing/selftests/tty/ |
| H A D | tty_tiocsti_test.c | 28 enum test_type { enum 77 const enum test_type test_type; in FIXTURE_VARIANT() local 99 .test_type = TEST_PTY_TIOCSTI_BASIC, in FIXTURE_VARIANT_ADD() 107 .test_type = TEST_PTY_TIOCSTI_BASIC, in FIXTURE_VARIANT_ADD() 115 .test_type = TEST_PTY_TIOCSTI_BASIC, in FIXTURE_VARIANT_ADD() 123 .test_type = TEST_PTY_TIOCSTI_BASIC, in FIXTURE_VARIANT_ADD() 139 .test_type = TEST_PTY_TIOCSTI_FD_PASSING, in FIXTURE_VARIANT_ADD() 147 .test_type = TEST_PTY_TIOCSTI_FD_PASSING, in FIXTURE_VARIANT_ADD() 155 .test_type = TEST_PTY_TIOCSTI_FD_PASSING, in FIXTURE_VARIANT_ADD() 163 .test_type = TEST_PTY_TIOCSTI_FD_PASSING, in FIXTURE_VARIANT_ADD() [all …]
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A D | check_user_mem.c | 26 enum test_type { enum 36 enum test_type test_type) in check_usermem_access_fault() argument 87 switch (test_type) { in check_usermem_access_fault() 143 const char* test_type; in format_test_name() local 149 test_type = "read"; in format_test_name() 152 test_type = "write"; in format_test_name() 155 test_type = "readv"; in format_test_name() 158 test_type = "writev"; in format_test_name() 191 test_type, mte_type, map_type, len, offset); in format_test_name()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | uffd-stress.c | 272 if (features & UFFD_FEATURE_WP_UNPOPULATED && gopts->test_type == TEST_ANON) in userfaultfd_stress() 390 gopts->test_type = TEST_ANON; in set_test_type() 393 gopts->test_type = TEST_HUGETLB; in set_test_type() 397 gopts->test_type = TEST_HUGETLB; in set_test_type() 401 gopts->test_type = TEST_SHMEM; in set_test_type() 404 gopts->test_type = TEST_SHMEM; in set_test_type() 413 if (!gopts->test_type) in parse_test_type_arg() 416 if (gopts->test_type == TEST_HUGETLB) in parse_test_type_arg() 439 if (gopts->test_type != TEST_ANON && !(features & UFFD_FEATURE_WP_HUGETLBFS_SHMEM)) in parse_test_type_arg() 486 if (gopts->test_type == TEST_HUGETLB && in main()
|
| H A D | gup_longterm.c | 81 enum test_type { enum 91 static void do_test(int fd, size_t size, enum test_type type, bool shared) in do_test()
|
| H A D | uffd-common.h | 62 int uffd, uffd_flags, finished, *pipefd, test_type; member
|
| /linux/net/netfilter/ |
| H A D | xt_tcpudp.c | 168 static bool type_code_in_range(u8 test_type, u8 min_code, u8 max_code, in type_code_in_range() argument 171 return type == test_type && code >= min_code && code <= max_code; in type_code_in_range() 174 static bool icmp_type_code_match(u8 test_type, u8 min_code, u8 max_code, in icmp_type_code_match() argument 177 return (test_type == 0xFF || in icmp_type_code_match() 178 type_code_in_range(test_type, min_code, max_code, type, code)) in icmp_type_code_match() 182 static bool icmp6_type_code_match(u8 test_type, u8 min_code, u8 max_code, in icmp6_type_code_match() argument 185 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert; in icmp6_type_code_match()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | kfunc_call.c | 27 enum kfunc_test_type test_type; member 36 .test_type = type, \ 45 .test_type = type, \ 102 switch (param->test_type) { in verify_success() 168 switch (param->test_type) { in verify_fail()
|
| H A D | btf.c | 8264 const struct btf_type *test_type, *expect_type; 8267 test_type = btf__type_by_id(test_btf, i); 8269 test_size = btf_type_size(test_type); 8278 if (CHECK(btf_kind(test_type) != btf_kind(expect_type), 8280 i, btf_kind(expect_type), btf_kind(test_type))) { 8284 if (CHECK(test_type->info != expect_type->info, 8286 i, expect_type->info, test_type->info)) { 8290 if (CHECK(test_type->size != expect_type->size, 8292 i, expect_type->size, test_type->size)) { 8184 const struct btf_type *test_type, *expect_type; do_test_dedup() local
|
| /linux/tools/testing/ktest/ |
| H A D | ktest.pl | 99 my $test_type; 284 "TEST_TYPE" => \$test_type, 1561 return $test_type eq "build" || $no_reboot || 1562 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") || 1563 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build") || 1564 ($test_type eq "config_bisect" && $opt{"CONFIG_BISECT_TYPE[$i]"} eq "build"); 1571 $name = "$test_name:$test_type"; 1573 $name = $test_type; 1825 my $dir = "$machine-$test_type-$type-$result-$date"; 4541 if ($test_type eq "patchcheck") { [all …]
|
| /linux/lib/ |
| H A D | test-kstrtox.c | 16 #define DECLARE_TEST_OK(type, test_type) \ argument 17 test_type { \
|
| H A D | test_bpf.c | 14840 __u8 test_type = tests[which].aux & TEST_TYPE_MASK; in generate_filter() local 14846 switch (test_type) { in generate_filter() 14907 __u8 test_type = tests[which].aux & TEST_TYPE_MASK; in release_filter() local 14909 switch (test_type) { in release_filter()
|
| /linux/tools/testing/selftests/net/bench/page_pool/ |
| H A D | bench_page_pool_simple.c | 123 enum test_type { type_fast_path, type_ptr_ring, type_page_allocator }; enum 127 enum test_type type, const char *func) in time_bench_page_pool()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_diag.h | 11 u8 test_type; member
|
| /linux/samples/bpf/ |
| H A D | map_perf_test_user.c | 33 enum test_type { enum 77 static int check_test_flags(enum test_type t) in check_test_flags() 120 static void do_test_lru(enum test_type test, int cpu) in do_test_lru()
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | pcm-test.c | 557 const char *test_name, *test_type; in run_time_tests() local 572 test_type = conf_get_string(pcm_cfg, "type", NULL, "time"); in run_time_tests() 573 if (strcmp(test_type, "time") == 0) in run_time_tests() 576 ksft_exit_fail_msg("unknown test type '%s'\n", test_type); in run_time_tests()
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | vec-syscfg.c | 658 typedef void (*test_type)(struct vec_data *); typedef 660 static const test_type tests[] = {
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_types.h | 1641 unsigned long test_type; member
|
| /linux/drivers/net/ethernet/rocker/ |
| H A D | rocker_main.c | 156 struct rocker_wait *wait, u32 test_type, in rocker_dma_test_one() argument 164 rocker_write32(rocker, TEST_DMA_CTRL, test_type); in rocker_dma_test_one()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 1005 u16 test_type; member 1327 switch (test->test_type) { in igb_reg_test()
|