Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/trace/
Dbpf_trace.c1069 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1091 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1103 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1115 return bpf_uprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1127 return bpf_uprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1141 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1168 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
2683 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_cookie()
2700 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_entry_ip()
3156 run_ctx = container_of(current->bpf_ctx, struct bpf_uprobe_multi_run_ctx, run_ctx); in bpf_uprobe_multi_entry_ip()
[all …]
/linux-6.6.21/kernel/bpf/
Dcgroup.c1566 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1588 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1602 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2470 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2472 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
2484 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2486 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-6.6.21/include/linux/
Dbpf.h1902 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1903 current->bpf_ctx = new_ctx; in bpf_set_run_ctx()
1911 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
2473 return !!current->bpf_ctx; in has_current_bpf_ctx()
Dsched.h1489 struct bpf_run_ctx *bpf_ctx; member
/linux-6.6.21/kernel/
Dfork.c2467 p->bpf_ctx = NULL; in copy_process()