Lines Matching refs:run_ctx
57 struct bpf_cg_run_ctx run_ctx; in bpf_prog_run_array_cg() local
60 run_ctx.retval = retval; in bpf_prog_run_array_cg()
65 old_run_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_prog_run_array_cg()
67 run_ctx.prog_item = item; in bpf_prog_run_array_cg()
73 if (!func_ret && !IS_ERR_VALUE((long)run_ctx.retval)) in bpf_prog_run_array_cg()
74 run_ctx.retval = -EPERM; in bpf_prog_run_array_cg()
80 return run_ctx.retval; in bpf_prog_run_array_cg()
1598 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1620 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1634 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2491 BUILD_BUG_ON(offsetof(struct bpf_cg_run_ctx, run_ctx) != 0); in cg_sockopt_convert_ctx_access()