Home
last modified time | relevance | path

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

12

/linux-6.12.1/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-6.12.1/tools/testing/selftests/mm/
Duffd-stress.c254 if (features & UFFD_FEATURE_WP_UNPOPULATED && test_type == TEST_ANON) in userfaultfd_stress()
371 test_type = TEST_ANON; in set_test_type()
374 test_type = TEST_HUGETLB; in set_test_type()
378 test_type = TEST_HUGETLB; in set_test_type()
382 test_type = TEST_SHMEM; in set_test_type()
385 test_type = TEST_SHMEM; in set_test_type()
394 if (!test_type) in parse_test_type_arg()
397 if (test_type == TEST_HUGETLB) in parse_test_type_arg()
420 if (test_type != TEST_ANON && !(features & UFFD_FEATURE_WP_HUGETLBFS_SHMEM)) in parse_test_type_arg()
449 if (test_type == TEST_HUGETLB && in main()
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.h103 extern int uffd, uffd_flags, finished, *pipefd, test_type;
Duffd-common.c15 int uffd = -1, uffd_flags, finished, *pipefd, test_type; variable
/linux-6.12.1/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-6.12.1/fs/btrfs/tests/
Dbtrfs-tests.c49 static struct file_system_type test_type = { variable
74 ret = register_filesystem(&test_type); in btrfs_init_test_fs()
80 test_mnt = kern_mount(&test_type); in btrfs_init_test_fs()
83 unregister_filesystem(&test_type); in btrfs_init_test_fs()
92 unregister_filesystem(&test_type); in btrfs_destroy_test_fs()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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()
Dbtf.c8184 const struct btf_type *test_type, *expect_type; in do_test_dedup() local
8187 test_type = btf__type_by_id(test_btf, i); in do_test_dedup()
8189 test_size = btf_type_size(test_type); in do_test_dedup()
8198 if (CHECK(btf_kind(test_type) != btf_kind(expect_type), in do_test_dedup()
8200 i, btf_kind(expect_type), btf_kind(test_type))) { in do_test_dedup()
8204 if (CHECK(test_type->info != expect_type->info, in do_test_dedup()
8206 i, expect_type->info, test_type->info)) { in do_test_dedup()
8210 if (CHECK(test_type->size != expect_type->size, in do_test_dedup()
8212 i, expect_type->size, test_type->size)) { in do_test_dedup()
/linux-6.12.1/tools/testing/ktest/
Dktest.pl97 my $test_type;
281 "TEST_TYPE" => \$test_type,
1533 return $test_type eq "build" || $no_reboot ||
1534 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") ||
1535 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build") ||
1536 ($test_type eq "config_bisect" && $opt{"CONFIG_BISECT_TYPE[$i]"} eq "build");
1543 $name = "$test_name:$test_type";
1545 $name = $test_type;
1797 my $dir = "$machine-$test_type-$type-$result-$date";
4424 if ($test_type eq "patchcheck") {
[all …]
/linux-6.12.1/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
346 switch (test_type) { in run_test()
374 if (test_type != SLPC_POWER) { in run_test()
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_diag.h11 u8 test_type; member
Digc_diag.c114 switch (test->test_type) { in igc_reg_test()
/linux-6.12.1/lib/
Dtest-kstrtox.c16 #define DECLARE_TEST_OK(type, test_type) \ argument
17 test_type { \
/linux-6.12.1/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-6.12.1/drivers/platform/x86/intel/ifs/
Dload.c16 u32 test_type; // IFS test type member
309 if (ifs_meta->test_type != test->test_num) { in validate_ifs_metadata()
311 ifs_meta->test_type); in validate_ifs_metadata()
/linux-6.12.1/tools/testing/selftests/alsa/
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-6.12.1/tools/testing/selftests/arm64/fp/
Dvec-syscfg.c658 typedef void (*test_type)(struct vec_data *); typedef
660 static const test_type tests[] = {
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c905 if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
909 else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
917 } else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
958 seq_printf(m, "%02lx\n", intel_dp->compliance.test_type); in i915_displayport_test_type_show()
Dintel_display_types.h1648 unsigned long test_type; member
Dg4x_dp.c1176 intel_dp->compliance.test_type == DP_TEST_LINK_PHY_TEST_PATTERN) { in intel_dp_hotplug()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c566 u8 test_type; member
677 switch (test->test_type) { in ixgbevf_reg_test()
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/ethernet/rocker/
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-6.12.1/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1005 u16 test_type; member
1327 switch (test->test_type) { in igb_reg_test()

12