Searched refs:bpf_ctx (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/kernel/bpf/ |
A D | cgroup.c | 1552 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 D | bpf_lsm.c | 185 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 D | bpf_trace.c | 1069 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 D | bpf.h | 1733 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 D | sched.h | 1485 struct bpf_run_ctx *bpf_ctx; member
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 2235 p->bpf_ctx = NULL; in copy_process()
|
Completed in 46 milliseconds