Lines Matching refs:retval
90 u32 *retval, u32 *time, bool xdp) in bpf_test_run() argument
117 *retval = bpf_prog_run_xdp(prog, ctx); in bpf_test_run()
119 *retval = bpf_prog_run(prog, ctx); in bpf_test_run()
132 u32 size, u32 retval, u32 duration) in bpf_test_finish() argument
151 if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) in bpf_test_finish()
282 u32 retval = 0; in bpf_prog_test_run_tracing() local
309 retval = ((u32)side_effect << 16) | ret; in bpf_prog_test_run_tracing()
310 if (copy_to_user(&uattr->test.retval, &retval, sizeof(retval))) in bpf_prog_test_run_tracing()
322 u32 retval; member
331 info->retval = bpf_prog_run(info->prog, info->ctx); in __bpf_prog_test_run_raw_tp()
390 copy_to_user(&uattr->test.retval, &info.retval, sizeof(u32))) in bpf_prog_test_run_raw_tp()
571 u32 retval, duration; in bpf_prog_test_run_skb() local
663 ret = bpf_test_run(prog, skb, repeat, &retval, &duration, false); in bpf_prog_test_run_skb()
683 ret = bpf_test_finish(kattr, uattr, skb->data, size, retval, duration); in bpf_prog_test_run_skb()
763 u32 retval, duration; in bpf_prog_test_run_xdp() local
806 ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration, true); in bpf_prog_test_run_xdp()
819 ret = bpf_test_finish(kattr, uattr, xdp.data_meta, size, retval, in bpf_prog_test_run_xdp()
861 u32 retval, duration; in bpf_prog_test_run_flow_dissector() local
901 retval = bpf_flow_dissect(prog, &ctx, eth->h_proto, ETH_HLEN, in bpf_prog_test_run_flow_dissector()
910 retval, duration); in bpf_prog_test_run_flow_dissector()
929 u32 retval, duration; in bpf_prog_test_run_sk_lookup() local
997 retval = BPF_PROG_SK_LOOKUP_RUN_ARRAY(progs, ctx, bpf_prog_run); in bpf_prog_test_run_sk_lookup()
1014 ret = bpf_test_finish(kattr, uattr, NULL, 0, retval, duration); in bpf_prog_test_run_sk_lookup()
1031 u32 retval; in bpf_prog_test_run_syscall() local
1055 retval = bpf_prog_run_pin_on_cpu(prog, ctx); in bpf_prog_test_run_syscall()
1058 if (copy_to_user(&uattr->test.retval, &retval, sizeof(u32))) { in bpf_prog_test_run_syscall()