Home
last modified time | relevance | path

Searched refs:test_function (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/powerpc/
Dharness.c27 int run_test(int (test_function)(void), const char *name) in run_test()
39 exit(test_function()); in run_test()
104 int test_harness(int (test_function)(void), const char *name) in test_harness()
123 rc = run_test(test_function, name); in test_harness()
/tools/perf/tests/
Dbp_signal_overflow.c33 static noinline int test_function(void) in test_function() function
90 pe.bp_addr = (unsigned long) test_function; in test__bp_signal_overflow()
116 test_function(); in test__bp_signal_overflow()
Dbp_account.c37 static noinline int test_function(void) in test_function() function
94 attr_mod.bp_addr = (unsigned long) test_function; in bp_accounting()
116 void *addr = is_x ? (void *)test_function : (void *)&the_var; in detect_cnt()
172 fd[i] = bp_event((void *)test_function, &attr); in detect_share()
Dbp_signal.c62 static noinline int test_function(void) in test_function() function
253 test_function(); in test__bp_signal()
Dbuiltin-test.c179 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function() function
243 err = test_function(test, subtest)(test, subtest); in run_test()
/tools/testing/selftests/powerpc/pmu/
Dlib.c103 pid_t eat_cpu(int (test_function)(void)) in eat_cpu()
128 rc = test_function(); in eat_cpu()
Dlib.h29 extern pid_t eat_cpu(int (test_function)(void));
/tools/testing/selftests/mm/
Dmlock2-tests.c495 static int test_mlockall(int (test_function)(bool call_mlock)) in test_mlockall()
504 ret = test_function(false); in test_mlockall()
/tools/testing/selftests/powerpc/include/
Dutils.h35 int test_harness(int (test_function)(void), const char *name);