Home
last modified time | relevance | path

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

/tools/testing/selftests/arm64/mte/
A 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()
/tools/testing/selftests/mm/
A Duffd-stress.c255 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()
A Duffd-common.h103 extern int uffd, uffd_flags, finished, *pipefd, test_type;
A 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()
A Duffd-common.c15 int uffd = -1, uffd_flags, finished, *pipefd, test_type; variable
/tools/testing/selftests/bpf/prog_tests/
A 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()
A Dbtf.c8199 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()
/tools/testing/ktest/
A Dktest.pl99 my $test_type;
284 "TEST_TYPE" => \$test_type,
1571 $name = "$test_name:$test_type";
1573 $name = $test_type;
4541 if ($test_type eq "patchcheck") {
4543 } elsif ($test_type eq "bisect") {
4545 } elsif ($test_type eq "config_bisect") {
4613 if ($test_type eq "bisect") {
4619 } elsif ($test_type eq "patchcheck") {
4636 if ($test_type eq "install") {
[all …]
/tools/testing/selftests/net/bench/page_pool/
A Dbench_page_pool_simple.c123 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()
/tools/testing/selftests/alsa/
A 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()
/tools/testing/selftests/arm64/fp/
A Dvec-syscfg.c658 typedef void (*test_type)(struct vec_data *); typedef
660 static const test_type tests[] = {

Completed in 29 milliseconds