Lines Matching refs:ctx
85 static u64 bpf_kprobe_multi_cookie(struct bpf_run_ctx *ctx);
86 static u64 bpf_kprobe_multi_entry_ip(struct bpf_run_ctx *ctx);
102 unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) in trace_call_bpf() argument
136 ctx, bpf_prog_run); in trace_call_bpf()
719 void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy) in bpf_event_output() argument
724 .data = ctx, in bpf_event_output()
1039 BPF_CALL_1(bpf_get_func_ip_tracing, void *, ctx) in BPF_CALL_1() argument
1042 return ((u64 *)ctx)[-2]; in BPF_CALL_1()
1109 BPF_CALL_1(bpf_get_attach_cookie_trace, void *, ctx) in BPF_CALL_1() argument
1124 BPF_CALL_1(bpf_get_attach_cookie_pe, struct bpf_perf_event_data_kern *, ctx) in BPF_CALL_1() argument
1126 return ctx->event->bpf_cookie; in BPF_CALL_1()
1136 BPF_CALL_1(bpf_get_attach_cookie_tracing, void *, ctx) in BPF_CALL_1() argument
1179 BPF_CALL_3(get_func_arg, void *, ctx, u32, n, u64 *, value) in BPF_CALL_3() argument
1182 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_3()
1186 *value = ((u64 *)ctx)[n]; in BPF_CALL_3()
1198 BPF_CALL_2(get_func_ret, void *, ctx, u64 *, value) in BPF_CALL_2() argument
1201 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_2()
1203 *value = ((u64 *)ctx)[nr_args]; in BPF_CALL_2()
1214 BPF_CALL_1(get_func_arg_cnt, void *, ctx) in BPF_CALL_1() argument
1217 return ((u64 *)ctx)[-1]; in BPF_CALL_1()
1694 BPF_CALL_3(bpf_perf_prog_read_value, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_3() argument
1701 err = perf_event_read_local(ctx->event, &buf->counter, &buf->enabled, in BPF_CALL_3()
1720 BPF_CALL_4(bpf_read_branch_records, struct bpf_perf_event_data_kern *, ctx, in BPF_CALL_4() argument
1724 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4()
1730 if (unlikely(!(ctx->data->sample_flags & PERF_SAMPLE_BRANCH_STACK))) in BPF_CALL_4()
2586 static u64 bpf_kprobe_multi_cookie(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_cookie() argument
2593 if (WARN_ON_ONCE(!ctx)) in bpf_kprobe_multi_cookie()
2608 static u64 bpf_kprobe_multi_entry_ip(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_entry_ip() argument
2832 static u64 bpf_kprobe_multi_cookie(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_cookie() argument
2836 static u64 bpf_kprobe_multi_entry_ip(struct bpf_run_ctx *ctx) in bpf_kprobe_multi_entry_ip() argument