Searched refs:tsk (Results 1 - 25 of 226) sorted by relevance

12345678910

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/kernel/
H A Dfpu.c9 save_fpu(struct task_struct *tsk) argument
49 : "r" ((char *)(&tsk->thread.fpu.hard.status)),
53 tsk->flags &= ~PF_USEDFPU;
58 restore_fpu(struct task_struct *tsk) argument
98 : "r" (&tsk->thread.fpu), "r" (FPSCR_INIT)
154 struct task_struct *tsk = current; local
159 save_fpu(tsk);
160 tsk->thread.trap_no = 11;
161 tsk->thread.error_code = 0;
162 force_sig(SIGFPE, tsk);
169 struct task_struct *tsk = current; local
261 struct task_struct *tsk = current; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-i386/
H A Di387.h23 extern void save_init_fpu( struct task_struct *tsk );
24 extern void restore_fpu( struct task_struct *tsk );
30 #define unlazy_fpu( tsk ) do { \
31 if ( tsk->flags & PF_USEDFPU ) \
32 save_init_fpu( tsk ); \
35 #define clear_fpu( tsk ) do { \
36 if ( tsk->flags & PF_USEDFPU ) { \
38 tsk->flags &= ~PF_USEDFPU; \
46 extern unsigned short get_fpu_cwd( struct task_struct *tsk );
47 extern unsigned short get_fpu_swd( struct task_struct *tsk );
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-i386/
H A Di387.h23 extern void save_init_fpu( struct task_struct *tsk );
24 extern void restore_fpu( struct task_struct *tsk );
30 #define unlazy_fpu( tsk ) do { \
31 if ( tsk->flags & PF_USEDFPU ) \
32 save_init_fpu( tsk ); \
35 #define clear_fpu( tsk ) do { \
36 if ( tsk->flags & PF_USEDFPU ) { \
38 tsk->flags &= ~PF_USEDFPU; \
46 extern unsigned short get_fpu_cwd( struct task_struct *tsk );
47 extern unsigned short get_fpu_swd( struct task_struct *tsk );
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/
H A Dptrace.h16 static inline int ptrace_cancel_bpt(struct task_struct *tsk) argument
18 int nsaved = tsk->thread.debug.nsaved;
21 __ptrace_cancel_bpt(tsk);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/
H A Di387.c49 struct task_struct *tsk = current; local
54 if (sizeof(struct user_i387_struct) != sizeof(tsk->thread.i387.fxsave))
58 if (!tsk->used_math)
60 tsk->used_math = 0; /* trigger finit */
61 if (tsk->flags & PF_USEDFPU) {
66 tsk->comm, tsk->pid, buf);
71 if (__copy_to_user(buf, &tsk->thread.i387.fxsave,
82 int get_fpregs(struct user_i387_struct *buf, struct task_struct *tsk) argument
84 empty_fpu(tsk);
89 set_fpregs(struct task_struct *tsk, struct user_i387_struct *buf) argument
105 struct task_struct *tsk = current; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/kernel/
H A Di387.c46 void load_empty_fpu(struct task_struct * tsk) argument
48 memcpy(&tsk->thread.i387, &empty_fpu_state, sizeof(union i387_union));
70 static inline void __save_init_fpu( struct task_struct *tsk )
74 : "=m" (tsk->thread.i387.fxsave) );
77 : "=m" (tsk->thread.i387.fsave) );
79 tsk->flags &= ~PF_USEDFPU;
82 void save_init_fpu( struct task_struct *tsk )
84 __save_init_fpu(tsk);
90 struct task_struct *tsk = current; local
92 if (tsk
213 set_fpu_cwd( struct task_struct *tsk, unsigned short cwd ) argument
222 set_fpu_swd( struct task_struct *tsk, unsigned short swd ) argument
231 set_fpu_twd( struct task_struct *tsk, unsigned short twd ) argument
240 set_fpu_mxcsr( struct task_struct *tsk, unsigned short mxcsr ) argument
314 struct task_struct *tsk = current; local
326 struct task_struct *tsk = current; local
368 struct task_struct *tsk = current; local
376 struct task_struct *tsk = current; local
435 set_fpregs_fsave( struct task_struct *tsk, struct user_i387_struct *buf ) argument
442 set_fpregs_fxsave( struct task_struct *tsk, struct user_i387_struct *buf ) argument
449 set_fpregs( struct task_struct *tsk, struct user_i387_struct *buf ) argument
475 set_fpxregs( struct task_struct *tsk, struct user_fxsr_struct *buf ) argument
492 copy_fpu_fsave( struct task_struct *tsk, struct user_i387_struct *fpu ) argument
499 copy_fpu_fxsave( struct task_struct *tsk, struct user_i387_struct *fpu ) argument
518 struct task_struct *tsk = current; local
536 struct task_struct *tsk = current; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Dfpu32.h6 int restore_i387_ia32(struct task_struct *tsk, struct _fpstate_ia32 *buf, int fsave);
7 int save_i387_ia32(struct task_struct *tsk, struct _fpstate_ia32 *buf,
H A Di387.h29 #define unlazy_fpu( tsk ) do { \
30 if ( tsk->flags & PF_USEDFPU ) \
31 save_init_fpu( tsk ); \
34 #define clear_fpu( tsk ) do { \
35 if ( tsk->flags & PF_USEDFPU ) { \
37 tsk->flags &= ~PF_USEDFPU; \
51 struct task_struct *tsk );
52 extern int set_fpregs( struct task_struct *tsk,
111 struct task_struct *tsk = current; local
112 if (tsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-x86_64/
H A Dfpu32.h6 int restore_i387_ia32(struct task_struct *tsk, struct _fpstate_ia32 *buf, int fsave);
7 int save_i387_ia32(struct task_struct *tsk, struct _fpstate_ia32 *buf,
H A Di387.h29 #define unlazy_fpu( tsk ) do { \
30 if ( tsk->flags & PF_USEDFPU ) \
31 save_init_fpu( tsk ); \
34 #define clear_fpu( tsk ) do { \
35 if ( tsk->flags & PF_USEDFPU ) { \
37 tsk->flags &= ~PF_USEDFPU; \
51 struct task_struct *tsk );
52 extern int set_fpregs( struct task_struct *tsk,
111 struct task_struct *tsk = current; local
112 if (tsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/kernel/
H A Dsemaphore.c75 struct task_struct *tsk = current; local
76 DECLARE_WAITQUEUE(wait, tsk);
78 tsk->state = TASK_UNINTERRUPTIBLE;
90 tsk->state = TASK_UNINTERRUPTIBLE;
93 tsk->state = TASK_RUNNING;
106 struct task_struct *tsk = current; local
107 DECLARE_WAITQUEUE(wait, tsk);
109 tsk->state = TASK_INTERRUPTIBLE;
125 tsk->state = TASK_INTERRUPTIBLE;
127 tsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Dsemaphore.c75 struct task_struct *tsk = current; local
76 DECLARE_WAITQUEUE(wait, tsk);
78 tsk->state = TASK_UNINTERRUPTIBLE;
90 tsk->state = TASK_UNINTERRUPTIBLE;
93 tsk->state = TASK_RUNNING;
106 struct task_struct *tsk = current; local
107 DECLARE_WAITQUEUE(wait, tsk);
109 tsk->state = TASK_INTERRUPTIBLE;
125 tsk->state = TASK_INTERRUPTIBLE;
127 tsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dsemaphore.c50 struct task_struct *tsk = current; local
51 DECLARE_WAITQUEUE(wait, tsk);
53 tsk->state = TASK_UNINTERRUPTIBLE;
58 tsk->state = TASK_UNINTERRUPTIBLE;
61 tsk->state = TASK_RUNNING;
69 struct task_struct *tsk = current; local
70 DECLARE_WAITQUEUE(wait, tsk);
72 tsk->state = TASK_INTERRUPTIBLE;
82 tsk->state = TASK_INTERRUPTIBLE;
84 tsk
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/
H A Dsemaphore.c64 struct task_struct *tsk = current; \
66 init_waitqueue_entry(&wait, tsk);
71 tsk->state = (task_state); \
92 tsk->state = (task_state); \
94 tsk->state = TASK_RUNNING; \
113 ret = waking_non_zero_interruptible(sem, tsk);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips64/kernel/
H A Dsemaphore.c64 struct task_struct *tsk = current; \
66 init_waitqueue_entry(&wait, tsk);
71 tsk->state = (task_state); \
92 tsk->state = (task_state); \
94 tsk->state = TASK_RUNNING; \
113 ret = waking_non_zero_interruptible(sem, tsk);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/kernel/
H A Dsemaphore.c64 struct task_struct *tsk = current; \
66 init_waitqueue_entry(&wait, tsk);
71 tsk->state = (task_state); \
92 tsk->state = (task_state); \
94 tsk->state = TASK_RUNNING; \
113 ret = waking_non_zero_interruptible(sem, tsk);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-cris/
H A Dmmu_context.h4 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
8 struct task_struct *tsk, int cpu);
18 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-cris/
H A Dmmu_context.h4 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
8 struct task_struct *tsk, int cpu);
18 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/
H A Dmmu_context.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
16 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
31 #define switch_mm(old_mm, mm, tsk, cpu) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk, cpu)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/
H A Dmmu_context.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
16 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
31 #define switch_mm(old_mm, mm, tsk, cpu) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk, cpu)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/
H A Dmmu_context.h22 #define init_new_context(tsk,mm) 0
25 * This is called when "tsk" is about to enter lazy TLB mode.
28 * tsk: task which is entering lazy tlb
31 * tsk->mm will be NULL
33 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
43 struct task_struct *tsk, unsigned int cpu)
46 cpu_switch_mm(next->pgd, tsk);
42 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk, unsigned int cpu) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/
H A Dmmu_context.h22 #define init_new_context(tsk,mm) 0
25 * This is called when "tsk" is about to enter lazy TLB mode.
28 * tsk: task which is entering lazy tlb
31 * tsk->mm will be NULL
33 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) argument
43 struct task_struct *tsk, unsigned int cpu)
46 cpu_switch_mm(next->pgd, tsk);
42 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk, unsigned int cpu) argument
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dfpu.h111 static inline void save_fp(struct task_struct *tsk) argument
114 _save_fp(tsk);
117 static inline void restore_fp(struct task_struct *tsk) argument
120 _restore_fp(tsk);
123 static inline unsigned long long *get_fpu_regs(struct task_struct *tsk) argument
126 if ((tsk == current) && is_fpu_owner())
128 return (unsigned long long *)&tsk->thread.fpu.hard.fp_regs[0];
130 return (unsigned long long *)tsk->thread.fpu.soft.regs;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/
H A Dfpu.h111 static inline void save_fp(struct task_struct *tsk) argument
114 _save_fp(tsk);
117 static inline void restore_fp(struct task_struct *tsk) argument
120 _restore_fp(tsk);
123 static inline unsigned long *get_fpu_regs(struct task_struct *tsk) argument
126 if ((tsk == current) && is_fpu_owner())
128 return (unsigned long *)&tsk->thread.fpu.hard.fp_regs[0];
130 return (unsigned long *)tsk->thread.fpu.soft.regs;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/
H A Dfpu.h111 static inline void save_fp(struct task_struct *tsk) argument
114 _save_fp(tsk);
117 static inline void restore_fp(struct task_struct *tsk) argument
120 _restore_fp(tsk);
123 static inline unsigned long long *get_fpu_regs(struct task_struct *tsk) argument
126 if ((tsk == current) && is_fpu_owner())
128 return (unsigned long long *)&tsk->thread.fpu.hard.fp_regs[0];
130 return (unsigned long long *)tsk->thread.fpu.soft.regs;

Completed in 266 milliseconds

12345678910