Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/testing/selftests/arm64/mte/
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-v6.6/net/netfilter/
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-v6.6/tools/testing/selftests/mm/
Duffd-stress.c364 test_type = TEST_ANON; in set_test_type()
367 test_type = TEST_HUGETLB; in set_test_type()
371 test_type = TEST_HUGETLB; in set_test_type()
375 test_type = TEST_SHMEM; in set_test_type()
378 test_type = TEST_SHMEM; in set_test_type()
389 if (!test_type) in parse_test_type_arg()
392 if (test_type == TEST_HUGETLB) in parse_test_type_arg()
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()
Duffd-common.h95 extern int uffd, uffd_flags, finished, *pipefd, test_type;
Duffd-common.c15 int uffd = -1, uffd_flags, finished, *pipefd, test_type; variable
/Linux-v6.6/fs/btrfs/tests/
Dbtrfs-tests.c48 static struct file_system_type test_type = { variable
76 ret = register_filesystem(&test_type); in btrfs_init_test_fs()
82 test_mnt = kern_mount(&test_type); in btrfs_init_test_fs()
85 unregister_filesystem(&test_type); in btrfs_init_test_fs()
94 unregister_filesystem(&test_type); in btrfs_destroy_test_fs()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dkfunc_call.c27 enum kfunc_test_type test_type; member
36 .test_type = type, \
45 .test_type = type, \
100 switch (param->test_type) { in verify_success()
166 switch (param->test_type) { in verify_fail()
Dbtf.c8125 const struct btf_type *test_type, *expect_type; in do_test_dedup() local
8128 test_type = btf__type_by_id(test_btf, i); in do_test_dedup()
8130 test_size = btf_type_size(test_type); in do_test_dedup()
8139 if (CHECK(btf_kind(test_type) != btf_kind(expect_type), in do_test_dedup()
8141 i, btf_kind(expect_type), btf_kind(test_type))) { in do_test_dedup()
8145 if (CHECK(test_type->info != expect_type->info, in do_test_dedup()
8147 i, expect_type->info, test_type->info)) { in do_test_dedup()
8151 if (CHECK(test_type->size != expect_type->size, in do_test_dedup()
8153 i, expect_type->size, test_type->size)) { in do_test_dedup()
/Linux-v6.6/kernel/rcu/
Drcu.h543 void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags,
552 static inline void rcutorture_get_gp_data(enum rcutorture_type test_type, in rcutorture_get_gp_data() argument
577 static inline void srcutorture_get_gp_data(enum rcutorture_type test_type, in srcutorture_get_gp_data() argument
581 if (test_type != SRCU_FLAVOR) in srcutorture_get_gp_data()
589 void srcutorture_get_gp_data(enum rcutorture_type test_type,
Dsrcutree.c1787 void srcutorture_get_gp_data(enum rcutorture_type test_type, in srcutorture_get_gp_data() argument
1791 if (test_type != SRCU_FLAVOR) in srcutorture_get_gp_data()
/Linux-v6.6/tools/testing/ktest/
Dktest.pl97 my $test_type;
279 "TEST_TYPE" => \$test_type,
1519 return $test_type eq "build" || $no_reboot ||
1520 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") ||
1521 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build") ||
1522 ($test_type eq "config_bisect" && $opt{"CONFIG_BISECT_TYPE[$i]"} eq "build");
1529 $name = "$test_name:$test_type";
1531 $name = $test_type;
1783 my $dir = "$machine-$test_type-$type-$result-$date";
4409 if ($test_type eq "patchcheck") {
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dselftest_slpc.c11 enum test_type { enum
263 static int run_test(struct intel_gt *gt, int test_type) in run_test() argument
345 switch (test_type) { in run_test()
373 if (test_type != SLPC_POWER) { in run_test()
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_diag.h11 u8 test_type; member
Digc_diag.c114 switch (test->test_type) { in igc_reg_test()
/Linux-v6.6/lib/
Dtest-kstrtox.c16 #define DECLARE_TEST_OK(type, test_type) \ argument
17 test_type { \
/Linux-v6.6/samples/bpf/
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-v6.6/tools/testing/selftests/alsa/
Dpcm-test.c527 const char *test_name, *test_type; in run_time_tests() local
542 test_type = conf_get_string(pcm_cfg, "type", NULL, "time"); in run_time_tests()
543 if (strcmp(test_type, "time") == 0) in run_time_tests()
546 ksft_exit_fail_msg("unknown test type '%s'\n", test_type); in run_time_tests()
/Linux-v6.6/tools/testing/selftests/bpf/
Dxskxceiver.h69 enum test_type { enum
/Linux-v6.6/tools/testing/selftests/arm64/fp/
Dvec-syscfg.c650 typedef void (*test_type)(struct vec_data *); typedef
652 static const test_type tests[] = {
/Linux-v6.6/drivers/platform/x86/intel/ifs/
Dload.c15 u32 test_type; // IFS test type member
/Linux-v6.6/drivers/base/regmap/
Dregmap-kunit.c923 struct raw_test_types *test_type, in gen_raw_regmap() argument
932 config->cache_type = test_type->cache_type; in gen_raw_regmap()
933 config->val_format_endian = test_type->val_endian; in gen_raw_regmap()
958 switch (test_type->val_endian) { in gen_raw_regmap()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c930 if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
934 else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
942 } else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
983 seq_printf(m, "%02lx\n", intel_dp->compliance.test_type); in i915_displayport_test_type_show()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c566 u8 test_type; member
677 switch (test->test_type) { in ixgbevf_reg_test()
/Linux-v6.6/drivers/net/ethernet/myricom/myri10ge/
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()

12