Lines Matching refs:ctx

90 static u64 bpf_kprobe_multi_cookie(struct bpf_run_ctx *ctx);
91 static u64 bpf_kprobe_multi_entry_ip(struct bpf_run_ctx *ctx);
93 static u64 bpf_uprobe_multi_cookie(struct bpf_run_ctx *ctx);
94 static u64 bpf_uprobe_multi_entry_ip(struct bpf_run_ctx *ctx);
110 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf() argument
147 ctx, bpf_prog_run); in trace_call_bpf()
715 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output() argument
720 .data = ctx, in bpf_event_output()
1033 BPF_CALL_1(bpf_get_func_ip_tracing, void *, ctx) in BPF_CALL_1() argument
1036 return ((u64 *)ctx)[-2]; in BPF_CALL_1()
1129 BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) in BPF_CALL_1() argument
1144 BPF_CALL_1(bpf_get_attach_cookie_pe, struct bpf_perf_event_data_kern *, ctx) in BPF_CALL_1() argument
1146 return ctx->event->bpf_cookie; in BPF_CALL_1()
1156 BPF_CALL_1(bpf_get_attach_cookie_tracing, void *, ctx) in BPF_CALL_1() argument
1195 BPF_CALL_3(get_func_arg, void *, ctx, u32, n, u64 *, value) in BPF_CALL_3() argument
1198 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_3()
1202 *value = ((u64 *)ctx)[n]; in BPF_CALL_3()
1215 BPF_CALL_2(get_func_ret, void *, ctx, u64 *, value) in BPF_CALL_2() argument
1218 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_2()
1220 *value = ((u64 *)ctx)[nr_args]; in BPF_CALL_2()
1232 BPF_CALL_1(get_func_arg_cnt, void *, ctx) in BPF_CALL_1() argument
1235 return ((u64 *)ctx)[-1]; in BPF_CALL_1()
1652 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
1659 err = perf_event_read_local(ctx->event, &buf->counter, &buf->enabled, in BPF_CALL_3()
1678 BPF_CALL_4(bpf_read_branch_records, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_4() argument
1682 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4()
1688 if (unlikely(!(ctx->data->sample_flags & PERF_SAMPLE_BRANCH_STACK))) in BPF_CALL_4()
2682 static u64 bpf_kprobe_multi_cookie(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_cookie() argument
2689 if (WARN_ON_ONCE(!ctx)) in bpf_kprobe_multi_cookie()
2705 static u64 bpf_kprobe_multi_entry_ip(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_entry_ip() argument
3046 static u64 bpf_kprobe_multi_cookie(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_cookie() argument
3050 static u64 bpf_kprobe_multi_entry_ip(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_entry_ip() argument
3307 static u64 bpf_uprobe_multi_entry_ip(struct bpf_run_ctx *ctx) in bpf_uprobe_multi_entry_ip() argument
3316 static u64 bpf_uprobe_multi_cookie(struct bpf_run_ctx *ctx) in bpf_uprobe_multi_cookie() argument
3480 static u64 bpf_uprobe_multi_cookie(struct bpf_run_ctx *ctx) in bpf_uprobe_multi_cookie() argument
3484 static u64 bpf_uprobe_multi_entry_ip(struct bpf_run_ctx *ctx) in bpf_uprobe_multi_entry_ip() argument