Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtramp_prog_detach.c20 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 Dtrace_ext.c79 prog = skel_trace->progs.fexit; in test_trace_ext()
H A Dtailcalls.c1927 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 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.c637 BENCH_TRIG_KERNEL(fexit, "fexit");
/linux/tools/testing/selftests/bpf/
H A Dtest_ftrace.sh38 ./test_progs -t fexit
/linux/kernel/bpf/
H A Dtrampoline.c886 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 Dsyscall.c3727 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 Dbpf_jit_comp.c830 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 Dbpftool-prog.rst57 | **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 Dbpf_jit_comp64.c1032 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 Dbpf_jit_comp.c2712 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 Dbpf_jit.c1871 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 Dbpf_jit_comp.c3477 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 Dbpf_jit_comp.c2691 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 Dbpf.h2021 struct bpf_tramp_node fexit; member