Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dbpf_filter.c61 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 Dbpf_trace.c1060 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 Dcgroup.c1764 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 Dbpf.h2430 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 Dsched.h1585 struct bpf_run_ctx *bpf_ctx; member
/linux/kernel/
H A Dfork.c2228 p->bpf_ctx = NULL; in copy_process()