Lines Matching refs:task_struct

47 void load_empty_fpu(struct task_struct * tsk)  in load_empty_fpu()
71 static inline void __save_init_fpu( struct task_struct *tsk ) in __save_init_fpu()
87 void save_init_fpu( struct task_struct *tsk ) in save_init_fpu()
95 struct task_struct *tsk = current; in kernel_fpu_begin()
104 void restore_fpu( struct task_struct *tsk ) in restore_fpu()
183 unsigned short get_fpu_cwd( struct task_struct *tsk ) in get_fpu_cwd()
192 unsigned short get_fpu_swd( struct task_struct *tsk ) in get_fpu_swd()
201 unsigned short get_fpu_twd( struct task_struct *tsk ) in get_fpu_twd()
210 unsigned short get_fpu_mxcsr( struct task_struct *tsk ) in get_fpu_mxcsr()
219 void set_fpu_cwd( struct task_struct *tsk, unsigned short cwd ) in set_fpu_cwd()
228 void set_fpu_swd( struct task_struct *tsk, unsigned short swd ) in set_fpu_swd()
237 void set_fpu_twd( struct task_struct *tsk, unsigned short twd ) in set_fpu_twd()
246 void set_fpu_mxcsr( struct task_struct *tsk, unsigned short mxcsr ) in set_fpu_mxcsr()
320 struct task_struct *tsk = current; in save_i387_fsave()
332 struct task_struct *tsk = current; in save_i387_fxsave()
374 struct task_struct *tsk = current; in restore_i387_fsave()
383 struct task_struct *tsk = current; in restore_i387_fxsave()
414 struct task_struct *tsk ) in get_fpregs_fsave()
421 struct task_struct *tsk ) in get_fpregs_fxsave()
427 int get_fpregs( struct user_i387_struct *buf, struct task_struct *tsk ) in get_fpregs()
441 static inline int set_fpregs_fsave( struct task_struct *tsk, in set_fpregs_fsave()
448 static inline int set_fpregs_fxsave( struct task_struct *tsk, in set_fpregs_fxsave()
455 int set_fpregs( struct task_struct *tsk, struct user_i387_struct *buf ) in set_fpregs()
469 int get_fpxregs( struct user_fxsr_struct *buf, struct task_struct *tsk ) in get_fpxregs()
481 int set_fpxregs( struct task_struct *tsk, struct user_fxsr_struct *buf ) in set_fpxregs()
498 static inline void copy_fpu_fsave( struct task_struct *tsk, in copy_fpu_fsave()
505 static inline void copy_fpu_fxsave( struct task_struct *tsk, in copy_fpu_fxsave()
524 struct task_struct *tsk = current; in dump_fpu()
542 struct task_struct *tsk = current; in dump_extended_fpu()