Lines Matching refs:retval
34 int retval, u32 *ret_flags) in bpf_prog_run_array_cg() argument
43 run_ctx.retval = retval; in bpf_prog_run_array_cg()
56 if (!func_ret && !IS_ERR_VALUE((long)run_ctx.retval)) in bpf_prog_run_array_cg()
57 run_ctx.retval = -EPERM; in bpf_prog_run_array_cg()
63 return run_ctx.retval; in bpf_prog_run_array_cg()
1576 return ctx->retval; in BPF_CALL_0()
1585 BPF_CALL_1(bpf_set_retval, int, retval) in BPF_CALL_1() argument
1590 ctx->retval = retval; in BPF_CALL_1()
1880 int retval) in __cgroup_bpf_run_filter_getsockopt() argument
1899 if (!retval) { in __cgroup_bpf_run_filter_getsockopt()
1927 &ctx, bpf_prog_run, retval, NULL); in __cgroup_bpf_run_filter_getsockopt()
1937 ret = retval; in __cgroup_bpf_run_filter_getsockopt()
1962 int *optlen, int retval) in __cgroup_bpf_run_filter_getsockopt_kern() argument
1985 &ctx, bpf_prog_run, retval, NULL); in __cgroup_bpf_run_filter_getsockopt_kern()
2350 case offsetof(struct bpf_sockopt, retval): in cg_sockopt_is_valid_access()
2385 case offsetof(struct bpf_sockopt, retval): in cg_sockopt_is_valid_access()
2432 case offsetof(struct bpf_sockopt, retval): in cg_sockopt_convert_ctx_access()
2450 *insn++ = BPF_STX_MEM(BPF_FIELD_SIZEOF(struct bpf_cg_run_ctx, retval), in cg_sockopt_convert_ctx_access()
2452 offsetof(struct bpf_cg_run_ctx, retval)); in cg_sockopt_convert_ctx_access()
2462 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct bpf_cg_run_ctx, retval), in cg_sockopt_convert_ctx_access()
2464 offsetof(struct bpf_cg_run_ctx, retval)); in cg_sockopt_convert_ctx_access()