Searched refs:test_fn (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/mm/ |
H A D | gup_longterm.c | 242 typedef void (*test_fn)(int fd, size_t size); in run_with_memfd() 244 static void run_with_memfd(test_fn fn, const char *desc) in run_with_memfd() 260 static void run_with_tmpfile(test_fn fn, const char *desc) in run_with_tmpfile() 284 static void run_with_local_tmpfile(test_fn fn, const char *desc) in run_with_local_tmpfile() 307 static void run_with_memfd_hugetlb(test_fn fn, const char *desc, in run_with_memfd_hugetlb() 330 test_fn fn; in test_shared_rw_fast_pin() 234 typedef void (*test_fn)(int fd, size_t size); global() typedef
|
H A D | cow.c | 739 typedef void (*test_fn)(char *mem, size_t size, bool hugetlb); in do_run_with_base_page() 741 static void do_run_with_base_page(test_fn fn, bool swapout) in do_run_with_base_page() 776 static void run_with_base_page(test_fn fn, const char *desc) in do_run_with_thp() 782 static void run_with_base_page_swap(test_fn fn, const char *desc) in do_run_with_thp() 799 static void do_run_with_thp(test_fn fn, enum thp_run thp_run, size_t thpsize) in do_run_with_thp() 942 static void run_with_thp(test_fn fn, const char *desc, size_t size) in run_with_single_pte_of_thp() 949 static void run_with_thp_swap(test_fn fn, const char *desc, size_t size) in run_with_single_pte_of_thp_swap() 956 static void run_with_pte_mapped_thp(test_fn fn, const char *desc, size_t size) in run_with_partial_mremap_thp() 963 static void run_with_pte_mapped_thp_swap(test_fn fn, const char *desc, size_t size) in run_with_partial_shared_thp() 970 static void run_with_single_pte_of_thp(test_fn f 711 typedef void (*test_fn)(char *mem, size_t size); global() typedef [all...] |
/linux/tools/testing/selftests/riscv/hwprobe/ |
H A D | cbo.c | 168 void (*test_fn)(void *arg); member 222 tests[i].test_fn(&cpus); in main()
|