Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dsigutil_64.c60 struct reg_window *rp = &current_thread_info()->reg_window[i]; in save_rwin_state()
63 err |= copy_to_user(&rwin->reg_window[i], rp, in save_rwin_state()
64 sizeof(struct reg_window)); in save_rwin_state()
81 err |= copy_from_user(&t->reg_window[i], in restore_rwin_state()
82 &rp->reg_window[i], in restore_rwin_state()
83 sizeof(struct reg_window)); in restore_rwin_state()
Dwindows.c44 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32)); in shift_window_buffer()
71 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack()
119 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
Dptrace_32.c52 unsigned long __user *reg_window; in genregs32_get() local
67 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_get()
68 reg_window -= 16; in genregs32_get()
70 if (get_user(*k++, &reg_window[pos++])) in genregs32_get()
79 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_get()
80 reg_window -= 16; in genregs32_get()
82 if (get_user(reg, &reg_window[pos++]) || in genregs32_get()
130 unsigned long __user *reg_window; in genregs32_set() local
145 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_set()
146 reg_window -= 16; in genregs32_set()
[all …]
Dprocess_64.c127 struct reg_window __user *rw; in show_regwindow()
128 struct reg_window *rwk; in show_regwindow()
129 struct reg_window r_w; in show_regwindow()
134 rw = (struct reg_window __user *) in show_regwindow()
136 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()
440 __get_user(fp, &(((struct reg_window __user *)psp)->ins[6])); in clone_stackframe()
463 &(((struct reg_window __user *)rval)->ins[6]))) in clone_stackframe()
[all …]
Dkgdb_64.c17 struct reg_window *win; in pt_regs_to_gdb_regs()
24 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs()
46 struct reg_window *win; in sleeping_thread_to_gdb_regs()
59 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs()
86 struct reg_window *win; in gdb_regs_to_pt_regs()
105 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in gdb_regs_to_pt_regs()
Dptrace_64.c150 struct reg_window *wbuf) in regwindow64_get()
175 struct reg_window *wbuf) in regwindow64_set()
219 struct reg_window window; in genregs64_get()
269 struct reg_window window; in genregs64_set()
478 compat_ulong_t __user *reg_window; in genregs32_get() local
493 reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6]; in genregs32_get()
494 reg_window -= 16; in genregs32_get()
497 if (get_user(*k++, &reg_window[pos++])) in genregs32_get()
504 &reg_window[pos], in genregs32_get()
518 reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6]; in genregs32_get()
[all …]
Dsigutil_32.c86 rp = &current_thread_info()->reg_window[i]; in save_rwin_state()
88 err |= copy_to_user(&rwin->reg_window[i], rp, in save_rwin_state()
106 err |= copy_from_user(&t->reg_window[i], in restore_rwin_state()
107 &rp->reg_window[i], in restore_rwin_state()
Dunaligned_64.c124 struct reg_window *win; in fetch_reg()
125 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
132 struct reg_window __user *win; in fetch_reg()
133 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
149 struct reg_window *win; in fetch_reg_addr()
150 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
157 struct reg_window *win; in fetch_reg_addr()
158 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg_addr()
410 struct reg_window __user *win; in handle_popc()
411 win = (struct reg_window __user *)(fp + STACK_BIAS); in handle_popc()
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()
198 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6]))); in sparc64_get_context()
200 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[7]))); in sparc64_get_context()
394 sizeof(struct reg_window)); in setup_rt_frame()
396 struct reg_window *rp; in setup_rt_frame()
398 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame()
399 err |= copy_to_user(sf, rp, sizeof(struct reg_window)); in setup_rt_frame()
Dvisemul.c160 struct reg_window *win; in fetch_reg()
161 win = (struct reg_window *)(fp + STACK_BIAS); in fetch_reg()
168 struct reg_window __user *win; in fetch_reg()
169 win = (struct reg_window __user *)(fp + STACK_BIAS); in fetch_reg()
188 struct reg_window __user *win; in __fetch_reg_addr_user()
189 win = (struct reg_window __user *)(fp + STACK_BIAS); in __fetch_reg_addr_user()
Dsignal32.c503 struct reg_window *rp; in setup_frame32()
505 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame32()
642 struct reg_window *rp; in setup_rt_frame32()
644 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame32()
Dsignal_32.c273 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_frame()
370 rp = &current_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame()
Dtraps_64.c2353 static inline struct reg_window *kernel_stack_up(struct reg_window *rw) in kernel_stack_up()
2360 return (struct reg_window *) (fp + STACK_BIAS); in kernel_stack_up()
2382 struct reg_window *rw = (struct reg_window *) in die_if_kernel()
2676 reg_window) || in trap_init()
Dtraps_32.c448 TI_REG_WINDOW != offsetof(struct thread_info, reg_window) ||
/arch/sparc/include/asm/
Dsigcontext.h57 __siginfo_reg_window reg_window[__SIGC_MAXWIN]; member
Dthread_info_64.h55 struct reg_window reg_window[NSWINS]; member
Dthread_info_32.h47 struct reg_window32 reg_window[NSWINS]; /* align for ldd! */ member
Dprocessor_64.h142 : "r" (regs), "r" (sp - sizeof(struct reg_window) - STACK_BIAS), \
/arch/sparc/include/uapi/asm/
Dptrace.h51 struct reg_window { struct
/arch/sparc/math-emu/
Dmath_64.c329 struct reg_window __user *win; in do_mathemu()
331 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()