Home
last modified time | relevance | path

Searched refs:tramp (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/drivers/staging/tidspbridge/dynload/
Dtramp.c41 sect_info->name = dlthis->tramp.final_string_table; in priv_tramp_sect_tgt_alloc()
42 sect_info->size = dlthis->tramp.tramp_sect_next_addr; in priv_tramp_sect_tgt_alloc()
153 new_string->index = dlthis->tramp.tramp_string_next_index; in priv_tramp_string_create()
154 dlthis->tramp.tramp_string_next_index++; in priv_tramp_string_create()
155 dlthis->tramp.tramp_string_size += str_len + 1; in priv_tramp_string_create()
158 if (dlthis->tramp.string_head == NULL) in priv_tramp_string_create()
159 dlthis->tramp.string_head = new_string; in priv_tramp_string_create()
161 dlthis->tramp.string_tail->next = new_string; in priv_tramp_string_create()
163 dlthis->tramp.string_tail = new_string; in priv_tramp_string_create()
186 for (cur_str = dlthis->tramp.string_head; in priv_tramp_string_find()
[all …]
Dcload.c1335 ") failed", dlthis->tramp.tramp_sect_next_addr); in dload_data()
1590 if (dlthis->tramp.tramp_sect_next_addr != 0) in init_module_handle()
1675 if (dlthis->tramp.tramp_sect_next_addr != 0) { in init_module_handle()
1689 if (dlthis->tramp.tramp_sect_next_addr != 0) { in init_module_handle()
1691 dlthis->tramp.final_string_table, in init_module_handle()
1692 strlen(dlthis->tramp.final_string_table) + in init_module_handle()
Ddload_internal.h280 struct tramp_info tramp; /* Trampoline data, if needed */ member
/linux-3.4.99/arch/powerpc/kernel/
Dftrace.c112 unsigned long tramp; in __ftrace_make_nop() local
126 tramp = find_bl_target(ip, op); in __ftrace_make_nop()
142 pr_devel("ip:%lx jumps to %lx r2: %lx", ip, tramp, mod->arch.toc); in __ftrace_make_nop()
145 if (probe_kernel_read(jmp, (void *)tramp, sizeof(jmp))) { in __ftrace_make_nop()
146 printk(KERN_ERR "Failed to read %lx\n", tramp); in __ftrace_make_nop()
169 tramp = mod->arch.toc + offset + 32; in __ftrace_make_nop()
170 pr_devel("toc: %lx", tramp); in __ftrace_make_nop()
172 if (probe_kernel_read(jmp, (void *)tramp, 8)) { in __ftrace_make_nop()
173 printk(KERN_ERR "Failed to read %lx\n", tramp); in __ftrace_make_nop()
232 unsigned long tramp; in __ftrace_make_nop() local
[all …]
Dsignal_64.c60 unsigned int tramp[TRAMP_SIZE]; member
253 static long setup_trampoline(unsigned int syscall, unsigned int __user *tramp) in setup_trampoline() argument
259 err |= __put_user(0x38210000UL | (__SIGNAL_FRAMESIZE & 0xffff), &tramp[0]); in setup_trampoline()
261 err |= __put_user(0x38000000UL | (syscall & 0xffff), &tramp[1]); in setup_trampoline()
263 err |= __put_user(0x44000002UL, &tramp[2]); in setup_trampoline()
267 err |= __put_user(0, &tramp[i]); in setup_trampoline()
270 flush_icache_range((unsigned long) &tramp[0], in setup_trampoline()
271 (unsigned long) &tramp[TRAMP_SIZE]); in setup_trampoline()
442 err |= setup_trampoline(__NR_rt_sigreturn, &frame->tramp[0]); in handle_rt_signal64()
445 regs->link = (unsigned long) &frame->tramp[0]; in handle_rt_signal64()
Dsignal_32.c314 #define tramp mc_pad macro
492 if (__put_user(0x38000000UL + sigret, &frame->tramp[0]) in save_user_regs()
493 || __put_user(0x44000002UL, &frame->tramp[1])) in save_user_regs()
495 flush_icache_range((unsigned long) &frame->tramp[0], in save_user_regs()
496 (unsigned long) &frame->tramp[2]); in save_user_regs()
877 regs->link = (unsigned long) frame->tramp; in handle_rt_signal32()
1226 regs->link = (unsigned long) frame->mctx.tramp; in handle_signal32()
Dmodule_32.c302 module->arch.tramp = in apply_relocate_add()
Dmodule_64.c442 me->arch.tramp = stub_for_addr(sechdrs, in apply_relocate_add()
/linux-3.4.99/arch/mips/kernel/
Dvdso.c32 static void __init install_trampoline(u32 *tramp, unsigned int sigreturn) in install_trampoline() argument
34 uasm_i_addiu(&tramp, 2, 0, sigreturn); /* li v0, sigreturn */ in install_trampoline()
35 uasm_i_syscall(&tramp, 0); in install_trampoline()
/linux-3.4.99/arch/parisc/kernel/
Dsignal.c307 &frame->tramp[SIGRESTARTBLOCK_TRAMP+0]); in setup_rt_frame()
309 &frame->tramp[SIGRESTARTBLOCK_TRAMP+1]); in setup_rt_frame()
311 &frame->tramp[SIGRESTARTBLOCK_TRAMP+2]); in setup_rt_frame()
312 err |= __put_user(INSN_NOP, &frame->tramp[SIGRESTARTBLOCK_TRAMP+3]); in setup_rt_frame()
320 sid, frame->tramp); in setup_rt_frame()
324 flush_user_dcache_range((unsigned long) &frame->tramp[0], in setup_rt_frame()
325 (unsigned long) &frame->tramp[TRAMP_SIZE]); in setup_rt_frame()
326 flush_user_icache_range((unsigned long) &frame->tramp[0], in setup_rt_frame()
327 (unsigned long) &frame->tramp[TRAMP_SIZE]); in setup_rt_frame()
333 rp = (unsigned long) &frame->tramp[SIGRESTARTBLOCK_TRAMP]; in setup_rt_frame()
Dsignal32.h138 compat_uint_t tramp[COMPAT_TRAMP_SIZE]; member
/linux-3.4.99/arch/microblaze/kernel/
Dsignal.c60 unsigned long tramp[2]; /* signal trampoline */ member
66 unsigned long tramp[2]; /* signal trampoline */ member
215 frame->tramp + 0); in setup_rt_frame()
217 err |= __put_user(0xb9cc0008, frame->tramp + 1); in setup_rt_frame()
221 regs->r15 = ((unsigned long)frame->tramp)-8; in setup_rt_frame()
223 address = ((unsigned long)frame->tramp); in setup_rt_frame()
234 address += ((unsigned long)frame->tramp) & ~PAGE_MASK; in setup_rt_frame()
/linux-3.4.99/arch/powerpc/include/asm/
Dmodule.h39 unsigned long tramp; member
47 unsigned long tramp;
/linux-3.4.99/arch/parisc/include/asm/
Drt_sigframe.h13 unsigned int tramp[TRAMP_SIZE]; member
Dcompat_rt_sigframe.h32 compat_uint_t tramp[COMPAT_TRAMP_SIZE]; member
/linux-3.4.99/arch/hexagon/kernel/
Dsignal.c37 unsigned long tramp[2]; member
127 err |= __put_user(0x7800d166, &frame->tramp[0]); in setup_rt_frame()
128 err |= __put_user(0x5400c004, &frame->tramp[1]); in setup_rt_frame()
/linux-3.4.99/drivers/staging/tidspbridge/
DMakefile13 dynload/tramp.o
/linux-3.4.99/arch/powerpc/perf/
Dcallchain.c197 unsigned int tramp[6]; member
206 if (nip == fp + offsetof(struct signal_frame_64, tramp)) in is_sigreturn_64_address()