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 | 1090 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1112 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1() 1124 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1() 1136 return bpf_uprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1() 1148 return bpf_uprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1() 1162 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 1189 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1() 2571 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_cookie() 2589 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, in bpf_kprobe_multi_entry_ip() 3205 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 | 1827 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2() 1849 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0() 1863 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1() 2723 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access() 2725 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access() 2737 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access() 2739 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
|
| H A D | bpf_lsm.c | 216 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 | 2560 old_ctx = current->bpf_ctx; in bpf_set_run_ctx() 2561 current->bpf_ctx = new_ctx; in bpf_set_run_ctx() 2569 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx() 3212 return !!current->bpf_ctx; in has_current_bpf_ctx()
|
| /linux/kernel/ |
| H A D | fork.c | 1020 tsk->bpf_ctx = NULL; in dup_task_struct()
|