Home
last modified time | relevance | path

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

/openbmc/linux/kernel/trace/
H A Dbpf_trace.c1070 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1092 return bpf_kprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1104 return bpf_kprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1116 return bpf_uprobe_multi_entry_ip(current->bpf_ctx); in BPF_CALL_1()
1128 return bpf_uprobe_multi_cookie(current->bpf_ctx); in BPF_CALL_1()
1142 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
1169 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
2696 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_cookie()
2713 run_ctx = container_of(current->bpf_ctx, struct bpf_kprobe_multi_run_ctx, run_ctx); in bpf_kprobe_multi_entry_ip()
3169 run_ctx = container_of(current->bpf_ctx, struct bpf_uprobe_multi_run_ctx, run_ctx); in bpf_uprobe_multi_entry_ip()
[all …]
/openbmc/linux/kernel/bpf/
H A Dcgroup.c1583 ctx = container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_2()
1605 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_0()
1619 container_of(current->bpf_ctx, struct bpf_cg_run_ctx, run_ctx); in BPF_CALL_1()
2490 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2492 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
2504 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct task_struct, bpf_ctx), in cg_sockopt_convert_ctx_access()
2506 offsetof(struct task_struct, bpf_ctx)); in cg_sockopt_convert_ctx_access()
H A Dbpf_lsm.c185 run_ctx = container_of(current->bpf_ctx, struct bpf_trace_run_ctx, run_ctx); in BPF_CALL_1()
/openbmc/linux/include/linux/
H A Dbpf.h1930 old_ctx = current->bpf_ctx; in bpf_set_run_ctx()
1931 current->bpf_ctx = new_ctx; in bpf_set_run_ctx()
1939 current->bpf_ctx = old_ctx; in bpf_reset_run_ctx()
2498 return !!current->bpf_ctx; in has_current_bpf_ctx()
H A Dsched.h1495 struct bpf_run_ctx *bpf_ctx; member
/openbmc/linux/kernel/
H A Dfork.c2467 p->bpf_ctx = NULL; in copy_process()