Home
last modified time | relevance | path

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

12345678910

/arch/mn10300/include/asm/
Dfpu.h36 static inline void set_using_fpu(struct task_struct *tsk) in set_using_fpu()
45 static inline void clear_using_fpu(struct task_struct *tsk) in clear_using_fpu()
54 #define is_using_fpu(tsk) ((tsk)->thread.fpu_flags & THREAD_USING_FPU) argument
63 static inline void unlazy_fpu(struct task_struct *tsk) in unlazy_fpu()
82 struct task_struct *tsk = current; in exit_fpu() local
93 struct task_struct *tsk = current; in flush_fpu() local
119 static inline bool is_using_fpu(struct task_struct *tsk) { return false; } in is_using_fpu()
120 static inline void set_using_fpu(struct task_struct *tsk) {} in set_using_fpu()
121 static inline void clear_using_fpu(struct task_struct *tsk) {} in clear_using_fpu()
124 static inline void fpu_kill_state(struct task_struct *tsk) {} in fpu_kill_state()
[all …]
/arch/sh/include/asm/
Dswitch_to_32.h6 #define is_dsp_enabled(tsk) \ argument
9 #define __restore_dsp(tsk) \ argument
32 #define __save_dsp(tsk) \ argument
58 #define is_dsp_enabled(tsk) (0) argument
59 #define __save_dsp(tsk) do { } while (0) argument
60 #define __restore_dsp(tsk) do { } while (0) argument
Dfpu.h24 #define save_fpu(tsk) do { } while (0) argument
25 #define restore_fpu(tsk) do { } while (0) argument
42 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
52 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
59 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/arch/x86/include/asm/
Dfpu-internal.h77 static inline void sanitize_i387_state(struct task_struct *tsk) in sanitize_i387_state()
246 static inline int __save_init_fpu(struct task_struct *tsk) in __save_init_fpu()
264 static inline int restore_fpu_checking(struct task_struct *tsk) in restore_fpu_checking()
284 static inline int __thread_has_fpu(struct task_struct *tsk) in __thread_has_fpu()
290 static inline void __thread_clear_has_fpu(struct task_struct *tsk) in __thread_clear_has_fpu()
297 static inline void __thread_set_has_fpu(struct task_struct *tsk) in __thread_set_has_fpu()
310 static inline void __thread_fpu_end(struct task_struct *tsk) in __thread_fpu_end()
316 static inline void __thread_fpu_begin(struct task_struct *tsk) in __thread_fpu_begin()
407 static inline void __clear_fpu(struct task_struct *tsk) in __clear_fpu()
446 static inline void save_init_fpu(struct task_struct *tsk) in save_init_fpu()
[all …]
Dmmu_context.h25 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
34 struct task_struct *tsk) in switch_mm()
81 #define deactivate_mm(tsk, mm) \ argument
86 #define deactivate_mm(tsk, mm) \ argument
/arch/mips/include/asm/
Ddsp.h43 #define __save_dsp(tsk) \ argument
54 #define save_dsp(tsk) \ argument
60 #define __restore_dsp(tsk) \ argument
71 #define restore_dsp(tsk) \ argument
77 #define __get_dsp_regs(tsk) \ argument
/arch/powerpc/sysdev/bestcomm/
Dbestcomm.h90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq()
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) in _bcom_next_outdex()
127 bcom_queue_empty(struct bcom_task *tsk) in bcom_queue_empty()
137 bcom_queue_full(struct bcom_task *tsk) in bcom_queue_full()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd()
160 bcom_buffer_done(struct bcom_task *tsk) in bcom_buffer_done()
177 bcom_prepare_next_buffer(struct bcom_task *tsk) in bcom_prepare_next_buffer()
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer()
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) in bcom_retrieve_buffer()
/arch/m68k/include/asm/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
54 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
74 struct task_struct *tsk) in switch_mm()
91 #define deactivate_mm(tsk, mm) do { } while (0) argument
168 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
197 struct task_struct *tsk) in switch_mm()
202 #define deactivate_mm(tsk, mm) do { } while (0) argument
216 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
282 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
292 #define deactivate_mm(tsk,mm) do { } while (0) argument
[all …]
/arch/mn10300/kernel/
Dfpu.c36 struct task_struct *tsk = current; in fpu_exception() local
76 struct task_struct *tsk = current; in fpu_setup_sigcontext() local
119 void fpu_kill_state(struct task_struct *tsk) in fpu_kill_state()
147 struct task_struct *tsk = current; in fpu_restore_sigcontext() local
165 struct task_struct *tsk = current; in dump_fpu() local
/arch/arm/include/asm/
Dmmu_context.h63 struct task_struct *tsk) in check_and_switch_context()
96 #define init_new_context(tsk,mm) (__init_new_context(tsk,mm),0) argument
111 struct task_struct *tsk) in check_and_switch_context()
141 #define init_new_context(tsk,mm) 0 argument
157 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
169 struct task_struct *tsk) in switch_mm()
188 #define deactivate_mm(tsk,mm) do { } while (0) argument
/arch/sh/kernel/cpu/sh4/
Dfpu.c45 void save_fpu(struct task_struct *tsk) in save_fpu()
95 void restore_fpu(struct task_struct *tsk) in restore_fpu()
232 struct task_struct *tsk = current; in ieee_fpe_handler() local
245 struct task_struct *tsk = current; in ieee_fpe_handler() local
283 struct task_struct *tsk = current; in ieee_fpe_handler() local
327 struct task_struct *tsk = current; in ieee_fpe_handler() local
367 struct task_struct *tsk = current; in ieee_fpe_handler() local
400 struct task_struct *tsk = current; in float_rounding_mode() local
407 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/arch/sh/kernel/cpu/sh5/
Dfpu.c19 void save_fpu(struct task_struct *tsk) in save_fpu()
61 void restore_fpu(struct task_struct *tsk) in restore_fpu()
106 struct task_struct *tsk = current; in do_fpu_error() local
/arch/xtensa/include/asm/
Dnommu_context.h1 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
5 static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
19 struct task_struct *tsk) in switch_mm()
23 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
/arch/sparc/include/asm/
Dmmu_context_32.h10 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
18 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
33 #define switch_mm(old_mm, mm, tsk) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk) argument
35 #define deactivate_mm(tsk,mm) do { } while (0) argument
/arch/h8300/include/asm/
Dmmu_context.h9 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
14 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
21 #define deactivate_mm(tsk,mm) do { } while(0) argument
23 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
/arch/s390/include/asm/
Dmmu_context.h17 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
57 static inline void update_mm(struct mm_struct *mm, struct task_struct *tsk) in update_mm()
74 struct task_struct *tsk) in switch_mm()
86 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
87 #define deactivate_mm(tsk,mm) do { } while (0) argument
/arch/hexagon/include/asm/
Dmmu_context.h39 struct task_struct *tsk) in enter_lazy_tlb()
46 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
56 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
67 struct task_struct *tsk) in switch_mm()
/arch/sh/kernel/cpu/
Dfpu.c7 int init_fpu(struct task_struct *tsk) in init_fpu()
42 struct task_struct *tsk = current; in __fpu_state_restore() local
52 struct task_struct *tsk = current; in fpu_state_restore() local
/arch/x86/um/asm/
Dprocessor.h13 #define KSTK_EIP(tsk) KSTK_REG(tsk, HOST_IP) argument
14 #define KSTK_ESP(tsk) KSTK_REG(tsk, HOST_SP) argument
15 #define KSTK_EBP(tsk) KSTK_REG(tsk, HOST_BP) argument
/arch/parisc/include/asm/
Dmmu_context.h11 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
22 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
52 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
61 #define deactivate_mm(tsk,mm) do { } while (0) argument
/arch/frv/include/asm/
Dmmu_context.h20 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
30 #define init_new_context(tsk, mm) ({ 0; }) argument
35 #define switch_mm(prev, next, tsk) \ argument
46 #define deactivate_mm(tsk, mm) \ argument
/arch/c6x/include/asm/
Dprocessor.h96 #define prepare_to_copy(tsk) do { } while (0) argument
100 #define copy_segments(tsk, mm) do { } while (0) argument
106 #define thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) argument
112 #define thread_saved_ksp(tsk) \ argument
114 #define thread_saved_dp(tsk) \ argument
117 #define thread_saved_ksp(tsk) \ argument
119 #define thread_saved_dp(tsk) \ argument
/arch/avr32/kernel/
Dptrace.c25 static struct pt_regs *get_user_regs(struct task_struct *tsk) in get_user_regs()
31 void user_enable_single_step(struct task_struct *tsk) in user_enable_single_step()
73 static int ptrace_read_user(struct task_struct *tsk, unsigned long offset, in ptrace_read_user()
101 static int ptrace_write_user(struct task_struct *tsk, unsigned long offset, in ptrace_write_user()
123 static int ptrace_getregs(struct task_struct *tsk, void __user *uregs) in ptrace_getregs()
130 static int ptrace_setregs(struct task_struct *tsk, const void __user *uregs) in ptrace_setregs()
/arch/unicore32/include/asm/
Dmmu_context.h22 #define init_new_context(tsk, mm) 0 argument
36 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
48 struct task_struct *tsk) in switch_mm()
56 #define deactivate_mm(tsk, mm) do { } while (0) argument
/arch/microblaze/include/asm/
Dprocessor.h26 # define prepare_to_copy(tsk) do {} while (0) argument
28 #define task_pt_regs(tsk) \ argument
87 # define KSTK_EIP(tsk) (0) argument
88 # define KSTK_ESP(tsk) (0) argument
143 # define thread_saved_pc(tsk) \ argument
155 # define task_pt_regs_plus_args(tsk) \ argument
165 # define deactivate_mm(tsk, mm) do { } while (0) argument

12345678910