Searched refs:bpf_ctx (Results 1 – 6 of 6) sorted by relevance
| /linux/io_uring/ |
| H A D | bpf_filter.c | 61 struct io_uring_bpf_ctx bpf_ctx; in __io_uring_run_bpf_filters() local 79 io_uring_populate_bpf_ctx(&bpf_ctx, req); in __io_uring_run_bpf_filters() 88 ret = bpf_prog_run_pin_on_cpu(filter->prog, &bpf_ctx); in __io_uring_run_bpf_filters()
|
| /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() 2525 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_cookie() 2543 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_entry_ip() 3159 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 | 1764 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2() 1786 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0() 1800 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1() 2659 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access() 2661 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access() 2673 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access() 2675 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2430 old_ctx = current->bpf_ctx; in bpf_set_run_ctx() 2431 current->bpf_ctx = new_ctx; in bpf_set_run_ctx() 2439 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx() 3071 return !!current->bpf_ctx; in has_current_bpf_ctx()
|
| H A D | sched.h | 1585 struct bpf_run_ctx *bpf_ctx; member
|
| /linux/kernel/ |
| H A D | fork.c | 2228 p->bpf_ctx = NULL; in copy_process()
|