| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tramp_prog_detach.c | 20 bool fexit, bool sleepable) in pick_prog() argument 22 if (fexit) in pick_prog() 40 static struct tramp_prog_detach *load_one(bool fexit, bool sleepable) in load_one() argument 49 bpf_program__set_autoload(pick_prog(skel, fexit, sleepable), true); in load_one()
|
| H A D | trace_ext.c | 79 prog = skel_trace->progs.fexit; in test_trace_ext()
|
| H A D | tailcalls.c | 1927 err = bpf_program__set_attach_target(skel1->progs.fexit, prog_fd, "subprog_tail"); in test_tailcall_bpf2bpf_fexit_links() 1935 skel1->links.fexit = bpf_program__attach_trace(skel1->progs.fexit); in test_tailcall_bpf2bpf_fexit_links() 1936 if (!ASSERT_OK_PTR(skel1->links.fexit, "bpf_program__attach_trace")) in test_tailcall_bpf2bpf_fexit_links() 1943 err = bpf_program__set_attach_target(skel2->progs.fexit, prog_fd, "subprog_tail"); in test_tailcall_bpf2bpf_fexit_links()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | tailcall_bpf2bpf_fexit.c | 11 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG() argument
|
| H A D | test_trace_ext_tracing.c | 19 int BPF_PROG(fexit, struct sk_buff *skb) in BPF_PROG() argument
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | run_bench_rename.sh | 5 for i in base kprobe kretprobe rawtp fentry fexit
|
| H A D | run_bench_trigger.sh | 7 fentry fexit fmodret \
|
| H A D | bench_trigger.c | 637 BENCH_TRIG_KERNEL(fexit, "fexit");
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_ftrace.sh | 38 ./test_progs -t fexit
|
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 886 return &link->fexit; in fsession_exit() 903 struct bpf_tramp_node *node_existing, *fexit; in bpf_trampoline_add_prog() local 929 fexit = fsession_exit(node); in bpf_trampoline_add_prog() 930 if (WARN_ON_ONCE(!fexit)) in bpf_trampoline_add_prog() 932 hlist_add_head(&fexit->tramp_hlist, &tr->progs_hlist[BPF_TRAMP_FEXIT]); in bpf_trampoline_add_prog() 979 struct bpf_tramp_node *fexit; in bpf_trampoline_remove_prog() local 983 fexit = fsession_exit(node); in bpf_trampoline_remove_prog() 984 if (WARN_ON_ONCE(!fexit)) in bpf_trampoline_remove_prog() 986 hlist_del_init(&fexit->tramp_hlist); in bpf_trampoline_remove_prog()
|
| H A D | syscall.c | 3727 link->fexit.link = &link->link.link; in bpf_tracing_prog_attach() 3728 link->fexit.cookie = bpf_cookie; in bpf_tracing_prog_attach()
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 830 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local 1121 for (i = 0; i < fexit->nr_nodes; i++) { in __arch_prepare_bpf_trampoline() 1122 if (bpf_prog_calls_session_cookie(fexit->nodes[i])) { in __arch_prepare_bpf_trampoline() 1129 if (invoke_bpf_prog(image, ro_image, ctx, im, fexit->nodes[i], regs_off, in __arch_prepare_bpf_trampoline()
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-prog.rst | 57 | **struct_ops** | **fentry** | **fexit** | **fsession** | **freplace** | **sk_lookup** 159 other feature relying on BTF (such as fentry/fexit programs, struct_ops)
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 1032 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local 1255 if (fexit->nr_nodes) { in __arch_prepare_bpf_trampoline() 1256 ret = invoke_bpf(im, fexit, args_off, retval_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 2712 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in prepare_trampoline() local 2919 for (i = 0; i < fexit->nr_nodes; i++) { in prepare_trampoline() 2920 if (bpf_prog_calls_session_cookie(fexit->nodes[i])) { in prepare_trampoline() 2926 invoke_bpf_prog(ctx, im, fexit->nodes[i], bargs_off, retval_off, in prepare_trampoline()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 1871 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local 2094 if (fexit->nr_nodes) { in __arch_prepare_bpf_trampoline() 2095 ret = invoke_bpf(ctx, im, fexit, args_off, retval_off, run_ctx_off, in __arch_prepare_bpf_trampoline()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 3477 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local 3717 if (fexit->nr_nodes) { in __arch_prepare_bpf_trampoline() 3718 if (invoke_bpf(m, &prog, im, fexit, regs_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
|
| /linux/arch/s390/net/ |
| H A D | bpf_jit_comp.c | 2691 struct bpf_tramp_nodes *fexit = &tnodes[BPF_TRAMP_FEXIT]; in __arch_prepare_bpf_trampoline() local 2945 if (invoke_bpf(tjit, im, m, fexit, false, func_meta, cookie_off)) in __arch_prepare_bpf_trampoline()
|
| /linux/include/linux/ |
| H A D | bpf.h | 2021 struct bpf_tramp_node fexit; member
|