/kernel/linux/linux-6.6/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() 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_typ in format_test_name() 34 check_usermem_access_fault(int mem_type, int mode, int mapping, int tag_offset, int tag_len, enum test_type test_type) check_usermem_access_fault() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | uffd-stress.c | 364 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()
|
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()
|
H A D | uffd-common.h | 95 extern int uffd, uffd_flags, finished, *pipefd, test_type;
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A D | btrfs-tests.c | 47 static struct file_system_type test_type = { variable 68 ret = register_filesystem(&test_type); in btrfs_init_test_fs() 74 test_mnt = kern_mount(&test_type); in btrfs_init_test_fs() 77 unregister_filesystem(&test_type); in btrfs_init_test_fs() 86 unregister_filesystem(&test_type); in btrfs_destroy_test_fs()
|
/kernel/linux/linux-6.6/fs/btrfs/tests/ |
H A D | btrfs-tests.c | 48 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()
|
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | rcu.h | 455 void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags, 464 static inline void rcutorture_get_gp_data(enum rcutorture_type test_type, in rcutorture_get_gp_data() argument 489 static inline void srcutorture_get_gp_data(enum rcutorture_type test_type, in srcutorture_get_gp_data() argument 493 if (test_type != SRCU_FLAVOR) in srcutorture_get_gp_data() 501 void srcutorture_get_gp_data(enum rcutorture_type test_type,
|
/kernel/linux/linux-6.6/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, \ 100 switch (param->test_type) { in verify_success() 166 switch (param->test_type) { in verify_fail()
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | rcu.h | 545 void rcutorture_get_gp_data(enum rcutorture_type test_type, int *flags, 554 static inline void rcutorture_get_gp_data(enum rcutorture_type test_type, in rcutorture_get_gp_data() argument 579 static inline void srcutorture_get_gp_data(enum rcutorture_type test_type, in srcutorture_get_gp_data() argument 583 if (test_type != SRCU_FLAVOR) in srcutorture_get_gp_data() 591 void srcutorture_get_gp_data(enum rcutorture_type test_type,
|
/kernel/linux/linux-5.10/tools/testing/ktest/ |
H A D | ktest.pl | 97 my $test_type; 279 "TEST_TYPE" => \$test_type, 1457 return $test_type eq "build" || $no_reboot || 1458 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") || 1459 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build") || 1460 ($test_type eq "config_bisect" && $opt{"CONFIG_BISECT_TYPE[$i]"} eq "build"); 1469 $name = "$test_name:$test_type"; 1471 $name = $test_type; 1725 my $dir = "$machine-$test_type-$type-$result-$date"; 4401 if ($test_type e [all...] |
/kernel/linux/linux-6.6/tools/testing/ktest/ |
H A D | ktest.pl | 97 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 e [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc_diag.h | 11 u8 test_type; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | userfaultfd.c | 75 static int test_type; variable 849 if (test_type != TEST_HUGETLB) in faulting_process() 916 if (test_type == TEST_HUGETLB) in faulting_process() 1457 test_type = TEST_ANON; in set_test_type() 1462 test_type = TEST_HUGETLB; in set_test_type() 1466 test_type = TEST_HUGETLB; in set_test_type() 1470 test_type = TEST_SHMEM; in set_test_type() 1476 if (test_type == TEST_HUGETLB) in set_test_type() 1529 if (test_type == TEST_HUGETLB) { in main()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
H A D | dp_debug.c | 373 struct dentry *test_data, *test_type; in dp_debug_init() local 401 test_type = debugfs_create_file("msm_dp_test_type", 0444, in dp_debug_init() 404 if (IS_ERR_OR_NULL(test_type)) { in dp_debug_init() 405 rc = PTR_ERR(test_type); in dp_debug_init() 406 DRM_ERROR("[%s] debugfs test_type failed, rc=%d\n", in dp_debug_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | selftest_slpc.c | 11 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
H A D | pcm-test.c | 527 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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | map_perf_test_user.c | 34 enum test_type { enum 78 static int check_test_flags(enum test_type t) in check_test_flags() 121 static void do_test_lru(enum test_type test, int cpu) in do_test_lru()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/lib/ |
H A D | test-kstrtox.c | 16 #define DECLARE_TEST_OK(type, test_type) \ 17 test_type { \
|
/kernel/linux/linux-6.6/lib/ |
H A D | test-kstrtox.c | 16 #define DECLARE_TEST_OK(type, test_type) \ 17 test_type { \
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xskxceiver.h | 69 enum test_type { enum
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | vec-syscfg.c | 650 typedef void (*test_type)(struct vec_data *); typedef 652 static const test_type tests[] = {
|