/arch/mn10300/include/asm/ |
D | fpu.h | 36 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() 79 static inline void exit_fpu(struct task_struct *tsk) in exit_fpu() 91 struct task_struct *tsk = current; in flush_fpu() local 117 static inline bool is_using_fpu(struct task_struct *tsk) { return false; } in is_using_fpu() 118 static inline void set_using_fpu(struct task_struct *tsk) {} in set_using_fpu() 119 static inline void clear_using_fpu(struct task_struct *tsk) {} in clear_using_fpu() 122 static inline void fpu_kill_state(struct task_struct *tsk) {} in fpu_kill_state() [all …]
|
/arch/sh/include/asm/ |
D | switch_to_32.h | 6 #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
|
D | fpu.h | 24 #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/mips/include/asm/ |
D | dsp.h | 43 #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/m68k/include/asm/ |
D | mmu_context.h | 6 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/ |
D | fpu.c | 36 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/sh/kernel/cpu/sh4/ |
D | fpu.c | 45 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/arm/include/asm/ |
D | mmu_context.h | 31 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 52 struct task_struct *tsk) in check_and_switch_context() 97 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context() 118 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 130 struct task_struct *tsk) in switch_mm() 153 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/arch/sh/kernel/cpu/sh5/ |
D | fpu.c | 19 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/arc/include/asm/ |
D | processor.h | 74 #define copy_segments(tsk, mm) do { } while (0) argument 77 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument 78 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument 84 #define TSK_K_ESP(tsk) (tsk->thread.ksp) argument 86 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument 89 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument 90 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument 92 #define thread_saved_pc(tsk) TSK_K_BLINK(tsk) argument
|
/arch/parisc/include/asm/ |
D | mmu_context.h | 11 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() 53 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off() 62 struct mm_struct *next, struct task_struct *tsk) in switch_mm() 72 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/arch/xtensa/include/asm/ |
D | nommu_context.h | 5 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 9 static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm) in init_new_context() 23 struct task_struct *tsk) in switch_mm() 27 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
|
/arch/powerpc/kernel/ |
D | process.c | 77 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required() 99 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required() 150 void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu() 164 void giveup_fpu(struct task_struct *tsk) in giveup_fpu() 178 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread() 230 static int restore_fp(struct task_struct *tsk) { in restore_fp() 239 static int restore_fp(struct task_struct *tsk) { return 0; } in restore_fp() 245 static void __giveup_altivec(struct task_struct *tsk) in __giveup_altivec() 259 void giveup_altivec(struct task_struct *tsk) in giveup_altivec() 297 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread() [all …]
|
/arch/hexagon/include/asm/ |
D | mmu_context.h | 39 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/ |
D | fpu.c | 7 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/nios2/include/asm/ |
D | mmu_context.h | 27 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 37 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 55 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
|
/arch/arc/kernel/ |
D | stacktrace.c | 42 static void seed_unwind_frame_info(struct task_struct *tsk, in seed_unwind_frame_info() 112 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core() 221 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs) in show_stacktrace() 229 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack() 238 unsigned int get_wchan(struct task_struct *tsk) in get_wchan() 249 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
|
/arch/frv/include/asm/ |
D | mmu_context.h | 20 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/avr32/kernel/ |
D | ptrace.c | 25 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/m32r/include/asm/ |
D | mmu_context.h | 37 #define enter_lazy_tlb(mm, tsk) do { } while (0) argument 74 static inline int init_new_context(struct task_struct *tsk, in init_new_context() 122 struct mm_struct *next, struct task_struct *tsk) in switch_mm() 143 #define deactivate_mm(tsk, mm) do { } while (0) argument 150 #define init_new_context(tsk,mm) (0) argument 155 #define switch_mm(prev,next,tsk) do { } while (0) argument 156 #define deactivate_mm(mm,tsk) do { } while (0) argument 158 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
|
/arch/x86/um/asm/ |
D | processor.h | 13 #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/arm64/include/asm/ |
D | mmu_context.h | 158 #define init_new_context(tsk,mm) ({ atomic64_set(&(mm)->context.id, 0); 0; }) argument 170 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb() 175 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0() 186 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0() 210 struct task_struct *tsk) in switch_mm() 226 #define deactivate_mm(tsk,mm) do { } while (0) argument
|
/arch/microblaze/include/asm/ |
D | processor.h | 27 #define task_pt_regs(tsk) \ argument 77 # define KSTK_EIP(tsk) (0) argument 78 # define KSTK_ESP(tsk) (0) argument 126 # define thread_saved_pc(tsk) \ argument 138 # define task_pt_regs_plus_args(tsk) \ argument 148 # define deactivate_mm(tsk, mm) do { } while (0) argument
|
/arch/ia64/include/asm/ |
D | thread_info.h | 39 #define INIT_THREAD_INFO(tsk) \ argument 51 #define alloc_thread_stack_node(tsk, node) \ argument 53 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) argument 56 #define alloc_thread_stack_node(tsk, node) ((unsigned long *) 0) argument 57 #define task_thread_info(tsk) ((struct thread_info *) 0) argument 59 #define free_thread_stack(tsk) /* nothing */ argument 60 #define task_stack_page(tsk) ((void *)(tsk)) argument 84 #define free_task_struct(tsk) free_pages((unsigned long) (tsk), KERNEL_STACK_SIZE_ORDER) argument
|
/arch/c6x/include/asm/ |
D | processor.h | 95 #define copy_segments(tsk, mm) do { } while (0) argument 101 #define thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) argument 107 #define thread_saved_ksp(tsk) \ argument 109 #define thread_saved_dp(tsk) \ argument 112 #define thread_saved_ksp(tsk) \ argument 114 #define thread_saved_dp(tsk) \ argument
|