Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/trace/
Dbpf_trace.c1066 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1088 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1100 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1112 return bpf_uprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1124 return bpf_uprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1138 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1165 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
2680 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_cookie()
2697 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_entry_ip()
3151 run_ctx = container_of(current->bpf_ctx, struct bpf_uprobe_multi_run_ctx, run_ctx); in bpf_uprobe_multi_entry_ip()
[all …]
/Linux-v6.6/kernel/bpf/
Dcgroup.c1553 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1575 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1589 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2457 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2459 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
2471 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2473 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
Dbpf_lsm.c185 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
/Linux-v6.6/include/linux/
Dbpf.h1884 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1885 current->bpf_ctx = new_ctx; in bpf_set_run_ctx()
1893 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
2455 return !!current->bpf_ctx; in has_current_bpf_ctx()
Dsched.h1489 struct bpf_run_ctx *bpf_ctx; member
/Linux-v6.6/kernel/
Dfork.c2467 p->bpf_ctx = NULL; in copy_process()