Lines Matching refs:run_ctx
71 struct bpf_cg_run_ctx run_ctx; in bpf_prog_run_array_cg() local
74 run_ctx.retval = retval; in bpf_prog_run_array_cg()
78 old_run_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_prog_run_array_cg()
80 run_ctx.prog_item = item; in bpf_prog_run_array_cg()
86 if (!func_ret && !IS_ERR_VALUE((long)run_ctx.retval)) in bpf_prog_run_array_cg()
87 run_ctx.retval = -EPERM; in bpf_prog_run_array_cg()
92 return run_ctx.retval; in bpf_prog_run_array_cg()
1764 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1786 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1800 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2645 BUILD_BUG_ON(offsetof(struct bpf_cg_run_ctx, run_ctx) != 0); in cg_sockopt_convert_ctx_access()