Lines Matching refs:test_case
961 struct test_case {
970 static const struct test_case anon_test_cases[] = {
1088 static void run_anon_test_case(struct test_case const *test_case)
1092 run_with_base_page(test_case->fn, test_case->desc);
1093 run_with_base_page_swap(test_case->fn, test_case->desc);
1095 run_with_thp(test_case->fn, test_case->desc);
1096 run_with_thp_swap(test_case->fn, test_case->desc);
1097 run_with_pte_mapped_thp(test_case->fn, test_case->desc);
1098 run_with_pte_mapped_thp_swap(test_case->fn, test_case->desc);
1099 run_with_single_pte_of_thp(test_case->fn, test_case->desc);
1100 run_with_single_pte_of_thp_swap(test_case->fn, test_case->desc);
1101 run_with_partial_mremap_thp(test_case->fn, test_case->desc);
1102 run_with_partial_shared_thp(test_case->fn, test_case->desc);
1105 run_with_hugetlb(test_case->fn, test_case->desc,
1292 static const struct test_case anon_thp_test_cases[] = {
1338 struct test_case const *test_case = &anon_thp_test_cases[i];
1340 ksft_print_msg("[RUN] %s\n", test_case->desc);
1341 do_run_with_thp(test_case->fn, THP_RUN_PMD);
1646 static void run_non_anon_test_case(struct non_anon_test_case const *test_case)
1650 run_with_zeropage(test_case->fn, test_case->desc);
1651 run_with_memfd(test_case->fn, test_case->desc);
1652 run_with_tmpfile(test_case->fn, test_case->desc);
1654 run_with_huge_zeropage(test_case->fn, test_case->desc);
1656 run_with_memfd_hugetlb(test_case->fn, test_case->desc,