Searched refs:reg_window (Results 1 – 15 of 15) sorted by relevance
/arch/sparc/kernel/ |
D | windows.c | 45 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32)); in shift_window_buffer() 72 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack() 121 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
|
D | process_64.c | 149 struct reg_window __user *rw; in show_regwindow() 150 struct reg_window *rwk; in show_regwindow() 151 struct reg_window r_w; in show_regwindow() 156 rw = (struct reg_window __user *) in show_regwindow() 158 rwk = (struct reg_window *) in show_regwindow() 221 struct reg_window *rw; in __global_reg_self() 223 rw = (struct reg_window *) in __global_reg_self() 227 rw = (struct reg_window *) in __global_reg_self() 404 __get_user(fp, &(((struct reg_window __user *)psp)->ins[6])); in clone_stackframe() 425 &(((struct reg_window __user *)rval)->ins[6]))) in clone_stackframe() [all …]
|
D | kgdb_64.c | 15 struct reg_window *win; in pt_regs_to_gdb_regs() 22 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in pt_regs_to_gdb_regs() 44 struct reg_window *win; in sleeping_thread_to_gdb_regs() 57 win = (struct reg_window *) (t->ksp + STACK_BIAS); in sleeping_thread_to_gdb_regs() 84 struct reg_window *win; in gdb_regs_to_pt_regs() 103 win = (struct reg_window *) (regs->u_regs[UREG_FP] + STACK_BIAS); in gdb_regs_to_pt_regs()
|
D | ptrace_32.c | 53 unsigned long __user *reg_window; in genregs32_get() local 68 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_get() 70 if (get_user(*k++, ®_window[pos++])) in genregs32_get() 79 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_get() 81 if (get_user(reg, ®_window[pos++]) || in genregs32_get() 129 unsigned long __user *reg_window; in genregs32_set() local 144 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_set() 146 if (put_user(*k++, ®_window[pos++])) in genregs32_set() 156 reg_window = (unsigned long __user *) regs->u_regs[UREG_I6]; in genregs32_set() 159 put_user(reg, ®_window[pos++])) in genregs32_set()
|
D | ptrace_64.c | 148 struct reg_window *wbuf) in regwindow64_get() 173 struct reg_window *wbuf) in regwindow64_set() 217 struct reg_window window; in genregs64_get() 267 struct reg_window window; in genregs64_set() 476 compat_ulong_t __user *reg_window; in genregs32_get() local 491 reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6]; in genregs32_get() 494 if (get_user(*k++, ®_window[pos++])) in genregs32_get() 501 ®_window[pos], in genregs32_get() 515 reg_window = (compat_ulong_t __user *) regs->u_regs[UREG_I6]; in genregs32_get() 518 if (get_user(reg, ®_window[pos++]) || in genregs32_get() [all …]
|
D | unaligned_64.c | 127 struct reg_window *win; in fetch_reg() 128 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg() 135 struct reg_window __user *win; in fetch_reg() 136 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg() 147 struct reg_window *win; in fetch_reg_addr() 148 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg_addr() 155 struct reg_window *win; in fetch_reg_addr() 156 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg_addr() 422 struct reg_window __user *win; in handle_popc() 423 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in handle_popc()
|
D | visemul.c | 156 struct reg_window *win; in fetch_reg() 157 win = (struct reg_window *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg() 164 struct reg_window __user *win; in fetch_reg() 165 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in fetch_reg() 182 struct reg_window __user *win; in __fetch_reg_addr_user() 183 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in __fetch_reg_addr_user()
|
D | signal_64.c | 108 (&(((struct reg_window __user *)(STACK_BIAS+regs->u_regs[UREG_I6]))->ins[6]))); in sparc64_set_context() 110 (&(((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() 453 sizeof(struct reg_window)); in setup_rt_frame()
|
D | traps_64.c | 2206 struct reg_window *rw) in is_kernel_stack() 2226 static inline struct reg_window *kernel_stack_up(struct reg_window *rw) in kernel_stack_up() 2233 return (struct reg_window *) (fp + STACK_BIAS); in kernel_stack_up() 2254 struct reg_window *rw = (struct reg_window *) in die_if_kernel() 2542 TI_REG_WINDOW != offsetof(struct thread_info, reg_window) || in trap_init()
|
D | traps_32.c | 451 TI_REG_WINDOW != offsetof(struct thread_info, reg_window) ||
|
/arch/sparc/include/asm/ |
D | thread_info_64.h | 55 struct reg_window reg_window[NSWINS]; member
|
D | thread_info_32.h | 48 struct reg_window32 reg_window[NSWINS]; /* align for ldd! */ member
|
D | processor_64.h | 139 : "r" (regs), "r" (sp - sizeof(struct reg_window) - STACK_BIAS), \
|
D | ptrace.h | 51 struct reg_window { struct
|
/arch/sparc/math-emu/ |
D | math_64.c | 326 struct reg_window __user *win; in do_mathemu() 328 win = (struct reg_window __user *)(regs->u_regs[UREG_FP] + STACK_BIAS); in do_mathemu()
|