Lines Matching refs:reladdr
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()
441 ppc_inst(entry->jump[0] | PPC_HA(reladdr)))) in create_stub()
445 ppc_inst(entry->jump[1] | PPC_LO(reladdr)))) in create_stub()