Searched refs:bpf_ctx (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/kernel/bpf/ |
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()
|
D | bpf_lsm.c | 184 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
|
/Linux-v6.1/kernel/trace/ |
D | bpf_trace.c | 1068 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1() 1080 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1() 1094 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1121 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 2576 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_cookie() 2593 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_entry_ip()
|
/Linux-v6.1/include/linux/ |
D | bpf.h | 1574 old_ctx = current->bpf_ctx; in bpf_set_run_ctx() 1575 current->bpf_ctx = new_ctx; in bpf_set_run_ctx() 1583 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx() 2102 return !!current->bpf_ctx; in has_current_bpf_ctx()
|
D | sched.h | 1485 struct bpf_run_ctx *bpf_ctx; member
|
/Linux-v6.1/kernel/ |
D | fork.c | 2219 p->bpf_ctx = NULL; in copy_process()
|