Home
last modified time | relevance | path

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

123456789

/arch/sh/include/asm/
Dswitch_to_32.h7 #define is_dsp_enabled(tsk) \ argument
10 #define __restore_dsp(tsk) \ argument
33 #define __save_dsp(tsk) \ argument
59 #define is_dsp_enabled(tsk) (0) argument
60 #define __save_dsp(tsk) do { } while (0) argument
61 #define __restore_dsp(tsk) do { } while (0) argument
Dfpu.h27 #define save_fpu(tsk) do { } while (0) argument
28 #define restore_fpu(tsk) do { } while (0) argument
40 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
50 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
57 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/arch/mips/include/asm/
Ddsp.h39 #define __save_dsp(tsk) \ argument
50 #define save_dsp(tsk) \ argument
56 #define __restore_dsp(tsk) \ argument
67 #define restore_dsp(tsk) \ argument
73 #define __get_dsp_regs(tsk) \ argument
Dfpu.h164 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic()
227 static inline void save_fp(struct task_struct *tsk) in save_fp()
233 static inline void restore_fp(struct task_struct *tsk) in restore_fp()
239 static inline union fpureg *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs()
289 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic()
/arch/powerpc/mm/
Dmmu_context.c16 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
23 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
30 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
35 struct task_struct *tsk) in switch_mm_irqs_off()
/arch/sh/kernel/cpu/sh4/
Dfpu.c41 void save_fpu(struct task_struct *tsk) in save_fpu()
91 void restore_fpu(struct task_struct *tsk) in restore_fpu()
228 struct task_struct *tsk = current; in ieee_fpe_handler() local
241 struct task_struct *tsk = current; in ieee_fpe_handler() local
279 struct task_struct *tsk = current; in ieee_fpe_handler() local
323 struct task_struct *tsk = current; in ieee_fpe_handler() local
363 struct task_struct *tsk = current; in ieee_fpe_handler() local
396 struct task_struct *tsk = current; in float_rounding_mode() local
403 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/arch/arm64/include/asm/
Dpointer_auth.h128 #define ptrauth_thread_switch_user(tsk) \ argument
133 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument
134 #define ptrauth_set_enabled_keys(tsk, keys, enabled) (-EINVAL) argument
135 #define ptrauth_get_enabled_keys(tsk) (-EINVAL) argument
139 #define ptrauth_thread_switch_user(tsk) argument
143 #define ptrauth_thread_init_kernel(tsk) \ argument
145 #define ptrauth_thread_switch_kernel(tsk) \ argument
148 #define ptrauth_thread_init_kernel(tsk) argument
149 #define ptrauth_thread_switch_kernel(tsk) argument
Dmmu_context.h161 #define init_new_context(tsk, mm) init_new_context(tsk, mm) argument
163 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
171 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0()
187 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0()
195 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
220 struct task_struct *tsk) in switch_mm()
/arch/arc/include/asm/
Dprocessor.h55 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument
56 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
62 #define TSK_K_ESP(tsk) (tsk->thread.ksp) argument
64 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument
67 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument
68 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
/arch/s390/include/asm/
Dvdso.h14 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) argument
16 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) argument
18 #define VDSO32_SYMBOL(tsk, name) (-1UL) argument
Dmmu_context.h19 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
74 struct task_struct *tsk) in switch_mm_irqs_off()
91 struct task_struct *tsk) in switch_mm()
103 struct task_struct *tsk = current; in finish_arch_post_lock_switch() local
/arch/sh/kernel/cpu/
Dfpu.c11 int init_fpu(struct task_struct *tsk) in init_fpu()
46 struct task_struct *tsk = current; in __fpu_state_restore() local
56 struct task_struct *tsk = current; in fpu_state_restore() local
/arch/x86/um/asm/
Dprocessor.h15 #define KSTK_EIP(tsk) KSTK_REG(tsk, HOST_IP) argument
16 #define KSTK_ESP(tsk) KSTK_REG(tsk, HOST_SP) argument
17 #define KSTK_EBP(tsk) KSTK_REG(tsk, HOST_BP) argument
/arch/arc/kernel/
Dstacktrace.c42 seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, in seed_unwind_frame_info()
116 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core()
233 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, in show_stacktrace()
242 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack()
251 unsigned int get_wchan(struct task_struct *tsk) in get_wchan()
262 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/arch/arm64/kernel/
Dpointer_auth.c11 int ptrauth_prctl_reset_keys(struct task_struct *tsk, unsigned long arg) in ptrauth_prctl_reset_keys()
67 int ptrauth_set_enabled_keys(struct task_struct *tsk, unsigned long keys, in ptrauth_set_enabled_keys()
93 int ptrauth_get_enabled_keys(struct task_struct *tsk) in ptrauth_get_enabled_keys()
Dstacktrace.c68 int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame) in unwind_frame()
141 void notrace walk_stackframe(struct task_struct *tsk, struct stackframe *frame, in walk_stackframe()
161 void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk, in dump_backtrace()
216 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack()
/arch/powerpc/include/asm/
Dcputime.h47 #define get_accounting(tsk) (&get_paca()->accounting) argument
48 #define raw_get_accounting(tsk) (&local_paca->accounting) argument
49 static inline void arch_vtime_task_switch(struct task_struct *tsk) { } in arch_vtime_task_switch()
52 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting) argument
53 #define raw_get_accounting(tsk) get_accounting(tsk) argument
/arch/ia64/include/asm/
Dthread_info.h46 #define INIT_THREAD_INFO(tsk) \ argument
58 #define alloc_thread_stack_node(tsk, node) \ argument
60 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) argument
63 #define alloc_thread_stack_node(tsk, node) ((unsigned long *) 0) argument
64 #define task_thread_info(tsk) ((struct thread_info *) 0) argument
66 #define free_thread_stack(tsk) /* nothing */ argument
67 #define task_stack_page(tsk) ((void *)(tsk)) argument
91 #define free_task_struct(tsk) free_pages((unsigned long) (tsk), KERNEL_STACK_SIZE_ORDER) argument
/arch/x86/include/asm/
Dresctrl.h54 static inline void __resctrl_sched_in(struct task_struct *tsk) in __resctrl_sched_in()
84 static inline void resctrl_sched_in(struct task_struct *tsk) in resctrl_sched_in()
94 static inline void resctrl_sched_in(struct task_struct *tsk) {} in resctrl_sched_in()
/arch/um/kernel/
Dstacktrace.c16 void dump_trace(struct task_struct *tsk, in dump_trace()
60 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) in __save_stack_trace()
71 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/arch/arm/include/asm/
Dmmu_context.h32 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
53 struct task_struct *tsk) in check_and_switch_context()
109 struct task_struct *tsk) in switch_mm()
/arch/sparc/include/asm/
Dprocessor_64.h30 #define TASK_SIZE_OF(tsk) \ argument
184 #define release_thread(tsk) do { } while (0) argument
188 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) argument
189 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->tpc) argument
190 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->u_regs[UREG_FP]) argument
/arch/powerpc/kernel/
Dprocess.c88 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required()
106 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required()
156 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu()
168 void giveup_fpu(struct task_struct *tsk) in giveup_fpu()
182 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread()
235 static inline void __giveup_fpu(struct task_struct *tsk) { } in __giveup_fpu()
239 static void __giveup_altivec(struct task_struct *tsk) in __giveup_altivec()
251 void giveup_altivec(struct task_struct *tsk) in giveup_altivec()
290 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread()
305 static void __giveup_vsx(struct task_struct *tsk) in __giveup_vsx()
[all …]
/arch/csky/include/asm/
Dmmu_context.h19 #define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.asid, 0); 0; }) argument
25 struct task_struct *tsk) in switch_mm()
/arch/parisc/include/asm/
Dmmu_context.h19 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
51 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off()
66 struct mm_struct *next, struct task_struct *tsk) in switch_mm()

123456789