Lines Matching refs:tsk
170 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
174 save_msa(tsk); in lose_fpu_inatomic()
175 tsk->thread.fpu.fcr31 = in lose_fpu_inatomic()
179 clear_tsk_thread_flag(tsk, TIF_USEDMSA); in lose_fpu_inatomic()
183 _save_fp(tsk); in lose_fpu_inatomic()
190 KSTK_STATUS(tsk) &= ~ST0_CU1; in lose_fpu_inatomic()
191 clear_tsk_thread_flag(tsk, TIF_USEDFPU); in lose_fpu_inatomic()
239 static inline void save_fp(struct task_struct *tsk) in save_fp() argument
242 _save_fp(tsk); in save_fp()
245 static inline void restore_fp(struct task_struct *tsk) in restore_fp() argument
248 _restore_fp(tsk); in restore_fp()
251 static inline union fpureg *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs() argument
253 if (tsk == current) { in get_fpu_regs()
260 return tsk->thread.fpu.fpr; in get_fpu_regs()