Home
last modified time | relevance | path

Searched defs:tsk (Results 1 – 25 of 158) sorted by relevance

1234567

/linux-2.4.37.9/arch/i386/kernel/
Di387.c47 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() local
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()
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Di387.c46 struct task_struct *tsk = current; in save_i387() local
79 int get_fpregs(struct user_i387_struct *buf, struct task_struct *tsk) in get_fpregs()
86 int set_fpregs(struct task_struct *tsk, struct user_i387_struct *buf) in set_fpregs()
102 struct task_struct *tsk = current; in dump_fpu() local
/linux-2.4.37.9/kernel/
Dexit.c220 static inline void __exit_files(struct task_struct *tsk) in __exit_files()
232 void exit_files(struct task_struct *tsk) in exit_files()
258 static inline void __exit_fs(struct task_struct *tsk) in __exit_fs()
270 void exit_fs(struct task_struct *tsk) in exit_fs()
305 static inline void __exit_mm(struct task_struct * tsk) in __exit_mm()
322 void exit_mm(struct task_struct *tsk) in exit_mm()
426 struct task_struct *tsk = current; in do_exit() local
495 struct task_struct *tsk; in sys_wait4() local
/linux-2.4.37.9/arch/sh/kernel/
Dfpu.c34 save_fpu(struct task_struct *tsk) in save_fpu()
85 restore_fpu(struct task_struct *tsk) in restore_fpu()
263 struct task_struct *tsk = current; in ieee_fpe_handler() local
292 struct task_struct *tsk = current; in do_fpu_error() local
308 struct task_struct *tsk = current; in do_fpu_state_restore() local
/linux-2.4.37.9/include/asm-x86_64/
Dmmu_context.h16 #define init_new_context(tsk,mm) ({ rwlock_init(&(mm)->context.ldtlock); 0; }) argument
20 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
26 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
36 struct task_struct *tsk, unsigned cpu) in switch_mm()
Di387.h30 #define unlazy_fpu( tsk ) do { \ argument
35 #define clear_fpu( tsk ) do { \ argument
116 struct task_struct *tsk = current; in kernel_fpu_begin() local
126 static inline void save_init_fpu( struct task_struct *tsk ) in save_init_fpu()
/linux-2.4.37.9/include/asm-m68k/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
16 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
82 …e void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk, unsigned… in switch_mm()
111 static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
138 …e void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk, unsigned… in switch_mm()
/linux-2.4.37.9/arch/mips64/kernel/
Dsemaphore.c109 struct task_struct *tsk = current; in __down_failed() local
176 waking_non_zero_interruptible(struct semaphore *sem, struct task_struct *tsk) in waking_non_zero_interruptible()
207 struct task_struct *tsk) in waking_non_zero_interruptible()
232 struct task_struct *tsk = current; in __down_failed_interruptible() local
/linux-2.4.37.9/arch/mips/kernel/
Dsemaphore.c109 struct task_struct *tsk = current; in __down_failed() local
176 waking_non_zero_interruptible(struct semaphore *sem, struct task_struct *tsk) in waking_non_zero_interruptible()
207 struct task_struct *tsk) in waking_non_zero_interruptible()
232 struct task_struct *tsk = current; in __down_failed_interruptible() local
/linux-2.4.37.9/include/asm-i386/
Dmmu_context.h19 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
25 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
30 …e void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk, unsigned… in switch_mm()
Di387.h30 #define unlazy_fpu( tsk ) do { \ argument
35 #define clear_fpu( tsk ) do { \ argument
/linux-2.4.37.9/include/asm-sparc/
Dmmu_context.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
16 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
31 #define switch_mm(old_mm, mm, tsk, cpu) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk, cpu) argument
Dprocessor.h152 #define release_thread(tsk) do { } while(0) argument
156 #define copy_segments(tsk, mm) do { } while (0) argument
188 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) argument
189 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP]) argument
202 #define free_task_struct(tsk) BTFIXUP_CALL(free_task_struct)(tsk) argument
203 #define get_task_struct(tsk) BTFIXUP_CALL(get_task_struct)(tsk) argument
/linux-2.4.37.9/include/asm-parisc/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
17 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
33 …e void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk, unsigned… in switch_mm()
/linux-2.4.37.9/include/asm-arm/
Dmmu_context.h21 #define init_new_context(tsk,mm) 0 argument
33 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
43 struct task_struct *tsk, unsigned int cpu) in switch_mm()
/linux-2.4.37.9/include/asm-s390/
Dmmu_context.h15 #define init_new_context(tsk,mm) 0 argument
20 struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
25 struct task_struct *tsk, unsigned cpu) in switch_mm()
/linux-2.4.37.9/include/asm-s390x/
Dmmu_context.h15 #define init_new_context(tsk,mm) 0 argument
20 struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
25 struct task_struct *tsk, unsigned cpu) in switch_mm()
/linux-2.4.37.9/include/asm-mips/
Dfpu.h110 static inline void save_fp(struct task_struct *tsk) in save_fp()
116 static inline void restore_fp(struct task_struct *tsk) in restore_fp()
122 static inline unsigned long long *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs()
/linux-2.4.37.9/include/asm-mips64/
Dfpu.h114 static inline void save_fp(struct task_struct *tsk) in save_fp()
120 static inline void restore_fp(struct task_struct *tsk) in restore_fp()
126 static inline unsigned long *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs()
/linux-2.4.37.9/lib/
Drwsem-spinlock.c56 struct task_struct *tsk; in __rwsem_do_wake() local
105 struct task_struct *tsk; in __rwsem_wake_one_writer() local
126 struct task_struct *tsk; in __down_read() local
196 struct task_struct *tsk; in __down_write() local
/linux-2.4.37.9/arch/arm/mm/
Dfault-common.c160 __do_user_fault(struct task_struct *tsk, unsigned long addr, int error_code, in __do_user_fault()
183 do_bad_area(struct task_struct *tsk, struct mm_struct *mm, unsigned long addr, in do_bad_area()
198 struct task_struct *tsk) in __do_page_fault()
265 struct task_struct *tsk; in do_page_fault() local
362 struct task_struct *tsk; in do_translation_fault() local
/linux-2.4.37.9/include/asm-cris/
Dprocessor.h100 #define KSTK_EIP(tsk) \ argument
109 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) argument
111 #define copy_segments(tsk, mm) do { } while (0) argument
140 #define get_task_struct(tsk) atomic_inc(&virt_to_page(tsk)->count) argument
/linux-2.4.37.9/include/asm-sparc64/
Dprocessor.h272 #define release_thread(tsk) do { } while(0) argument
276 #define copy_segments(tsk, mm) do { } while (0) argument
309 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->tpc) argument
310 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP]) argument
316 #define free_task_struct(tsk) free_pages((unsigned long)(tsk),1) argument
319 #define free_task_struct(tsk) free_pages((unsigned long)(tsk),0) argument
321 #define get_task_struct(tsk) atomic_inc(&virt_to_page(tsk)->count) argument
/linux-2.4.37.9/include/asm-ppc/
Dmmu_context.h51 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) in enter_lazy_tlb()
139 #define init_new_context(tsk,mm) (((mm)->context = NO_CONTEXT), 0) argument
156 struct task_struct *tsk, int cpu) in switch_mm()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsemaphore.c50 struct task_struct *tsk = current; in __down() local
69 struct task_struct *tsk = current; in __down_interruptible() local

1234567