Home
last modified time | relevance | path

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

/linux-6.6.21/scripts/
Dfaddr2line95 local func_addr=$2
99 local sym_name=${func_addr%+*}
100 local func_offset=${func_addr#*+}
105 [[ $func_addr =~ "/" ]] && user_size=${func_addr#*/}
107 if [[ -z $sym_name ]] || [[ -z $func_offset ]] || [[ $sym_name = $func_addr ]]; then
108 warn "bad func+offset $func_addr"
283 func_addr=$1
288 __faddr2line $objfile $func_addr $DIR_PREFIX 0
292 __faddr2line $objfile $func_addr $DIR_PREFIX 1
293 warn "no match for $func_addr"
/linux-6.6.21/tools/perf/util/bpf_skel/
Dkwork_trace.bpf.c344 unsigned long long func_addr = (unsigned long long)ctx->function; in report_workqueue_execute_end() local
347 bpf_snprintf(name, sizeof(name), "%ps", &func_addr, sizeof(func_addr)); in report_workqueue_execute_end()
374 unsigned long long func_addr = (unsigned long long)ctx->function; in latency_workqueue_execute_start() local
377 bpf_snprintf(name, sizeof(name), "%ps", &func_addr, sizeof(func_addr)); in latency_workqueue_execute_start()
/linux-6.6.21/kernel/livepatch/
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-6.6.21/kernel/kcsan/
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()
Dkcsan.h96 extern bool kcsan_skip_report_debugfs(unsigned long func_addr);
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
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()
Dfw.h32 __le32 func_addr; member
/linux-6.6.21/arch/powerpc/net/
Dbpf_jit_comp64.c207 unsigned long func_addr = func ? ppc_function_entry((void *)func) : 0; in bpf_jit_emit_func_call_hlp() local
210 if (WARN_ON_ONCE(!core_kernel_text(func_addr))) in bpf_jit_emit_func_call_hlp()
214 reladdr = func_addr - CTX_NIA(ctx); in bpf_jit_emit_func_call_hlp()
228 reladdr = func_addr - kernel_toc_addr(); in bpf_jit_emit_func_call_hlp()
386 u64 func_addr; in bpf_jit_build_body() local
991 &func_addr, &func_addr_fixed); in bpf_jit_build_body()
996 ret = bpf_jit_emit_func_call_hlp(image, ctx, func_addr); in bpf_jit_build_body()
998 ret = bpf_jit_emit_func_call_rel(image, ctx, func_addr); in bpf_jit_build_body()
Dbpf_jit_comp32.c307 u64 func_addr; in bpf_jit_build_body() local
1047 &func_addr, &func_addr_fixed); in bpf_jit_build_body()
1056 ret = bpf_jit_emit_func_call_rel(image, ctx, func_addr); in bpf_jit_build_body()
/linux-6.6.21/arch/parisc/net/
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()
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-6.6.21/arch/riscv/net/
Dbpf_jit_comp64.c788 void *func_addr, u32 flags, in __arch_prepare_bpf_trampoline() argument
798 void *orig_call = func_addr; in __arch_prepare_bpf_trampoline()
881 if (func_addr) { in __arch_prepare_bpf_trampoline()
910 emit_imm(RV_REG_T1, (const s64)func_addr, ctx); in __arch_prepare_bpf_trampoline()
1001 if (func_addr) { in __arch_prepare_bpf_trampoline()
1035 void *func_addr) in arch_prepare_bpf_trampoline() argument
1043 ret = __arch_prepare_bpf_trampoline(im, m, tlinks, func_addr, flags, &ctx); in arch_prepare_bpf_trampoline()
1060 ret = __arch_prepare_bpf_trampoline(im, m, tlinks, func_addr, flags, &ctx); in arch_prepare_bpf_trampoline()
/linux-6.6.21/drivers/net/fddi/skfp/h/
Dfplustm.h225 u_long func_addr ; /* functional address */ member
/linux-6.6.21/arch/s390/net/
Dbpf_jit_comp.c2209 void *func_addr) in __arch_prepare_bpf_trampoline() argument
2226 if (!func_addr && !(flags & BPF_TRAMP_F_ORIG_STACK)) in __arch_prepare_bpf_trampoline()
2342 load_imm64(jit, REG_8, (u64)func_addr + S390X_PATCH_SIZE); in __arch_prepare_bpf_trampoline()
2352 load_imm64(jit, REG_0, (u64)func_addr); in __arch_prepare_bpf_trampoline()
2504 void *func_addr) in arch_prepare_bpf_trampoline() argument
2520 tlinks, func_addr); in arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/powerpc/kernel/
Dmodule_64.c89 static unsigned long func_addr(unsigned long addr) in func_addr() function
683 if (stub_func_addr(stubs[i].funcdata) == func_addr(addr)) in stub_for_addr()
/linux-6.6.21/drivers/net/fddi/skfp/
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-6.6.21/arch/loongarch/net/
Dbpf_jit.c452 u64 func_addr; in build_insn() local
839 &func_addr, &func_addr_fixed); in build_insn()
843 move_addr(ctx, t1, func_addr); in build_insn()
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c2358 void *func_addr) in arch_prepare_bpf_trampoline() argument
2365 void *orig_call = func_addr; in arch_prepare_bpf_trampoline()
2487 emit_mov_imm64(&prog, BPF_REG_0, (long) func_addr >> 32, (u32) (long) func_addr); in arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/arm64/net/
Dbpf_jit_comp.c1116 u64 func_addr; in build_insn() local
1119 &func_addr, &func_addr_fixed); in build_insn()
1122 emit_call(func_addr, ctx); in build_insn()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
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()
/linux-6.6.21/include/linux/
Dbpf.h2443 u16 btf_fd_idx, u8 **func_addr);
2697 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
Dfilter.h1057 u64 *func_addr, bool *func_addr_fixed);
/linux-6.6.21/kernel/bpf/
Dcore.c1203 u64 *func_addr, bool *func_addr_fixed) in bpf_jit_get_func_addr() argument
1237 *func_addr = (unsigned long)addr; in bpf_jit_get_func_addr()
Dverifier.c2736 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
2744 *func_addr = (u8 *)desc->addr; in bpf_get_kfunc_addr()