Home
last modified time | relevance | path

Searched refs:reg_window (Results 1 – 19 of 19) sorted by relevance

/linux/arch/sparc/kernel/
H A Dprocess_64.c132 struct reg_window __user *rw; in show_regwindow()
133 struct reg_window *rwk; in show_regwindow()
134 struct reg_window r_w; in show_regwindow()
138 rw = (struct reg_window __user *) in show_regwindow()
140 rwk = (struct reg_window *) in show_regwindow()
206 struct reg_window *rw; in __global_reg_self()
208 rw = (struct reg_window *) in __global_reg_self()
212 rw = (struct reg_window *) in __global_reg_self()
434 __get_user(fp, &(((struct reg_window __user *)psp)->ins[6])); in clone_stackframe()
457 &(((struct reg_window __user *)rval)->ins[6]))) in clone_stackframe()
[all …]
H A Dsigutil_64.c64 struct reg_window *rp = &current_thread_info()->reg_window[i]; in save_rwin_state()
67 err |= copy_to_user(&rwin->reg_window[i], rp, in save_rwin_state()
68 sizeof(struct reg_window)); in save_rwin_state()
88 err |= copy_from_user(&t->reg_window[i], in restore_rwin_state()
89 &rp->reg_window[i], in restore_rwin_state()
90 sizeof(struct reg_window)); in restore_rwin_state()
H A Dwindows.c48 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32)); in shift_window_buffer()
75 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack()
123 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
H A Dkgdb_64.c21 struct reg_window *win; in pt_regs_to_gdb_regs()
28 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs()
50 struct reg_window *win; in sleeping_thread_to_gdb_regs()
63 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs()
90 struct reg_window *win; in gdb_regs_to_pt_regs()
109 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in gdb_regs_to_pt_regs()
H A Dsigutil_32.c91 rp = &current_thread_info()->reg_window[i]; in save_rwin_state()
93 err |= copy_to_user(&rwin->reg_window[i], rp, in save_rwin_state()
114 err |= copy_from_user(&t->reg_window[i], in restore_rwin_state()
115 &rp->reg_window[i], in restore_rwin_state()
H A Dunaligned_64.c130 struct reg_window *win; in fetch_reg()
131 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
138 struct reg_window __user *win; in fetch_reg()
139 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
155 struct reg_window *win; in fetch_reg_addr()
156 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
163 struct reg_window *win; in fetch_reg_addr()
164 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
422 struct reg_window __user *win; in handle_popc()
423 win = (struct reg_window __user *)(fp + STACK_BIAS); in handle_popc()
H A Dptrace_64.c192 struct reg_window *wbuf) in regwindow64_get()
217 struct reg_window *wbuf) in regwindow64_set()
251 struct reg_window window; in genregs64_get()
282 struct reg_window window; in genregs64_set()
564 compat_ulong_t __user *reg_window; in genregs32_set() local
579 reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6]; in genregs32_set()
580 reg_window -= 16; in genregs32_set()
583 if (put_user(*k++, &reg_window[pos++])) in genregs32_set()
590 &reg_window[pos], in genregs32_set()
607 reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6]; in genregs32_set()
[all …]
H A Dptrace_32.c51 unsigned long reg_window = regs->u_regs[UREG_I6]; in regwindow32_get() local
55 if (copy_from_user(uregs, (void __user *)reg_window, size)) in regwindow32_get()
58 if (access_process_vm(target, reg_window, uregs, size, in regwindow32_get()
69 unsigned long reg_window = regs->u_regs[UREG_I6]; in regwindow32_set() local
73 if (copy_to_user((void __user *)reg_window, uregs, size)) in regwindow32_set()
76 if (access_process_vm(target, reg_window, uregs, size, in regwindow32_set()
H A Dsignal_64.c105 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6]))); in sparc64_set_context()
107 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7]))); in sparc64_set_context()
201 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6]))); in sparc64_get_context()
203 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7]))); in sparc64_get_context()
412 sizeof(struct reg_window)); in setup_rt_frame()
414 struct reg_window *rp; in setup_rt_frame()
416 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame()
417 err |= copy_to_user(sf, rp, sizeof(struct reg_window)); in setup_rt_frame()
H A Dvisemul.c161 struct reg_window *win; in fetch_reg()
162 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
169 struct reg_window __user *win; in fetch_reg()
170 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
189 struct reg_window __user *win; in __fetch_reg_addr_user()
190 win = (struct reg_window __user *)(fp + STACK_BIAS); in __fetch_reg_addr_user()
H A Dsignal32.c443 struct reg_window *rp; in setup_frame32()
445 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame32()
575 struct reg_window *rp; in setup_rt_frame32()
577 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame32()
H A Dsignal_32.c284 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame()
381 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame()
H A Dtraps_32.c383 TI_REG_WINDOW != offsetof(struct thread_info, reg_window) ||
/linux/arch/sparc/include/asm/
H A Dthread_info_64.h54 struct reg_window reg_window[NSWINS]; member
H A Dsigcontext.h58 __siginfo_reg_window reg_window[__SIGC_MAXWIN]; member
H A Dthread_info_32.h49 struct reg_window32 reg_window[NSWINS]; /* align for ldd! */ member
H A Dprocessor_64.h127 : "r" (regs), "r" (sp - sizeof(struct reg_window) - STACK_BIAS), \
/linux/arch/sparc/include/uapi/asm/
H A Dptrace.h52 struct reg_window { struct
/linux/arch/sparc/math-emu/
H A Dmath_64.c330 struct reg_window __user *win; in do_mathemu()
332 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()