Lines Matching defs:test_fn
677 typedef void (*test_fn)(char *mem, size_t size);
679 static void do_run_with_base_page(test_fn fn, bool swapout)
714 static void run_with_base_page(test_fn fn, const char *desc)
720 static void run_with_base_page_swap(test_fn fn, const char *desc)
737 static void do_run_with_thp(test_fn fn, enum thp_run thp_run)
878 static void run_with_thp(test_fn fn, const char *desc)
884 static void run_with_thp_swap(test_fn fn, const char *desc)
890 static void run_with_pte_mapped_thp(test_fn fn, const char *desc)
896 static void run_with_pte_mapped_thp_swap(test_fn fn, const char *desc)
902 static void run_with_single_pte_of_thp(test_fn fn, const char *desc)
908 static void run_with_single_pte_of_thp_swap(test_fn fn, const char *desc)
914 static void run_with_partial_mremap_thp(test_fn fn, const char *desc)
920 static void run_with_partial_shared_thp(test_fn fn, const char *desc)
926 static void run_with_hugetlb(test_fn fn, const char *desc, size_t hugetlbsize)
963 test_fn fn;