Home
last modified time | relevance | path

Searched refs:test_type (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_user_mem.c26 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 Duffd-stress.c255 if (features & UFFD_FEATURE_WP_UNPOPULATED && test_type == TEST_ANON) in userfaultfd_stress()
372 test_type = TEST_ANON; in set_test_type()
375 test_type = TEST_HUGETLB; in set_test_type()
379 test_type = TEST_HUGETLB; in set_test_type()
383 test_type = TEST_SHMEM; in set_test_type()
386 test_type = TEST_SHMEM; in set_test_type()
395 if (!test_type) in parse_test_type_arg()
398 if (test_type == TEST_HUGETLB) in parse_test_type_arg()
421 if (test_type != TEST_ANON && !(features & UFFD_FEATURE_WP_HUGETLBFS_SHMEM)) in parse_test_type_arg()
451 if (test_type == TEST_HUGETLB && in main()
H A Dgup_longterm.c81 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 Duffd-common.h103 extern int uffd, uffd_flags, finished, *pipefd, test_type;
H A Duffd-common.c15 int uffd = -1, uffd_flags, finished, *pipefd, test_type; variable
/linux/net/netfilter/
H A Dxt_tcpudp.c168 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 Dkfunc_call.c27 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 Dbtf.c8199 const struct btf_type *test_type, *expect_type; in do_test_dedup()
8202 test_type = btf__type_by_id(test_btf, i); in do_test_dedup()
8204 test_size = btf_type_size(test_type); in do_test_dedup()
8213 if (CHECK(btf_kind(test_type) != btf_kind(expect_type), in do_test_dedup()
8215 i, btf_kind(expect_type), btf_kind(test_type))) { in do_test_dedup()
8219 if (CHECK(test_type->info != expect_type->info, in do_test_dedup()
8221 i, expect_type->info, test_type->info)) { in do_test_dedup()
8225 if (CHECK(test_type->size != expect_type->size, in test_btf()
8227 i, expect_type->size, test_type->size)) { in test_btf()
8184 const struct btf_type *test_type, *expect_type; do_test_dedup() local
/linux/tools/testing/ktest/
H A Dktest.pl99 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/drivers/net/ethernet/intel/igc/
H A Digc_diag.h11 u8 test_type; member
/linux/lib/
H A Dtest-kstrtox.c16 #define DECLARE_TEST_OK(type, test_type) \ argument
17 test_type { \
H A Dtest_bpf.c14840 __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 Dbench_page_pool_simple.c123 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/samples/bpf/
H A Dmap_perf_test_user.c33 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 Dpcm-test.c557 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 Dvec-syscfg.c658 typedef void (*test_type)(struct vec_data *); typedef
660 static const test_type tests[] = {
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c566 u8 test_type; member
677 switch (test->test_type) { in ixgbevf_reg_test()
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c842 static int myri10ge_dma_test(struct myri10ge_priv *mgp, int test_type) in myri10ge_dma_test() argument
875 status = myri10ge_send_cmd(mgp, test_type, &cmd, 0); in myri10ge_dma_test()
884 status = myri10ge_send_cmd(mgp, test_type, &cmd, 0); in myri10ge_dma_test()
894 status = myri10ge_send_cmd(mgp, test_type, &cmd, 0); in myri10ge_dma_test()
907 if (status != 0 && test_type != MXGEFW_CMD_UNALIGNED_TEST) in myri10ge_dma_test()
/linux/drivers/net/ethernet/rocker/
H A Drocker_main.c156 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 Digb_ethtool.c1005 u16 test_type; member
1327 switch (test->test_type) { in igb_reg_test()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1533 u8 test_type; member
1714 switch (test->test_type) { in ixgbe_reg_test()