• Home
  • Raw
  • Download

Lines Matching refs:ret

58 	int ret;  in test_kprobe()  local
60 ret = register_kprobe(&kp); in test_kprobe()
61 if (ret < 0) { in test_kprobe()
63 "register_kprobe returned %d\n", ret); in test_kprobe()
64 return ret; in test_kprobe()
67 ret = target(rand1); in test_kprobe()
115 int ret; in test_kprobes() local
119 ret = register_kprobes(kps, 2); in test_kprobes()
120 if (ret < 0) { in test_kprobes()
122 "register_kprobes returned %d\n", ret); in test_kprobes()
123 return ret; in test_kprobes()
128 ret = target(rand1); in test_kprobes()
144 ret = target2(rand1); in test_kprobes()
183 int ret; in test_jprobe() local
185 ret = register_jprobe(&jp); in test_jprobe()
186 if (ret < 0) { in test_jprobe()
188 "register_jprobe returned %d\n", ret); in test_jprobe()
189 return ret; in test_jprobe()
192 ret = target(rand1); in test_jprobe()
210 int ret; in test_jprobes() local
214 ret = register_jprobes(jps, 2); in test_jprobes()
215 if (ret < 0) { in test_jprobes()
217 "register_jprobes returned %d\n", ret); in test_jprobes()
218 return ret; in test_jprobes()
222 ret = target(rand1); in test_jprobes()
230 ret = target2(rand1); in test_jprobes()
251 unsigned long ret = regs_return_value(regs); in return_handler() local
253 if (ret != (rand1 / div_factor)) { in return_handler()
276 int ret; in test_kretprobe() local
278 ret = register_kretprobe(&rp); in test_kretprobe()
279 if (ret < 0) { in test_kretprobe()
281 "register_kretprobe returned %d\n", ret); in test_kretprobe()
282 return ret; in test_kretprobe()
285 ret = target(rand1); in test_kretprobe()
298 unsigned long ret = regs_return_value(regs); in return_handler2() local
300 if (ret != (rand1 / div_factor) + 1) { in return_handler2()
323 int ret; in test_kretprobes() local
327 ret = register_kretprobes(rps, 2); in test_kretprobes()
328 if (ret < 0) { in test_kretprobes()
330 "register_kretprobe returned %d\n", ret); in test_kretprobes()
331 return ret; in test_kretprobes()
335 ret = target(rand1); in test_kretprobes()
343 ret = target2(rand1); in test_kretprobes()
356 int ret; in init_test_probes() local
367 ret = test_kprobe(); in init_test_probes()
368 if (ret < 0) in init_test_probes()
372 ret = test_kprobes(); in init_test_probes()
373 if (ret < 0) in init_test_probes()
377 ret = test_jprobe(); in init_test_probes()
378 if (ret < 0) in init_test_probes()
382 ret = test_jprobes(); in init_test_probes()
383 if (ret < 0) in init_test_probes()
388 ret = test_kretprobe(); in init_test_probes()
389 if (ret < 0) in init_test_probes()
393 ret = test_kretprobes(); in init_test_probes()
394 if (ret < 0) in init_test_probes()