Home
last modified time | relevance | path

Searched refs:fexit (Results 1 – 18 of 18) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtailcall_bpf2bpf_fexit.c11 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG() argument
H A Dtest_trace_ext_tracing.c19 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG() argument
/linux/tools/testing/selftests/bpf/benchs/
H A Drun_bench_rename.sh5 for i in base kprobe kretprobe rawtp fentry fexit
H A Drun_bench_trigger.sh7 fentry fexit fmodret \
H A Dbench_trigger.c579 BENCH_TRIG_KERNEL(fexit, "fexit");
/linux/tools/testing/selftests/bpf/
H A Dtest_ftrace.sh38 ./test_progs -t fexit
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_ext.c79 prog = skel_trace->progs.fexit; in test_trace_ext()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c731 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local
992 for (i = 0; i < fexit->nr_links; i++) in __arch_prepare_bpf_trampoline()
993 if (invoke_bpf_prog(image, ro_image, ctx, fexit->links[i], regs_off, retval_off, in __arch_prepare_bpf_trampoline()
/linux/kernel/bpf/
H A Dtrampoline.c822 hlist_add_head(&fslink->fexit.tramp_hlist, &tr->progs_hlist[BPF_TRAMP_FEXIT]); in __bpf_trampoline_link_prog()
832 hlist_del_init(&fslink->fexit.tramp_hlist); in __bpf_trampoline_link_prog()
874 hlist_del_init(&fslink->fexit.tramp_hlist); in __bpf_trampoline_unlink_prog()
H A Dsyscall.c3638 bpf_link_init(&fslink->fexit.link, BPF_LINK_TYPE_TRACING, in bpf_tracing_prog_attach()
3640 fslink->fexit.cookie = bpf_cookie; in bpf_tracing_prog_attach()
/linux/Documentation/bpf/
H A Ddrgn.rst29 programs via ``freplace``/``fentry``/``fexit`` mechanisms, since there is no
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst57 | **struct_ops** | **fentry** | **fexit** | **freplace** | **sk_lookup**
159 other feature relying on BTF (such as fentry/fexit programs, struct_ops)
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2541 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in prepare_trampoline() local
2738 for (i = 0; i < fexit->nr_links; i++) { in prepare_trampoline()
2739 if (bpf_prog_calls_session_cookie(fexit->links[i])) { in prepare_trampoline()
2745 invoke_bpf_prog(ctx, fexit->links[i], bargs_off, retval_off, in prepare_trampoline()
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2611 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local
2852 for (i = 0; i < fexit->nr_links; i++) in __arch_prepare_bpf_trampoline()
2853 if (invoke_bpf_prog(tjit, m, fexit->links[i], false)) in __arch_prepare_bpf_trampoline()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c1034 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local
1244 if (fexit->nr_links) { in __arch_prepare_bpf_trampoline()
1245 ret = invoke_bpf(fexit, args_off, retval_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
/linux/arch/loongarch/net/
H A Dbpf_jit.c1623 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local
1803 for (i = 0; i < fexit->nr_links; i++) { in __arch_prepare_bpf_trampoline()
1804 ret = invoke_bpf_prog(ctx, fexit->links[i], args_off, retval_off, run_ctx_off, false); in __arch_prepare_bpf_trampoline()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3220 struct bpf_tramp_links *fexit = &tlinks[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local
3462 if (fexit->nr_links) { in __arch_prepare_bpf_trampoline()
3463 if (invoke_bpf(m, &prog, fexit, regs_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
/linux/include/linux/
H A Dbpf.h1889 struct bpf_tramp_link fexit; member