Lines Matching refs:fn
302 static void run_with_memfd(test_fn fn, const char *desc) in run_with_memfd() argument
315 fn(fd, pagesize); in run_with_memfd()
319 static void run_with_tmpfile(test_fn fn, const char *desc) in run_with_tmpfile() argument
337 fn(fd, pagesize); in run_with_tmpfile()
343 static void run_with_local_tmpfile(test_fn fn, const char *desc) in run_with_local_tmpfile() argument
360 fn(fd, pagesize); in run_with_local_tmpfile()
366 static void run_with_memfd_hugetlb(test_fn fn, const char *desc, in run_with_memfd_hugetlb() argument
384 fn(fd, hugetlbsize); in run_with_memfd_hugetlb()
390 test_fn fn; member
494 run_with_memfd(test_case->fn, test_case->desc); in run_test_case()
495 run_with_tmpfile(test_case->fn, test_case->desc); in run_test_case()
496 run_with_local_tmpfile(test_case->fn, test_case->desc); in run_test_case()
498 run_with_memfd_hugetlb(test_case->fn, test_case->desc, in run_test_case()