Home
last modified time | relevance | path

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

/linux/scripts/
H A Dfaddr2line175 local func_addr=$2
179 local sym_name=${func_addr%+*}
180 local func_offset=${func_addr#*+}
183 [[ $func_addr =~ "/" ]] && user_size=${func_addr#*/}
185 if [[ -z $sym_name ]] || [[ -z $func_offset ]] || [[ $sym_name = $func_addr ]]; then
186 warn "bad func+offset $func_addr"
359 func_addr=$1
364 __faddr2line $objfile $func_addr $DIR_PREFIX 0
368 __faddr2line $objfile $func_addr $DIR_PREFIX 1
369 warn "no match for $func_addr"
/linux/tools/perf/util/bpf_skel/
H A Dkwork_trace.bpf.c345 unsigned long long func_addr = (unsigned long long)ctx->function; in report_workqueue_execute_end() local
348 bpf_snprintf(name, sizeof(name), "%ps", &func_addr, sizeof(func_addr)); in report_workqueue_execute_end()
375 unsigned long long func_addr = (unsigned long long)ctx->function; in latency_workqueue_execute_start() local
378 bpf_snprintf(name, sizeof(name), "%ps", &func_addr, sizeof(func_addr)); in latency_workqueue_execute_start()
/linux/kernel/livepatch/
H A Dtransition.c217 unsigned long func_addr, func_size, address; in klp_check_stack_func() local
226 func_addr = (unsigned long)func->new_func; in klp_check_stack_func()
237 func_addr = (unsigned long)func->old_func; in klp_check_stack_func()
244 func_addr = (unsigned long)prev->new_func; in klp_check_stack_func()
252 if (address >= func_addr && address < func_addr + func_size) in klp_check_stack_func()
/linux/kernel/kcsan/
H A Ddebugfs.c103 bool kcsan_skip_report_debugfs(unsigned long func_addr) in kcsan_skip_report_debugfs() argument
109 if (!kallsyms_lookup_size_offset(func_addr, &symbolsize, &offset)) in kcsan_skip_report_debugfs()
111 func_addr -= offset; /* Get function start */ in kcsan_skip_report_debugfs()
123 ret = !!bsearch(&func_addr, report_filterlist.addrs, in kcsan_skip_report_debugfs()
H A Dkcsan.h96 extern bool kcsan_skip_report_debugfs(unsigned long func_addr);
/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c208 unsigned long func_addr = func ? ppc_function_entry((void *)func) : 0; in bpf_jit_emit_func_call_hlp() local
211 if (WARN_ON_ONCE(!kernel_text_address(func_addr))) in bpf_jit_emit_func_call_hlp()
215 reladdr = func_addr - local_paca->kernelbase; in bpf_jit_emit_func_call_hlp()
229 reladdr = func_addr - (alignment_needed ? pc + 4 : pc); in bpf_jit_emit_func_call_hlp()
245 if (core_kernel_text(func_addr)) { in bpf_jit_emit_func_call_hlp()
246 reladdr = func_addr - kernel_toc_addr(); in bpf_jit_emit_func_call_hlp()
429 u64 func_addr; in bpf_jit_build_body() local
1101 &func_addr, &func_addr_fixed); in bpf_jit_build_body()
1106 ret = bpf_jit_emit_func_call_hlp(image, fimage, ctx, func_addr); in bpf_jit_build_body()
1108 ret = bpf_jit_emit_func_call_rel(image, fimage, ctx, func_addr); in bpf_jit_build_body()
H A Dbpf_jit_comp32.c308 u64 func_addr; in bpf_jit_build_body() local
1132 &func_addr, &func_addr_fixed); in bpf_jit_build_body()
1141 ret = bpf_jit_emit_func_call_rel(image, fimage, ctx, func_addr); in bpf_jit_build_body()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c249 bpf->helpers.map_lookup = readl(&cap->func_addr); in nfp_bpf_parse_cap_func()
252 bpf->helpers.map_update = readl(&cap->func_addr); in nfp_bpf_parse_cap_func()
255 bpf->helpers.map_delete = readl(&cap->func_addr); in nfp_bpf_parse_cap_func()
258 bpf->helpers.perf_event_output = readl(&cap->func_addr); in nfp_bpf_parse_cap_func()
H A Dfw.h32 __le32 func_addr; member
/linux/arch/parisc/net/
H A Dbpf_jit_comp32.c328 u32 func_addr; in emit_call_millicode() local
337 func_addr = (uintptr_t) dereference_function_descriptor(func); in emit_call_millicode()
338 emit(hppa_ldil(func_addr, HPPA_REG_R31), ctx); in emit_call_millicode()
348 emit(hppa_be_l(im11(func_addr) >> 2, HPPA_REG_R31, NOP_NEXT_INSTR), ctx); in emit_call_millicode()
362 u32 func_addr; in emit_call_libgcc_ll() local
376 func_addr = (uintptr_t) dereference_function_descriptor(func); in emit_call_libgcc_ll()
377 emit(hppa_ldil(func_addr, HPPA_REG_R31), ctx); in emit_call_libgcc_ll()
387 emit(hppa_be_l(im11(func_addr) >> 2, HPPA_REG_R31, EXEC_NEXT_INSTR), ctx); in emit_call_libgcc_ll()
H A Dbpf_jit_comp64.c508 u64 func_addr; in emit_call_libgcc_ll() local
527 func_addr = (uintptr_t) func; in emit_call_libgcc_ll()
529 emit_imm(HPPA_REG_R31, func_addr, arg0, ctx); in emit_call_libgcc_ll()
/linux/drivers/net/fddi/skfp/h/
H A Dfplustm.h225 u_long func_addr ; /* functional address */ member
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1355 u64 func_addr; in build_insn() local
1380 &func_addr, &func_addr_fixed); in build_insn()
1383 emit_call(func_addr, ctx); in build_insn()
2109 struct bpf_tramp_links *tlinks, void *func_addr, in prepare_trampoline() argument
2207 emit_addr_mov_i64(A64_R(10), (const u64)func_addr, ctx); in prepare_trampoline()
2328 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() argument
2342 ret = prepare_trampoline(&ctx, &im, tlinks, func_addr, nregs, flags); in arch_bpf_trampoline_size()
2367 void *func_addr) in arch_prepare_bpf_trampoline() argument
2393 ret = prepare_trampoline(&ctx, im, tlinks, func_addr, nregs, flags); in arch_prepare_bpf_trampoline()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c805 void *func_addr, u32 flags, in __arch_prepare_bpf_trampoline() argument
816 void *orig_call = func_addr; in __arch_prepare_bpf_trampoline()
922 emit_kcfi(cfi_get_func_hash(func_addr), ctx); in __arch_prepare_bpf_trampoline()
937 emit_imm(RV_REG_T1, (const s64)func_addr, ctx); in __arch_prepare_bpf_trampoline()
1061 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() argument
1070 ret = __arch_prepare_bpf_trampoline(&im, m, tlinks, func_addr, flags, &ctx); in arch_bpf_trampoline_size()
1088 void *func_addr) in arch_prepare_bpf_trampoline() argument
1102 ret = __arch_prepare_bpf_trampoline(im, m, tlinks, func_addr, flags, &ctx); in arch_prepare_bpf_trampoline()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c2874 void *func_addr) in __arch_prepare_bpf_trampoline() argument
2881 void *orig_call = func_addr; in __arch_prepare_bpf_trampoline()
2985 emit_cfi(&prog, cfi_get_func_hash(func_addr)); in __arch_prepare_bpf_trampoline()
3019 emit_mov_imm64(&prog, BPF_REG_0, (long) func_addr >> 32, (u32) (long) func_addr); in __arch_prepare_bpf_trampoline()
3168 void *func_addr) in arch_prepare_bpf_trampoline() argument
3182 flags, tlinks, func_addr); in arch_prepare_bpf_trampoline()
3195 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() argument
3213 m, flags, tlinks, func_addr); in arch_bpf_trampoline_size()
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2572 void *func_addr) in __arch_prepare_bpf_trampoline() argument
2589 if ((!func_addr && !(flags & BPF_TRAMP_F_ORIG_STACK)) || in __arch_prepare_bpf_trampoline()
2706 load_imm64(jit, REG_8, (u64)func_addr + S390X_PATCH_SIZE); in __arch_prepare_bpf_trampoline()
2716 load_imm64(jit, REG_0, (u64)func_addr); in __arch_prepare_bpf_trampoline()
2883 void *func_addr) in arch_prepare_bpf_trampoline() argument
2891 tlinks, func_addr); in arch_prepare_bpf_trampoline()
2905 tlinks, func_addr); in arch_prepare_bpf_trampoline()
/linux/arch/powerpc/kernel/
H A Dmodule_64.c89 static unsigned long func_addr(unsigned long addr) in func_addr() function
682 if (stub_func_addr(stubs[i].funcdata) == func_addr(addr)) in stub_for_addr()
/linux/drivers/net/fddi/skfp/
H A Dfplustm.c854 smc->hw.fp.func_addr = 0 ; in init_fplus()
1206 if (smc->hw.fp.func_addr) { in mac_update_multicast()
1207 fu = (u_char *) &smc->hw.fp.func_addr ; in mac_update_multicast()
/linux/kernel/bpf/
H A Dtrampoline.c1052 void *func_addr) in arch_prepare_bpf_trampoline() argument
1085 struct bpf_tramp_links *tlinks, void *func_addr) in arch_bpf_trampoline_size() argument
H A Dcore.c1250 u64 *func_addr, bool *func_addr_fixed) in bpf_jit_get_func_addr() argument
1284 *func_addr = (unsigned long)addr; in bpf_jit_get_func_addr()
H A Dverifier.c2689 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
2697 *func_addr = (u8 *)desc->addr; in bpf_get_kfunc_addr()
/linux/arch/loongarch/net/
H A Dbpf_jit.c461 u64 func_addr; in build_insn() local
902 &func_addr, &func_addr_fixed); in build_insn()
906 move_addr(ctx, t1, func_addr); in build_insn()
/linux/include/linux/
H A Dbpf.h1148 void *func_addr);
1153 struct bpf_tramp_links *tlinks, void *func_addr);
2647 u16 btf_fd_idx, u8 **func_addr);
2925 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
H A Dfilter.h1257 u64 *func_addr, bool *func_addr_fixed);
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c1215 u32 func_addr = SECTION_ADDR(mfw_func_offsize, in qed_mcp_ack_vf_flr() local
1239 func_addr + in qed_mcp_ack_vf_flr()
1304 u32 func_addr; in qed_mcp_get_shmem_func() local
1307 func_addr = SECTION_ADDR(mfw_path_offsize, pfid); in qed_mcp_get_shmem_func()
1313 func_addr + (i << 2)); in qed_mcp_get_shmem_func()