| /arch/sh/include/asm/ |
| A D | switch_to_32.h | 7 #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
|
| A D | fpu.h | 27 #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/ |
| A D | dsp.h | 39 #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
|
| A D | fpu.h | 179 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() 242 static inline void save_fp(struct task_struct *tsk) in save_fp() 248 static inline void restore_fp(struct task_struct *tsk) in restore_fp() 254 static inline union fpureg *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs() 304 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic()
|
| /arch/arm64/include/asm/ |
| A D | pointer_auth.h | 130 #define ptrauth_thread_switch_user(tsk) \ argument 135 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument 136 #define ptrauth_set_enabled_keys(tsk, keys, enabled) (-EINVAL) argument 137 #define ptrauth_get_enabled_keys(tsk) (-EINVAL) argument 140 #define ptrauth_thread_switch_user(tsk) argument 144 #define ptrauth_thread_init_kernel(tsk) \ argument 146 #define ptrauth_thread_switch_kernel(tsk) \ argument 149 #define ptrauth_thread_init_kernel(tsk) argument 150 #define ptrauth_thread_switch_kernel(tsk) argument
|
| A D | mmu_context.h | 173 #define init_new_context(tsk, mm) init_new_context(tsk, mm) argument 175 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 210 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0() 226 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0() 234 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 259 struct task_struct *tsk) in switch_mm() 324 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
|
| /arch/sh/kernel/cpu/sh4/ |
| A D | fpu.c | 41 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/arc/include/asm/ |
| A D | processor.h | 49 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument 50 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument 56 #define TSK_K_ESP(tsk) (task_thread_info(tsk)->ksp) argument 58 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument 61 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument 62 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
|
| /arch/powerpc/mm/ |
| A D | mmu_context.c | 16 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 29 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 39 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir() 44 struct task_struct *tsk) in switch_mm_irqs_off()
|
| /arch/s390/include/asm/ |
| A D | vdso-symbols.h | 10 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) argument 12 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) argument 14 #define VDSO32_SYMBOL(tsk, name) (-1UL) argument
|
| A D | mmu_context.h | 20 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 72 struct task_struct *tsk) in switch_mm_irqs_off() 90 struct task_struct *tsk) in switch_mm() 102 struct task_struct *tsk = current; in finish_arch_post_lock_switch() local
|
| /arch/sh/kernel/cpu/ |
| A D | fpu.c | 11 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/ |
| A D | processor.h | 15 #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/ |
| A D | stacktrace.c | 43 seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, in seed_unwind_frame_info() 117 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core() 234 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, in show_stacktrace() 243 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() 252 unsigned int __get_wchan(struct task_struct *tsk) in __get_wchan() 263 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
|
| /arch/powerpc/include/asm/ |
| A D | cputime.h | 33 #define get_accounting(tsk) (&get_paca()->accounting) argument 34 #define raw_get_accounting(tsk) (&local_paca->accounting) argument 37 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting) argument 38 #define raw_get_accounting(tsk) get_accounting(tsk) argument
|
| /arch/arm64/kernel/ |
| A D | pointer_auth.c | 11 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()
|
| /arch/riscv/kernel/ |
| A D | vector.c | 126 void riscv_v_thread_alloc(struct task_struct *tsk) in riscv_v_thread_alloc() 133 void riscv_v_thread_free(struct task_struct *tsk) in riscv_v_thread_free() 147 static inline int riscv_v_ctrl_get_cur(struct task_struct *tsk) in riscv_v_ctrl_get_cur() 152 static inline int riscv_v_ctrl_get_next(struct task_struct *tsk) in riscv_v_ctrl_get_next() 157 static inline bool riscv_v_ctrl_test_inherit(struct task_struct *tsk) in riscv_v_ctrl_test_inherit() 162 static inline void riscv_v_ctrl_set(struct task_struct *tsk, int cur, int nxt, in riscv_v_ctrl_set() 224 void riscv_v_vstate_ctrl_init(struct task_struct *tsk) in riscv_v_vstate_ctrl_init()
|
| /arch/arm/include/asm/ |
| A D | mmu_context.h | 42 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 63 struct task_struct *tsk) in check_and_switch_context() 118 struct task_struct *tsk) in switch_mm() 142 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
|
| /arch/parisc/include/asm/ |
| A D | syscall.h | 14 static inline long syscall_get_nr(struct task_struct *tsk, in syscall_get_nr() 20 static inline void syscall_set_nr(struct task_struct *tsk, in syscall_set_nr() 27 static inline void syscall_get_arguments(struct task_struct *tsk, in syscall_get_arguments() 39 static inline void syscall_set_arguments(struct task_struct *tsk, in syscall_set_arguments()
|
| A D | vdso.h | 12 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) argument 13 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) argument
|
| /arch/openrisc/include/asm/ |
| A D | fpu.h | 18 #define save_fpu(tsk) do { } while (0) argument 19 #define restore_fpu(tsk) do { } while (0) argument
|
| /arch/powerpc/kernel/ |
| A D | process.c | 151 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu() 163 void giveup_fpu(struct task_struct *tsk) in giveup_fpu() 177 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread() 246 void giveup_altivec(struct task_struct *tsk) in giveup_altivec() 300 static void __giveup_vsx(struct task_struct *tsk) in __giveup_vsx() 317 static void giveup_vsx(struct task_struct *tsk) in giveup_vsx() 352 void flush_vsx_to_thread(struct task_struct *tsk) in flush_vsx_to_thread() 367 void giveup_spe(struct task_struct *tsk) in giveup_spe() 390 void flush_spe_to_thread(struct task_struct *tsk) in flush_spe_to_thread() 421 void giveup_all(struct task_struct *tsk) in giveup_all() [all …]
|
| /arch/um/kernel/ |
| A D | stacktrace.c | 16 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/csky/include/asm/ |
| A D | mmu_context.h | 19 #define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.asid, 0); 0; }) argument 25 struct task_struct *tsk) in switch_mm()
|
| /arch/loongarch/kernel/ |
| A D | perf_regs.c | 14 u64 perf_reg_abi(struct task_struct *tsk) in perf_reg_abi() 19 u64 perf_reg_abi(struct task_struct *tsk) in perf_reg_abi()
|