Lines Matching refs:run_ctx
40 struct bpf_cg_run_ctx run_ctx; in bpf_prog_run_array_cg() local
43 run_ctx.retval = retval; in bpf_prog_run_array_cg()
48 old_run_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_prog_run_array_cg()
50 run_ctx.prog_item = item; 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()
1553 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1575 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1589 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2443 BUILD_BUG_ON(offsetof(struct bpf_cg_run_ctx, run_ctx) != 0); in cg_sockopt_convert_ctx_access()