Home
last modified time | relevance | path

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

12

/Linux-v6.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-v6.1/fs/btrfs/tests/
Dbtrfs-tests.c47 static struct file_system_type test_type = { variable
75 ret = register_filesystem(&test_type); in btrfs_init_test_fs()
81 test_mnt = kern_mount(&test_type); in btrfs_init_test_fs()
84 unregister_filesystem(&test_type); in btrfs_init_test_fs()
93 unregister_filesystem(&test_type); in btrfs_destroy_test_fs()
/Linux-v6.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, \
98 switch (param->test_type) { in verify_success()
164 switch (param->test_type) { in verify_fail()
Dbtf.c7789 const struct btf_type *test_type, *expect_type; in do_test_dedup() local
7792 test_type = btf__type_by_id(test_btf, i); in do_test_dedup()
7794 test_size = btf_type_size(test_type); in do_test_dedup()
7803 if (CHECK(btf_kind(test_type) != btf_kind(expect_type), in do_test_dedup()
7805 i, btf_kind(expect_type), btf_kind(test_type))) { in do_test_dedup()
7809 if (CHECK(test_type->info != expect_type->info, in do_test_dedup()
7811 i, expect_type->info, test_type->info)) { in do_test_dedup()
7815 if (CHECK(test_type->size != expect_type->size, in do_test_dedup()
7817 i, expect_type->size, test_type->size)) { in do_test_dedup()
/Linux-v6.1/kernel/rcu/
Drcu.h478 void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags,
487 static inline void rcutorture_get_gp_data(enum rcutorture_type test_type, in rcutorture_get_gp_data() argument
512 static inline void srcutorture_get_gp_data(enum rcutorture_type test_type, in srcutorture_get_gp_data() argument
516 if (test_type != SRCU_FLAVOR) in srcutorture_get_gp_data()
524 void srcutorture_get_gp_data(enum rcutorture_type test_type,
Dsrcutree.c1640 void srcutorture_get_gp_data(enum rcutorture_type test_type, in srcutorture_get_gp_data() argument
1644 if (test_type != SRCU_FLAVOR) in srcutorture_get_gp_data()
/Linux-v6.1/tools/testing/ktest/
Dktest.pl97 my $test_type;
278 "TEST_TYPE" => \$test_type,
1509 return $test_type eq "build" || $no_reboot ||
1510 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") ||
1511 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build") ||
1512 ($test_type eq "config_bisect" && $opt{"CONFIG_BISECT_TYPE[$i]"} eq "build");
1519 $name = "$test_name:$test_type";
1521 $name = $test_type;
1773 my $dir = "$machine-$test_type-$type-$result-$date";
4375 if ($test_type eq "patchcheck") {
[all …]
/Linux-v6.1/tools/testing/selftests/vm/
Duserfaultfd.c79 static int test_type; variable
400 if (test_type == TEST_HUGETLB && map_shared) in uffd_minor_feature()
402 else if (test_type == TEST_SHMEM) in uffd_minor_feature()
412 if (test_type == TEST_HUGETLB) in get_expected_ioctls()
1658 if (test_type == TEST_ANON) { in userfaultfd_stress()
1704 test_type = TEST_ANON; in set_test_type()
1707 test_type = TEST_HUGETLB; in set_test_type()
1711 test_type = TEST_HUGETLB; in set_test_type()
1717 test_type = TEST_SHMEM; in set_test_type()
1731 if (!test_type) in parse_test_type_arg()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dselftest_slpc.c11 enum test_type { enum
143 static int run_test(struct intel_gt *gt, int test_type) in run_test() argument
215 switch (test_type) { in run_test()
/Linux-v6.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-v6.1/lib/
Dtest-kstrtox.c16 #define DECLARE_TEST_OK(type, test_type) \ argument
17 test_type { \
/Linux-v6.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-v6.1/tools/testing/selftests/bpf/
Dxskxceiver.h69 enum test_type { enum
Dxskxceiver.c1415 enum test_type type) in testapp_validate_traffic_single_thread()
1724 static void run_pkt_test(struct test_spec *test, enum test_mode mode, enum test_type type) in run_pkt_test()
/Linux-v6.1/tools/testing/selftests/arm64/fp/
Dvec-syscfg.c627 typedef void (*test_type)(struct vec_data *); typedef
629 static const test_type tests[] = {
/Linux-v6.1/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c566 u8 test_type; member
677 switch (test->test_type) { in ixgbevf_reg_test()
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c1272 if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
1276 else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
1284 } else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show()
1326 seq_printf(m, "%02lx\n", intel_dp->compliance.test_type); in i915_displayport_test_type_show()
Dintel_display_types.h1531 unsigned long test_type; member
Dg4x_dp.c1133 intel_dp->compliance.test_type == DP_TEST_LINK_PHY_TEST_PATTERN) { in intel_dp_hotplug()
Dintel_dp.c1280 if (intel_dp->compliance.test_type == DP_TEST_LINK_TRAINING) { in intel_dp_adjust_compliance_config()
3821 intel_dp->compliance.test_type = request; in intel_dp_handle_test_request()
4369 switch (intel_dp->compliance.test_type) { in intel_dp_short_pulse()
/Linux-v6.1/net/ipv4/netfilter/
Dip_tables.c1801 icmp_type_code_match(u_int8_t test_type, u_int8_t min_code, u_int8_t max_code, in icmp_type_code_match() argument
1805 return ((test_type == 0xFF) || in icmp_type_code_match()
1806 (type == test_type && code >= min_code && code <= max_code)) in icmp_type_code_match()
/Linux-v6.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-v6.1/net/ipv6/netfilter/
Dip6_tables.c1807 icmp6_type_code_match(u_int8_t test_type, u_int8_t min_code, u_int8_t max_code, in icmp6_type_code_match() argument
1811 return (type == test_type && code >= min_code && code <= max_code) in icmp6_type_code_match()
/Linux-v6.1/drivers/net/ethernet/rocker/
Drocker_main.c157 struct rocker_wait *wait, u32 test_type, in rocker_dma_test_one() argument
165 rocker_write32(rocker, TEST_DMA_CTRL, test_type); in rocker_dma_test_one()

12