Lines Matching refs:current

171 	save_access_regs(current->thread.acrs);  in store_sigregs()
172 save_fp_ctl(&current->thread.fp_regs.fpc); in store_sigregs()
173 if (current->thread.vxrs) { in store_sigregs()
174 save_vx_regs(current->thread.vxrs); in store_sigregs()
176 current->thread.fp_regs.fprs[i] = in store_sigregs()
177 *(freg_t *)(current->thread.vxrs + i); in store_sigregs()
179 save_fp_regs(current->thread.fp_regs.fprs); in store_sigregs()
187 restore_access_regs(current->thread.acrs); in load_sigregs()
189 if (current->thread.vxrs) { in load_sigregs()
191 *(freg_t *)(current->thread.vxrs + i) = in load_sigregs()
192 current->thread.fp_regs.fprs[i]; in load_sigregs()
193 restore_vx_regs(current->thread.vxrs); in load_sigregs()
195 restore_fp_regs(current->thread.fp_regs.fprs); in load_sigregs()
210 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32()
212 memcpy(&user_sregs.fpregs, &current->thread.fp_regs, in save_sigregs32()
225 current->restart_block.fn = do_no_restart_syscall; in restore_sigregs32()
230 if (!is_ri_task(current) && (user_sregs.regs.psw.mask & PSW32_MASK_RI)) in restore_sigregs32()
249 memcpy(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs32()
250 sizeof(current->thread.acrs)); in restore_sigregs32()
252 memcpy(&current->thread.fp_regs, &user_sregs.fpregs, in restore_sigregs32()
253 sizeof(current->thread.fp_regs)); in restore_sigregs32()
274 if (current->thread.vxrs) { in save_sigregs_ext32()
276 vxrs[i] = *((__u64 *)(current->thread.vxrs + i) + 1); in save_sigregs_ext32()
280 current->thread.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext32()
302 if (current->thread.vxrs) { in restore_sigregs_ext32()
305 __copy_from_user(current->thread.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext32()
310 *((__u64 *)(current->thread.vxrs + i) + 1) = vxrs[i]; in restore_sigregs_ext32()
317 struct pt_regs *regs = task_pt_regs(current); in COMPAT_SYSCALL_DEFINE0()
333 force_sig(SIGSEGV, current); in COMPAT_SYSCALL_DEFINE0()
339 struct pt_regs *regs = task_pt_regs(current); in COMPAT_SYSCALL_DEFINE0()
357 force_sig(SIGSEGV, current); in COMPAT_SYSCALL_DEFINE0()
384 sp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe()
469 regs->gprs[6] = task_thread_info(current)->last_break; in setup_frame32()
493 if (current->thread.vxrs) in setup_rt_frame32()
547 regs->gprs[5] = task_thread_info(current)->last_break; in setup_rt_frame32()