Home
last modified time | relevance | path

Searched refs:fentry (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/ras/
H A Ddebugfs.c48 struct dentry *fentry; in ras_add_daemon_trace() local
53 fentry = debugfs_create_file("daemon_active", S_IRUSR, ras_debugfs_dir, in ras_add_daemon_trace()
55 if (IS_ERR(fentry)) in ras_add_daemon_trace()
/linux/tools/testing/selftests/bpf/progs/
H A Dtailcall_bpf2bpf_fentry.c11 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG() argument
H A Dtest_trace_ext_tracing.c10 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG() argument
H A Dtailcall_bpf2bpf_hierarchy_fentry.c28 SEC("fentry/dummy") in BPF_PROG()
29 int BPF_PROG(fentry, struct sk_buff *skb) in BPF_PROG()
25 BPF_PROG(fentry,struct sk_buff * skb) BPF_PROG() argument
H A Dtracing_multi_intersect_attach.c17 int BPF_PROG(fentry) in BPF_PROG() argument
/linux/net/smc/
H A Dsmc_ism.c493 struct smcd_dev *smcd, *fentry; in smcd_alloc_dev()
520 fentry = list_first_entry_or_null(&smcd_dev_list.list, in smcd_register_dev()
522 if (fentry && smc_ism_is_loopback(fentry->dibs)) in smcd_register_dev()
523 list_add(&smcd->list, &fentry->list); in smcd_register_dev()
498 struct smcd_dev *smcd, *fentry; smcd_register_dev() local
/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.c617 /* batched (staying mostly in kernel) kprobe/fentry benchmarks */
634 BENCH_TRIG_KERNEL(fentry, "fentry");
/linux/tools/testing/selftests/bpf/
H A Dtest_ftrace.sh37 ./test_progs -t fentry
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_ext.c75 prog = skel_trace->progs.fentry; in test_trace_ext()
H A Dkprobe_multi_test.c383 err = bpf_prog_test_run_opts(bpf_program__fd(sl_skel->progs.fentry), &topts); in test_attach_api_fails()
H A Dtracing_multi.c491 fentry_link = bpf_program__attach(skel->progs.fentry); in test_fentry_after_multi()
/linux/drivers/cdrom/
H A Dgdrom.c315 int fentry, lentry, track, data, err; in gdrom_get_last_session() local
331 fentry = get_entry_track(gd.toc->first); in gdrom_get_last_session()
340 } while (track >= fentry); in gdrom_get_last_session()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c829 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
925 /* Room for return value of func_addr or fentry prog */ in __arch_prepare_bpf_trampoline()
1039 * Clear the return value to make sure fentry always get 0 in __arch_prepare_bpf_trampoline()
1046 for (i = 0; i < fentry->nr_nodes; i++) { in __arch_prepare_bpf_trampoline()
1047 if (bpf_prog_calls_session_cookie(fentry->nodes[i])) { in __arch_prepare_bpf_trampoline()
1054 if (invoke_bpf_prog(image, ro_image, ctx, im, fentry->nodes[i], regs_off, in __arch_prepare_bpf_trampoline()
1147 /* Restore return value of func_addr or fentry prog */ in __arch_prepare_bpf_trampoline()
821 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; __arch_prepare_bpf_trampoline() local
/linux/drivers/clk/tegra/
H A Dclk-tegra210.c2894 struct tegra_clk_pll_freq_table *fentry; in tegra210_enable_pllu() local
2899 for (fentry = pll_u_freq_table; fentry->input_rate; fentry++) { in tegra210_enable_pllu()
2900 if (fentry->input_rate == pll_ref_freq) in tegra210_enable_pllu()
2904 if (!fentry->input_rate) { in tegra210_enable_pllu()
2918 reg |= fentry->m; in tegra210_enable_pllu()
2919 reg |= fentry->n << 8; in tegra210_enable_pllu()
2920 reg |= fentry->p << 16; in tegra210_enable_pllu()
/linux/scripts/
H A Drecordmcount.h360 char const *fentry = "__fentry__"; in get_mcountsym() local
366 (strcmp(fentry, symname) == 0)) in get_mcountsym()
/linux/tools/objtool/include/objtool/
H A Delf.h85 u8 fentry : 1;
66 u8 fentry : 1; global() member
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c23 /* fentry and TCC init insns will be skipped on tailcall */
1031 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
1034 bool is_struct_ops = is_struct_ops_tramp(fentry); in __arch_prepare_bpf_trampoline()
1188 /* clear return value to make sure fentry always get 0 */ in __arch_prepare_bpf_trampoline()
1199 if (fentry->nr_nodes) { in __arch_prepare_bpf_trampoline()
1200 ret = invoke_bpf(im, fentry, args_off, retval_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
1004 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; __arch_prepare_bpf_trampoline() local
/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/arm64/net/
H A Dbpf_jit_comp.c2639 * prologue. Entered through the fentry call from a traced function, the in save_args()
2722 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in prepare_trampoline()
2727 bool is_struct_ops = is_struct_ops_tramp(fentry); in prepare_trampoline()
2880 /* clear the return value to make sure fentry always gets 0 */ in prepare_trampoline()
2885 for (i = 0; i < fentry->nr_nodes; i++) { in prepare_trampoline()
2886 if (bpf_prog_calls_session_cookie(fentry->nodes[i])) { in prepare_trampoline()
2892 invoke_bpf_prog(ctx, im, fentry->nodes[i], bargs_off, in prepare_trampoline()
2715 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; prepare_trampoline() local
/linux/arch/loongarch/net/
H A Dbpf_jit.c141 * fentry trampoline slot for dynamically patching by ftrace at runtime. in build_prologue()
1870 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
2027 /* clear return value to make sure fentry always get 0 */ in __arch_prepare_bpf_trampoline()
2047 if (fentry->nr_nodes) { in __arch_prepare_bpf_trampoline()
2048 ret = invoke_bpf(ctx, im, fentry, args_off, retval_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
1842 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; __arch_prepare_bpf_trampoline() local
/linux/tools/objtool/
H A Dcheck.c1400 if (opts.mcount && sym->fentry) { in annotate_call_site()
2518 func->fentry = true; in classify_symbols()
2695 if (dest->fentry || dest->embedded_insn) in is_special_call()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3141 * entered through the fentry call, so rbp + 24, and in save_args()
3476 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; in __arch_prepare_bpf_trampoline()
3533 /* room for return value of orig_call or fentry prog */ in __arch_prepare_bpf_trampoline()
3600 * Direct-call fentry stub, as such it needs accounting for the in __arch_prepare_bpf_trampoline()
3647 /* clear the return value to make sure fentry always get 0 */ in __arch_prepare_bpf_trampoline()
3651 if (fentry->nr_nodes) { in __arch_prepare_bpf_trampoline()
3652 if (invoke_bpf(m, &prog, im, fentry, regs_off, run_ctx_off, func_meta_off, in __arch_prepare_bpf_trampoline()
3746 /* restore return value of orig_call or fentry prog back into RAX */ in __arch_prepare_bpf_trampoline()
3467 struct bpf_tramp_nodes *fentry = &tnodes[BPF_TRAMP_FENTRY]; __arch_prepare_bpf_trampoline() local
/linux/Documentation/livepatch/
H A Dlivepatch.rst428 using -fentry gcc compiler option on x86_64.