Searched refs:reladdr (Results 1 – 5 of 5) sorted by relevance
504 long reladdr; in create_ftrace_stub() local517 if (reladdr > 0x1FFFFFFFFL || reladdr < -0x200000000L) { in create_ftrace_stub()524 entry->jump[3] |= IMM_L(reladdr); in create_ftrace_stub()528 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in create_ftrace_stub()534 entry->jump[1] |= PPC_HA(reladdr); in create_ftrace_stub()535 entry->jump[2] |= PPC_LO(reladdr); in create_ftrace_stub()596 long reladdr; in create_stub() local618 BUILD_BUG_ON(reladdr != 32); in create_stub()619 if (reladdr > 0x1FFFFFFFFL || reladdr < -0x200000000L) { in create_stub()621 me->name, (void *)reladdr); in create_stub()[all …]
355 long reladdr; in ftrace_dyn_arch_init() local380 reladdr = addr - (unsigned long)tramp[i]; in ftrace_dyn_arch_init()382 if (reladdr >= (long)SZ_8G || reladdr < -(long)SZ_8G) { in ftrace_dyn_arch_init()389 tramp[i][0] |= IMM_H18(reladdr); in ftrace_dyn_arch_init()390 tramp[i][1] |= IMM_L(reladdr); in ftrace_dyn_arch_init()394 reladdr = addr - kernel_toc_addr(); in ftrace_dyn_arch_init()396 if (reladdr >= (long)SZ_2G || reladdr < -(long long)SZ_2G) { in ftrace_dyn_arch_init()404 tramp[i][1] |= PPC_HA(reladdr); in ftrace_dyn_arch_init()405 tramp[i][2] |= PPC_LO(reladdr); in ftrace_dyn_arch_init()
741 long reladdr; in ftrace_dyn_arch_init() local748 reladdr = addr - kernel_toc_addr(); in ftrace_dyn_arch_init()750 if (reladdr >= SZ_2G || reladdr < -(long)SZ_2G) { in ftrace_dyn_arch_init()758 tramp[i][1] |= PPC_HA(reladdr); in ftrace_dyn_arch_init()759 tramp[i][2] |= PPC_LO(reladdr); in ftrace_dyn_arch_init()
208 long reladdr; in bpf_jit_emit_func_call_hlp() local214 reladdr = func_addr - CTX_NIA(ctx); in bpf_jit_emit_func_call_hlp()216 if (reladdr >= (long)SZ_8G || reladdr < -(long)SZ_8G) { in bpf_jit_emit_func_call_hlp()222 EMIT(PPC_PREFIX_MLS | __PPC_PRFX_R(1) | IMM_H18(reladdr)); in bpf_jit_emit_func_call_hlp()223 EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | IMM_L(reladdr)); in bpf_jit_emit_func_call_hlp()228 reladdr = func_addr - kernel_toc_addr(); in bpf_jit_emit_func_call_hlp()229 if (reladdr > 0x7FFFFFFF || reladdr < -(0x80000000L)) { in bpf_jit_emit_func_call_hlp()234 EMIT(PPC_RAW_ADDIS(_R12, _R2, PPC_HA(reladdr))); in bpf_jit_emit_func_call_hlp()235 EMIT(PPC_RAW_ADDI(_R12, _R12, PPC_LO(reladdr))); in bpf_jit_emit_func_call_hlp()
131 bool reloc, bool reladdr) in kernel_get_symbol_address_by_name() argument148 ((reladdr) ? map__start(map) : 0); in kernel_get_symbol_address_by_name()