tramp 261 arch/arm64/kernel/module-plts.c Elf_Shdr *pltsec, *tramp = NULL; tramp 276 arch/arm64/kernel/module-plts.c tramp = sechdrs + i; tramp 329 arch/arm64/kernel/module-plts.c if (tramp) { tramp 330 arch/arm64/kernel/module-plts.c tramp->sh_type = SHT_NOBITS; tramp 331 arch/arm64/kernel/module-plts.c tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; tramp 332 arch/arm64/kernel/module-plts.c tramp->sh_addralign = __alignof__(struct plt_entry); tramp 333 arch/arm64/kernel/module-plts.c tramp->sh_size = sizeof(struct plt_entry); tramp 23 arch/hexagon/kernel/signal.c unsigned long tramp[2]; tramp 115 arch/hexagon/kernel/signal.c err |= __put_user(0x7800d166, &frame->tramp[0]); tramp 116 arch/hexagon/kernel/signal.c err |= __put_user(0x5400c004, &frame->tramp[1]); tramp 50 arch/microblaze/kernel/signal.c unsigned long tramp[2]; /* signal trampoline */ tramp 56 arch/microblaze/kernel/signal.c unsigned long tramp[2]; /* signal trampoline */ tramp 188 arch/microblaze/kernel/signal.c frame->tramp + 0); tramp 190 arch/microblaze/kernel/signal.c err |= __put_user(0xb9cc0008, frame->tramp + 1); tramp 194 arch/microblaze/kernel/signal.c regs->r15 = ((unsigned long)frame->tramp)-8; tramp 196 arch/microblaze/kernel/signal.c address = ((unsigned long)frame->tramp); tramp 207 arch/microblaze/kernel/signal.c address += ((unsigned long)frame->tramp) & ~PAGE_MASK; tramp 14 arch/parisc/include/asm/rt_sigframe.h unsigned int tramp[TRAMP_SIZE]; tramp 120 arch/parisc/kernel/ftrace.c u32 *tramp; tramp 164 arch/parisc/kernel/ftrace.c tramp = ftrace_trampoline; tramp 169 arch/parisc/kernel/ftrace.c tramp = ftrace_trampoline_unaligned; tramp 184 arch/parisc/kernel/ftrace.c __patch_text_multiple(ip, tramp, size); tramp 284 arch/parisc/kernel/signal.c &frame->tramp[SIGRESTARTBLOCK_TRAMP+0]); tramp 286 arch/parisc/kernel/signal.c &frame->tramp[SIGRESTARTBLOCK_TRAMP+1]); tramp 288 arch/parisc/kernel/signal.c &frame->tramp[SIGRESTARTBLOCK_TRAMP+2]); tramp 289 arch/parisc/kernel/signal.c err |= __put_user(INSN_NOP, &frame->tramp[SIGRESTARTBLOCK_TRAMP+3]); tramp 297 arch/parisc/kernel/signal.c sid, frame->tramp); tramp 301 arch/parisc/kernel/signal.c start = (unsigned long) &frame->tramp[0]; tramp 302 arch/parisc/kernel/signal.c end = (unsigned long) &frame->tramp[TRAMP_SIZE]; tramp 310 arch/parisc/kernel/signal.c rp = (unsigned long) &frame->tramp[SIGRESTARTBLOCK_TRAMP]; tramp 49 arch/parisc/kernel/signal32.h compat_uint_t tramp[COMPAT_TRAMP_SIZE]; tramp 61 arch/powerpc/include/asm/module.h unsigned long tramp; tramp 300 arch/powerpc/kernel/module_32.c module->arch.tramp = do_plt_call(module->core_layout.base, tramp 303 arch/powerpc/kernel/module_32.c if (!module->arch.tramp) tramp 826 arch/powerpc/kernel/module_64.c mod->arch.tramp = create_ftrace_stub(sechdrs, mod, tramp 835 arch/powerpc/kernel/module_64.c if (!mod->arch.tramp) tramp 470 arch/powerpc/kernel/signal_32.c if (__put_user(PPC_INST_ADDI + sigret, &frame->tramp[0]) tramp 471 arch/powerpc/kernel/signal_32.c || __put_user(PPC_INST_SC, &frame->tramp[1])) tramp 473 arch/powerpc/kernel/signal_32.c flush_icache_range((unsigned long) &frame->tramp[0], tramp 474 arch/powerpc/kernel/signal_32.c (unsigned long) &frame->tramp[2]); tramp 611 arch/powerpc/kernel/signal_32.c if (__put_user(PPC_INST_ADDI + sigret, &frame->tramp[0]) tramp 612 arch/powerpc/kernel/signal_32.c || __put_user(PPC_INST_SC, &frame->tramp[1])) tramp 614 arch/powerpc/kernel/signal_32.c flush_icache_range((unsigned long) &frame->tramp[0], tramp 615 arch/powerpc/kernel/signal_32.c (unsigned long) &frame->tramp[2]); tramp 905 arch/powerpc/kernel/signal_32.c unsigned long tramp; tramp 935 arch/powerpc/kernel/signal_32.c tramp = tsk->mm->context.vdso_base + vdso32_rt_sigtramp; tramp 938 arch/powerpc/kernel/signal_32.c tramp = (unsigned long) frame->tramp; tramp 960 arch/powerpc/kernel/signal_32.c regs->link = tramp; tramp 1366 arch/powerpc/kernel/signal_32.c unsigned long tramp; tramp 1397 arch/powerpc/kernel/signal_32.c tramp = tsk->mm->context.vdso_base + vdso32_sigtramp; tramp 1400 arch/powerpc/kernel/signal_32.c tramp = (unsigned long) frame->mctx.tramp; tramp 1417 arch/powerpc/kernel/signal_32.c regs->link = tramp; tramp 61 arch/powerpc/kernel/signal_64.c unsigned int tramp[TRAMP_SIZE]; tramp 601 arch/powerpc/kernel/signal_64.c static long setup_trampoline(unsigned int syscall, unsigned int __user *tramp) tramp 608 arch/powerpc/kernel/signal_64.c (__SIGNAL_FRAMESIZE & 0xffff), &tramp[0]); tramp 610 arch/powerpc/kernel/signal_64.c err |= __put_user(PPC_INST_ADDI | (syscall & 0xffff), &tramp[1]); tramp 612 arch/powerpc/kernel/signal_64.c err |= __put_user(PPC_INST_SC, &tramp[2]); tramp 616 arch/powerpc/kernel/signal_64.c err |= __put_user(0, &tramp[i]); tramp 619 arch/powerpc/kernel/signal_64.c flush_icache_range((unsigned long) &tramp[0], tramp 620 arch/powerpc/kernel/signal_64.c (unsigned long) &tramp[TRAMP_SIZE]); tramp 872 arch/powerpc/kernel/signal_64.c err |= setup_trampoline(__NR_rt_sigreturn, &frame->tramp[0]); tramp 875 arch/powerpc/kernel/signal_64.c regs->link = (unsigned long) &frame->tramp[0]; tramp 126 arch/powerpc/kernel/trace/ftrace.c unsigned long entry, ptr, tramp; tramp 143 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); tramp 145 arch/powerpc/kernel/trace/ftrace.c pr_devel("ip:%lx jumps to %lx", ip, tramp); tramp 147 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { tramp 223 arch/powerpc/kernel/trace/ftrace.c unsigned long tramp; tramp 235 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); tramp 245 arch/powerpc/kernel/trace/ftrace.c pr_devel("ip:%lx jumps to %lx", ip, tramp); tramp 248 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(jmp, (void *)tramp, sizeof(jmp))) { tramp 249 arch/powerpc/kernel/trace/ftrace.c pr_err("Failed to read %lx\n", tramp); tramp 264 arch/powerpc/kernel/trace/ftrace.c tramp = (jmp[1] & 0xffff) | tramp 266 arch/powerpc/kernel/trace/ftrace.c if (tramp & 0x8000) tramp 267 arch/powerpc/kernel/trace/ftrace.c tramp -= 0x10000; tramp 269 arch/powerpc/kernel/trace/ftrace.c pr_devel(" %lx ", tramp); tramp 271 arch/powerpc/kernel/trace/ftrace.c if (tramp != addr) { tramp 273 arch/powerpc/kernel/trace/ftrace.c tramp); tramp 304 arch/powerpc/kernel/trace/ftrace.c static int add_ftrace_tramp(unsigned long tramp) tramp 310 arch/powerpc/kernel/trace/ftrace.c ftrace_tramps[i] = tramp; tramp 323 arch/powerpc/kernel/trace/ftrace.c static int setup_mcount_compiler_tramp(unsigned long tramp) tramp 333 arch/powerpc/kernel/trace/ftrace.c else if (ftrace_tramps[i] == tramp) tramp 340 arch/powerpc/kernel/trace/ftrace.c else if (ftrace_plt_tramps[i] == tramp) tramp 344 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)tramp, sizeof(int))) { tramp 356 arch/powerpc/kernel/trace/ftrace.c ptr = find_bl_target(tramp, op); tramp 369 arch/powerpc/kernel/trace/ftrace.c if (!create_branch((void *)tramp, ptr, 0)) { tramp 375 arch/powerpc/kernel/trace/ftrace.c if (patch_branch((unsigned int *)tramp, ptr, 0)) { tramp 380 arch/powerpc/kernel/trace/ftrace.c if (add_ftrace_tramp(tramp)) { tramp 390 arch/powerpc/kernel/trace/ftrace.c unsigned long tramp, ip = rec->ip; tramp 406 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); tramp 408 arch/powerpc/kernel/trace/ftrace.c pr_devel("ip:%lx jumps to %lx", ip, tramp); tramp 410 arch/powerpc/kernel/trace/ftrace.c if (setup_mcount_compiler_tramp(tramp)) { tramp 515 arch/powerpc/kernel/trace/ftrace.c unsigned long entry, ptr, tramp; tramp 530 arch/powerpc/kernel/trace/ftrace.c if (!mod->arch.tramp || !mod->arch.tramp_regs) { tramp 532 arch/powerpc/kernel/trace/ftrace.c if (!mod->arch.tramp) { tramp 540 arch/powerpc/kernel/trace/ftrace.c tramp = mod->arch.tramp_regs; tramp 543 arch/powerpc/kernel/trace/ftrace.c tramp = mod->arch.tramp; tramp 545 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { tramp 560 arch/powerpc/kernel/trace/ftrace.c if (!create_branch(ip, tramp, BRANCH_SET_LINK)) { tramp 565 arch/powerpc/kernel/trace/ftrace.c if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { tramp 591 arch/powerpc/kernel/trace/ftrace.c if (!rec->arch.mod->arch.tramp) { tramp 598 arch/powerpc/kernel/trace/ftrace.c rec->arch.mod->arch.tramp, BRANCH_SET_LINK); tramp 618 arch/powerpc/kernel/trace/ftrace.c unsigned long tramp, entry, ptr; tramp 647 arch/powerpc/kernel/trace/ftrace.c tramp = find_ftrace_tramp((unsigned long)ip); tramp 648 arch/powerpc/kernel/trace/ftrace.c if (!tramp) { tramp 653 arch/powerpc/kernel/trace/ftrace.c if (patch_branch(ip, tramp, BRANCH_SET_LINK)) { tramp 705 arch/powerpc/kernel/trace/ftrace.c unsigned long entry, ptr, tramp; tramp 709 arch/powerpc/kernel/trace/ftrace.c if (!mod->arch.tramp || !mod->arch.tramp_regs) { tramp 727 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); tramp 730 arch/powerpc/kernel/trace/ftrace.c pr_devel("ip:%lx jumps to %lx", ip, tramp); tramp 732 arch/powerpc/kernel/trace/ftrace.c if (tramp != entry) { tramp 734 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { tramp 760 arch/powerpc/kernel/trace/ftrace.c tramp = mod->arch.tramp_regs; tramp 762 arch/powerpc/kernel/trace/ftrace.c tramp = mod->arch.tramp; tramp 764 arch/powerpc/kernel/trace/ftrace.c if (module_trampoline_target(mod, tramp, &ptr)) { tramp 779 arch/powerpc/kernel/trace/ftrace.c if (!create_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) { tramp 784 arch/powerpc/kernel/trace/ftrace.c if (patch_branch((unsigned int *)ip, tramp, BRANCH_SET_LINK)) { tramp 874 arch/powerpc/kernel/trace/ftrace.c unsigned int *tramp[] = { ftrace_tramp_text, ftrace_tramp_init }; tramp 896 arch/powerpc/kernel/trace/ftrace.c memcpy(tramp[i], stub_insns, sizeof(stub_insns)); tramp 897 arch/powerpc/kernel/trace/ftrace.c tramp[i][1] |= PPC_HA(reladdr); tramp 898 arch/powerpc/kernel/trace/ftrace.c tramp[i][2] |= PPC_LO(reladdr); tramp 899 arch/powerpc/kernel/trace/ftrace.c add_ftrace_tramp((unsigned long)tramp[i]); tramp 198 arch/powerpc/perf/callchain.c unsigned int tramp[6]; tramp 207 arch/powerpc/perf/callchain.c if (nip == fp + offsetof(struct signal_frame_64, tramp)) tramp 703 arch/x86/kernel/ftrace.c static inline void tramp_free(void *tramp) tramp 705 arch/x86/kernel/ftrace.c module_memfree(tramp); tramp 713 arch/x86/kernel/ftrace.c static inline void tramp_free(void *tramp) { }