Lines Matching refs:func
292 static int call_test_func(long (*func)(long, long), bool check_test_regs) in call_test_func()
299 ret = (*func)(FUNC_ARG1, FUNC_ARG2); in call_test_func()
335 static int test_kprobe(long (*func)(long, long)) in test_kprobe()
339 the_kprobe.addr = (kprobe_opcode_t *)func; in test_kprobe()
346 ret = call_test_func(func, true); in test_kprobe()
361 if (!call_test_func(func, false)) in test_kprobe()
384 static int test_jprobe(long (*func)(long, long)) in test_jprobe()
388 the_jprobe.kp.addr = (kprobe_opcode_t *)func; in test_jprobe()
395 ret = call_test_func(func, true); in test_jprobe()
406 if (!call_test_func(func, false)) in test_jprobe()
429 static int test_kretprobe(long (*func)(long, long)) in test_kretprobe()
433 the_kretprobe.kp.addr = (kprobe_opcode_t *)func; in test_kretprobe()
440 ret = call_test_func(func, true); in test_kretprobe()
451 if (!call_test_func(func, false)) in test_kretprobe()
461 static int run_api_tests(long (*func)(long, long)) in run_api_tests()
466 ret = test_kprobe(func); in run_api_tests()
471 ret = test_jprobe(func); in run_api_tests()
483 ret = test_kretprobe(func); in run_api_tests()