Home
last modified time | relevance | path

Searched refs:test_func (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/tools/testing/selftests/x86/
H A Dlam.c77 int (*test_func)(struct testcases *test); member
662 ret = test->test_func(test); in fork_test()
837 .test_func = handle_uring,
844 .test_func = handle_uring,
853 .test_func = handle_malloc,
860 .test_func = handle_malloc,
867 .test_func = handle_max_bits,
876 .test_func = handle_syscall,
883 .test_func = handle_syscall,
894 .test_func = handle_mmap,
[all …]
/openbmc/qemu/scripts/simplebench/
H A Dsimplebench.py31 def bench_one(test_func, test_env, test_case, count=5, initial_run=True, argument
64 print(' ', test_func(test_env, test_case))
72 res = test_func(test_env, test_case)
106 def bench(test_func, test_envs, test_cases, *args, **vargs): argument
135 tab[case['id']][env['id']] = bench_one(test_func, env, case,
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_set_ftrace_file.tc26 test_func() {
43 if cat=`test_func "$cat" "$1"`; then
46 if dd1=`test_func "$dd1" "$1"`; then
49 if dd100=`test_func "$dd100" "$1"`; then
/openbmc/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c424 static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, in run_test() argument
500 ret = test_func(&trans, root->fs_info, cache, path, alignment); in run_test()
525 static int run_test_both_formats(test_func_t test_func, u32 sectorsize, in run_test_both_formats() argument
531 ret = run_test(test_func, 0, sectorsize, nodesize, alignment); in run_test_both_formats()
535 test_func, sectorsize, nodesize, alignment); in run_test_both_formats()
539 ret = run_test(test_func, 1, sectorsize, nodesize, alignment); in run_test_both_formats()
543 test_func, sectorsize, nodesize, alignment); in run_test_both_formats()
/openbmc/qemu/tests/qemu-iotests/
H A D266117 for test_func in [implicit_defaults, explicit_defaults, non_defaults,
136 print_info = test_func(vm, file_path)
/openbmc/qemu/tests/tcg/s390x/
H A Dadd-logical-with-carry.c106 static const struct test_func { struct
128 const struct test_func *f; in main() argument
/openbmc/linux/lib/
H A Dtest_vmalloc.c399 int (*test_func)(void); member
444 static int test_func(void *private) in test_func() function
475 if (!test_case_array[index].test_func()) in test_func()
546 t->task = kthread_run(test_func, t, "vmalloc_test/%d", i); in do_concurrent_test()
/openbmc/linux/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c158 void (*test_func)(char *, char *)) in test_memcpy()
171 test_func(s, d); /* run the actual test */ in test_memcpy()
221 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test()
278 r |= test_memcpy(ci1, ci0, width, offset, test_func); in do_test()
279 r |= test_memcpy(mem1, mem0, width, offset, test_func); in do_test()
/openbmc/qemu/tests/unit/
H A Dtest-string-output-visitor.c198 void (*test_func)(TestOutputVisitorData *data, in output_visitor_test_add()
204 test_func, visitor_output_teardown); in output_visitor_test_add()
H A Dtest-opts-visitor.c63 void (*test_func)(OptsVisitorFixture *f, gconstpointer test_data), in add_test()
67 test_func, teardown_fixture); in add_test()
H A Dtest-string-input-visitor.c468 … void (*test_func)(TestInputVisitorData *data, const void *user_data)) in input_visitor_test_add()
470 g_test_add(testpath, TestInputVisitorData, data, NULL, test_func, in input_visitor_test_add()
H A Dtest-qobject-output-visitor.c609 … void (*test_func)(TestOutputVisitorData *data, const void *user_data)) in output_visitor_test_add()
612 test_func, visitor_output_teardown); in output_visitor_test_add()
H A Dtest-hbitmap.c797 void (*test_func)(TestHBitmapData *data, const void *user_data)) in hbitmap_test_add()
799 g_test_add(testpath, TestHBitmapData, NULL, NULL, test_func, in hbitmap_test_add()
H A Dtest-qobject-input-visitor.c913 void (*test_func)(TestInputVisitorData *data, in input_visitor_test_add()
916 g_test_add(testpath, TestInputVisitorData, user_data, NULL, test_func, in input_visitor_test_add()
/openbmc/qemu/tests/qtest/libqos/
H A Dqgraph.h184 QOSTestFunc test_func,
H A Dqgraph.c592 QOSTestFunc test_func, QOSGraphTestOptions *opts) in qos_add_test() argument
602 node->u.test.function = test_func; in qos_add_test()
/openbmc/linux/samples/bpf/
H A Dmap_perf_test_user.c300 typedef void (*test_func)(int cpu); typedef
301 const test_func test_funcs[] = {
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c576 void (*test_func)(int netns, int prog1, int prog2); in run_tests() member
622 tests[i].test_func(netns, progs[0], progs[1]); in run_tests()