Lines Matching refs:thread
71 struct mips_abi *abi = current->thread.abi; in copy_fp_to_sigcontext()
80 __put_user(get_fpr64(¤t->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext()
83 err |= __put_user(current->thread.fpu.fcr31, csr); in copy_fp_to_sigcontext()
90 struct mips_abi *abi = current->thread.abi; in copy_fp_from_sigcontext()
100 set_fpr64(¤t->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext()
102 err |= __get_user(current->thread.fpu.fcr31, csr); in copy_fp_from_sigcontext()
112 struct mips_abi *abi = current->thread.abi; in save_hw_fp_context()
121 struct mips_abi *abi = current->thread.abi; in restore_hw_fp_context()
177 err = __put_user(current->thread.fpu.msacsr, &msa->csr); in save_msa_extcontext()
180 val = get_fpr64(¤t->thread.fpu.fpr[i], 1); in save_msa_extcontext()
226 current->thread.fpu.msacsr = csr; in restore_msa_extcontext()
230 set_fpr64(¤t->thread.fpu.fpr[i], 1, val); in restore_msa_extcontext()
298 struct mips_abi *abi = current->thread.abi; in protected_save_fp_context()
351 struct mips_abi *abi = current->thread.abi; in protected_restore_fp_context()
772 struct mips_abi *abi = current->thread.abi; in handle_signal()
827 regs->regs[2] = current->thread.abi->restart; in do_signal()