Home
last modified time | relevance | path

Searched refs:bpf_ctx (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/kernel/trace/
H A Dbpf_trace.c1062 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1084 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1096 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1108 return bpf_uprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1120 return bpf_uprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1134 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1161 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
2771 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_cookie()
2789 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_entry_ip()
3345 run_ctx = container_of(current->bpf_ctx, struct bpf_uprobe_multi_run_ctx, in bpf_uprobe_multi_entry_ip()
[all …]
/linux-6.15/kernel/bpf/
H A Dcgroup.c1598 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1620 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1634 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2505 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2507 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
2519 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2521 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
H A Dbpf_lsm.c211 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
/linux-6.15/include/linux/
H A Dbpf.h2173 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
2174 current->bpf_ctx = new_ctx; in bpf_set_run_ctx()
2182 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
2778 return !!current->bpf_ctx; in has_current_bpf_ctx()
H A Dsched.h1597 struct bpf_run_ctx *bpf_ctx; member
/linux-6.15/kernel/
H A Dfork.c2396 p->bpf_ctx = NULL; in copy_process()