/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 | 255 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 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()
|
/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/fs/btrfs/tests/ |
H A D | btrfs-tests.c | 51 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/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 | 8199 const struct btf_type *test_type, *expect_type; in do_test_dedup() local 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 do_test_dedup() 8227 i, expect_type->size, test_type->size)) { in do_test_dedup()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_test.c | 50 if (intel_dp->compliance.test_type == DP_TEST_LINK_TRAINING) { in intel_dp_test_compute_config() 392 intel_dp->compliance.test_type = request; in intel_dp_test_request() 500 intel_dp->compliance.test_type != DP_TEST_LINK_PHY_TEST_PATTERN) in intel_dp_test_phy() 529 switch (intel_dp->compliance.test_type) { in intel_dp_test_short_pulse() 680 if (intel_dp->compliance.test_type == in i915_displayport_test_data_show() 684 else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show() 692 } else if (intel_dp->compliance.test_type == in i915_displayport_test_data_show() 734 seq_printf(m, "%02lx\n", intel_dp->compliance.test_type); in i915_displayport_test_type_show()
|
H A D | intel_display_types.h | 1584 unsigned long test_type; member
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_slpc.c | 11 enum test_type { enum 278 static int run_test(struct intel_gt *gt, int test_type) in run_test() argument 361 switch (test_type) { in run_test() 389 if (test_type != SLPC_POWER) { in run_test()
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_diag.h | 11 u8 test_type; member
|
H A D | igc_diag.c | 114 switch (test->test_type) { in igc_reg_test()
|
/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/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/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/drivers/platform/x86/intel/ifs/ |
H A D | load.c | 17 u32 test_type; // IFS test type member 310 if (ifs_meta->test_type != test->test_num) { in validate_ifs_metadata() 312 ifs_meta->test_type); in validate_ifs_metadata()
|
/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/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 842 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/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 1533 u8 test_type; member 1714 switch (test->test_type) { in ixgbe_reg_test()
|