Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/bpf/
A Dcgroup.c1552 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1574 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1588 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2429 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2431 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
2441 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2443 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
A Dbpf_lsm.c185 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
/linux-6.3-rc2/kernel/trace/
A Dbpf_trace.c1069 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1081 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1095 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1122 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
2597 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_cookie()
2614 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_entry_ip()
/linux-6.3-rc2/include/linux/
A Dbpf.h1733 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1734 current->bpf_ctx = new_ctx; in bpf_set_run_ctx()
1742 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
2265 return !!current->bpf_ctx; in has_current_bpf_ctx()
A Dsched.h1485 struct bpf_run_ctx *bpf_ctx; member
/linux-6.3-rc2/kernel/
A Dfork.c2235 p->bpf_ctx = NULL; in copy_process()

Completed in 36 milliseconds