Searched refs:run_ctx (Results 1 – 6 of 6) sorted by relevance
| /kernel/bpf/ |
| A D | trampoline.c | 905 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_recur() 945 struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_exit_recur() argument 948 bpf_reset_run_ctx(run_ctx->saved_run_ctx); in __bpf_prog_exit_recur() 966 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_lsm_cgroup() 975 bpf_reset_run_ctx(run_ctx->saved_run_ctx); in __bpf_prog_exit_lsm_cgroup() 988 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_sleepable_recur() 1002 bpf_reset_run_ctx(run_ctx->saved_run_ctx); in __bpf_prog_exit_sleepable_recur() 1017 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_sleepable() 1033 struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_enter() argument 1039 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter() [all …]
|
| A D | bpf_lsm.c | 209 struct bpf_trace_run_ctx *run_ctx; in BPF_CALL_1() local 211 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 212 return run_ctx->bpf_cookie; in BPF_CALL_1()
|
| A D | cgroup.c | 70 struct bpf_cg_run_ctx run_ctx; in bpf_prog_run_array_cg() local 73 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() 93 return run_ctx.retval; in bpf_prog_run_array_cg() 1769 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2() 1791 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0() 1805 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1() [all …]
|
| A D | bpf_iter.c | 695 struct bpf_run_ctx run_ctx, *old_run_ctx; in bpf_iter_run_prog() local 702 old_run_ctx = bpf_set_run_ctx(&run_ctx); in bpf_iter_run_prog() 710 old_run_ctx = bpf_set_run_ctx(&run_ctx); in bpf_iter_run_prog()
|
| A D | syscall.c | 6184 struct bpf_tramp_run_ctx __maybe_unused run_ctx; in kern_sys_bpf() local 6204 run_ctx.bpf_cookie = 0; in kern_sys_bpf() 6205 if (!__bpf_prog_enter_sleepable_recur(prog, &run_ctx)) { in kern_sys_bpf() 6207 __bpf_prog_exit_sleepable_recur(prog, 0, &run_ctx); in kern_sys_bpf() 6213 &run_ctx); in kern_sys_bpf()
|
| /kernel/trace/ |
| A D | bpf_trace.c | 1061 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1062 if (run_ctx->is_uprobe) in BPF_CALL_1() 1133 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1134 return run_ctx->bpf_cookie; in BPF_CALL_1() 1160 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 2254 old_run_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in __bpf_trace_run() 2693 link = run_ctx->link; in bpf_kprobe_multi_cookie() 2711 return run_ctx->entry_ip; in bpf_kprobe_multi_entry_ip() 2740 old_run_ctx = bpf_set_run_ctx(&run_ctx.session_ctx.run_ctx); in kprobe_multi_link_prog_run() 3260 old_run_ctx = bpf_set_run_ctx(&run_ctx.session_ctx.run_ctx); in uprobe_prog_run() [all …]
|
Completed in 37 milliseconds