Searched refs:bpf_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1060 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1082 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1() 1094 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1() 1106 return bpf_uprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1() 1118 return bpf_uprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1() 1132 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1159 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 2509 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_cookie() 2527 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_entry_ip() 3138 run_ctx = container_of(current->bpf_ctx, struct bpf_uprobe_multi_run_ctx, in bpf_uprobe_multi_entry_ip() [all …]
|
| /linux/kernel/bpf/ |
| H A D | cgroup.c | 1768 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2() 1790 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0() 1804 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1() 2663 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access() 2665 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access() 2677 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access() 2679 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
|
| H A D | bpf_lsm.c | 211 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2276 old_ctx = current->bpf_ctx; in bpf_set_run_ctx() 2277 current->bpf_ctx = new_ctx; in bpf_set_run_ctx() 2285 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx() 2899 return !!current->bpf_ctx; in has_current_bpf_ctx()
|
| H A D | sched.h | 1604 struct bpf_run_ctx *bpf_ctx; member
|
| /linux/kernel/ |
| H A D | fork.c | 2145 p->bpf_ctx = NULL; in copy_process()
|