Searched refs:run_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 945 static u64 notrace __bpf_prog_enter_recur(struct bpf_prog *prog, struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_enter_recur() argument 950 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_recur() 990 struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_exit_recur() argument 993 bpf_reset_run_ctx(run_ctx->saved_run_ctx); in __bpf_prog_exit_recur() 1001 struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_enter_lsm_cgroup() argument 1009 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_lsm_cgroup() 1015 struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_exit_lsm_cgroup() argument 1018 bpf_reset_run_ctx(run_ctx->saved_run_ctx); in __bpf_prog_exit_lsm_cgroup() 1024 struct bpf_tramp_run_ctx *run_ctx) in __bpf_prog_enter_sleepable_recur() argument 1030 run_ctx->saved_run_ctx = bpf_set_run_ctx(&run_ctx->run_ctx); in __bpf_prog_enter_sleepable_recur() [all …]
|
| H A D | bpf_lsm.c | 210 struct bpf_trace_run_ctx *run_ctx; in BPF_CALL_1() 212 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 213 return run_ctx->bpf_cookie; in BPF_CALL_1() 209 struct bpf_trace_run_ctx *run_ctx; BPF_CALL_1() local
|
| H A D | syscall.c | 6319 struct bpf_tramp_run_ctx __maybe_unused run_ctx; in kern_sys_bpf() local 6339 run_ctx.bpf_cookie = 0; in kern_sys_bpf() 6340 if (!__bpf_prog_enter_sleepable_recur(prog, &run_ctx)) { in kern_sys_bpf() 6342 __bpf_prog_exit_sleepable_recur(prog, 0, &run_ctx); in kern_sys_bpf() 6348 &run_ctx); in kern_sys_bpf()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | free_timer.c | 10 struct run_ctx { struct 19 static void start_threads(struct run_ctx *ctx) in start_threads() argument 24 static void stop_threads(struct run_ctx *ctx) in stop_threads() 31 static int wait_for_start(struct run_ctx *ctx) in wait_for_start() 41 struct run_ctx *ctx = arg; in overwrite_timer_fn() 80 struct run_ctx *ctx = arg; in start_timer_fn() 121 struct run_ctx ctx; in test_free_timer()
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1056 struct bpf_trace_run_ctx *run_ctx __maybe_unused; in BPF_CALL_1() 1060 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1061 if (run_ctx->is_uprobe) in BPF_CALL_1() 1130 struct bpf_trace_run_ctx *run_ctx; in BPF_CALL_1() local 1132 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1133 return run_ctx->bpf_cookie; in BPF_CALL_1() 1157 struct bpf_trace_run_ctx *run_ctx; in BPF_CALL_1() local 1159 run_ctx in BPF_CALL_1() 2063 struct bpf_trace_run_ctx run_ctx; __bpf_trace_run() local 2272 struct bpf_run_ctx run_ctx; global() member 2502 struct bpf_kprobe_multi_run_ctx *run_ctx; bpf_kprobe_multi_cookie() local 2525 struct bpf_kprobe_multi_run_ctx *run_ctx; bpf_kprobe_multi_entry_ip() local 2537 struct bpf_kprobe_multi_run_ctx run_ctx = { kprobe_multi_link_prog_run() local 3064 struct bpf_uprobe_multi_run_ctx run_ctx = { uprobe_prog_run() local 3136 struct bpf_uprobe_multi_run_ctx *run_ctx; bpf_uprobe_multi_entry_ip() local 3145 struct bpf_uprobe_multi_run_ctx *run_ctx; bpf_uprobe_multi_cookie() local [all...] |
| /linux/net/bpf/ |
| H A D | test_run.c | 395 struct bpf_cg_run_ctx run_ctx; in bpf_test_run() local 414 old_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in bpf_test_run() 416 run_ctx.prog_item = &item; in bpf_test_run() 733 struct bpf_trace_run_ctx run_ctx = {}; in __bpf_prog_test_run_raw_tp() local 736 old_run_ctx = bpf_set_run_ctx(&run_ctx.run_ctx); in __bpf_prog_test_run_raw_tp()
|