Searched refs:reladdr (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/arch/powerpc/kernel/ |
D | module_64.c | 349 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-5.19.10/arch/powerpc/kernel/trace/ |
D | ftrace.c | 734 long reladdr; in ftrace_dyn_arch_init() local 741 reladdr = addr - kernel_toc_addr(); in ftrace_dyn_arch_init() 743 if (reladdr >= SZ_2G || reladdr < -(long)SZ_2G) { in ftrace_dyn_arch_init() 751 tramp[i][1] |= PPC_HA(reladdr); in ftrace_dyn_arch_init() 752 tramp[i][2] |= PPC_LO(reladdr); in ftrace_dyn_arch_init()
|
/linux-5.19.10/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 206 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-5.19.10/tools/perf/util/ |
D | probe-event.c | 128 bool reloc, bool reladdr) in kernel_get_symbol_address_by_name() argument 145 ((reladdr) ? map->start : 0); in kernel_get_symbol_address_by_name()
|