Lines Matching refs:ctx
25 static void update(void *ctx, __u64 *res) in update() argument
30 *res |= bpf_get_attach_cookie(ctx); in update()
34 int handle_kprobe(struct pt_regs *ctx) in handle_kprobe() argument
36 update(ctx, &kprobe_res); in handle_kprobe()
41 int handle_kretprobe(struct pt_regs *ctx) in handle_kretprobe() argument
43 update(ctx, &kretprobe_res); in handle_kretprobe()
48 int handle_uprobe(struct pt_regs *ctx) in handle_uprobe() argument
50 update(ctx, &uprobe_res); in handle_uprobe()
55 int handle_uretprobe(struct pt_regs *ctx) in handle_uretprobe() argument
57 update(ctx, &uretprobe_res); in handle_uretprobe()
67 int handle_tp1(struct pt_regs *ctx) in handle_tp1() argument
69 update(ctx, &tp_res); in handle_tp1()
73 int handle_tp2(struct pt_regs *ctx) in handle_tp2() argument
75 update(ctx, &tp_res); in handle_tp2()
79 int handle_tp3(void *ctx) in handle_tp3() argument
81 update(ctx, &tp_res); in handle_tp3()
86 int handle_pe(struct pt_regs *ctx) in handle_pe() argument
88 update(ctx, &pe_res); in handle_pe()
93 int handle_raw_tp(void *ctx) in handle_raw_tp() argument
95 update(ctx, &raw_tp_res); in handle_raw_tp()
100 int handle_tp_btf(void *ctx) in handle_tp_btf() argument
102 update(ctx, &tp_btf_res); in handle_tp_btf()
109 update(ctx, &fentry_res); in BPF_PROG()
116 update(ctx, &fexit_res); in BPF_PROG()
123 update(ctx, &fmod_ret_res); in BPF_PROG()
133 update(ctx, &lsm_res); in BPF_PROG()