Home
last modified time | relevance | path

Searched refs:reladdr (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/powerpc/kernel/
Dmodule_64.c349 long reladdr; in create_ftrace_stub() local
354 reladdr = addr - kernel_toc_addr(); in create_ftrace_stub()
355 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in create_ftrace_stub()
361 entry->jump[1] |= PPC_HA(reladdr); in create_ftrace_stub()
362 entry->jump[2] |= PPC_LO(reladdr); in create_ftrace_stub()
418 long reladdr; in create_stub() local
432 reladdr = (unsigned long)entry - my_r2(sechdrs, me); in create_stub()
433 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in create_stub()
435 me->name, (void *)reladdr, (void *)my_r2); in create_stub()
438 pr_debug("Stub %p get data from reladdr %li\n", entry, reladdr); in create_stub()
[all …]
/linux-6.1.9/arch/powerpc/kernel/trace/
Dftrace.c736 long reladdr; in ftrace_dyn_arch_init() local
743 reladdr = addr - kernel_toc_addr(); in ftrace_dyn_arch_init()
745 if (reladdr >= SZ_2G || reladdr < -(long)SZ_2G) { in ftrace_dyn_arch_init()
753 tramp[i][1] |= PPC_HA(reladdr); in ftrace_dyn_arch_init()
754 tramp[i][2] |= PPC_LO(reladdr); in ftrace_dyn_arch_init()
/linux-6.1.9/arch/powerpc/net/
Dbpf_jit_comp64.c206 long reladdr; in bpf_jit_emit_func_call_hlp() local
211 reladdr = func_addr - kernel_toc_addr(); in bpf_jit_emit_func_call_hlp()
212 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in bpf_jit_emit_func_call_hlp()
217 EMIT(PPC_RAW_ADDIS(_R12, _R2, PPC_HA(reladdr))); in bpf_jit_emit_func_call_hlp()
218 EMIT(PPC_RAW_ADDI(_R12, _R12, PPC_LO(reladdr))); in bpf_jit_emit_func_call_hlp()
/linux-6.1.9/tools/perf/util/
Dprobe-event.c129 bool reloc, bool reladdr) in kernel_get_symbol_address_by_name() argument
146 ((reladdr) ? map->start : 0); in kernel_get_symbol_address_by_name()