/arch/microblaze/kernel/ |
H A D | stacktrace.c | 27 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument 29 microblaze_unwind(tsk, trace);
|
/arch/arm/include/asm/ |
H A D | a.out-core.h | 25 struct task_struct *tsk = current; local 28 dump->start_code = tsk->mm->start_code; 31 dump->u_tsize = (tsk->mm->end_code - tsk->mm->start_code) >> PAGE_SHIFT; 32 dump->u_dsize = (tsk->mm->brk - tsk->mm->start_data + PAGE_SIZE - 1) >> PAGE_SHIFT;
|
/arch/cris/include/asm/ |
H A D | mmu_context.h | 6 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm); 10 struct task_struct *tsk); 12 #define deactivate_mm(tsk,mm) do { } while (0) 23 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument
|
/arch/openrisc/include/asm/ |
H A D | mmu_context.h | 24 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm); 27 struct task_struct *tsk); 29 #define deactivate_mm(tsk, mm) do { } while (0) 39 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument
|
/arch/sh/kernel/cpu/ |
H A D | fpu.c | 7 int init_fpu(struct task_struct *tsk) argument 9 if (tsk_used_math(tsk)) { 10 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) 11 unlazy_fpu(tsk, task_pt_regs(tsk)); 18 if (!tsk->thread.xstate) { 19 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, 21 if (!tsk->thread.xstate) 26 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; 30 struct sh_fpu_soft_struct *fp = &tsk 42 struct task_struct *tsk = current; local 52 struct task_struct *tsk = current; local [all...] |
/arch/sh/kernel/cpu/sh5/ |
H A D | fpu.c | 19 void save_fpu(struct task_struct *tsk) argument 57 : "r" (&tsk->thread.xstate->hardfpu) 61 void restore_fpu(struct task_struct *tsk) argument 100 : "r" (&tsk->thread.xstate->hardfpu) 106 struct task_struct *tsk = current; local 110 tsk->thread.trap_no = 11; 111 tsk->thread.error_code = 0; 113 force_sig(SIGFPE, tsk);
|
/arch/arm/kernel/ |
H A D | entry-header.S | 174 * We must set at least "tsk" and "why" when calling ret_with_reschedule. 179 tsk .req r9 @ current thread_info label
|
/arch/frv/include/asm/ |
H A D | mmu_context.h | 20 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 25 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm); 30 #define init_new_context(tsk, mm) ({ 0; }) 35 #define switch_mm(prev, next, tsk) \ 46 #define deactivate_mm(tsk, mm) \
|
/arch/parisc/include/asm/ |
H A D | syscall.h | 9 static inline long syscall_get_nr(struct task_struct *tsk, argument 15 static inline void syscall_get_arguments(struct task_struct *tsk, argument
|
H A D | mmu_context.h | 11 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 22 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 52 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument 61 #define deactivate_mm(tsk,mm) do { } while (0)
|
/arch/parisc/kernel/ |
H A D | stacktrace.c | 57 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument 59 dump_trace(tsk, trace);
|
/arch/powerpc/kernel/ |
H A D | stacktrace.c | 23 struct task_struct *tsk, int savesched) 29 if (!validate_sp(sp, tsk, STACK_FRAME_OVERHEAD)) 59 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument 61 save_context_stack(trace, tsk->thread.ksp, tsk, 0); 22 save_context_stack(struct stack_trace *trace, unsigned long sp, struct task_struct *tsk, int savesched) argument
|
/arch/powerpc/mm/ |
H A D | mmu_context_hash64.c | 68 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument
|
/arch/sparc/include/asm/ |
H A D | mmu_context_32.h | 10 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 18 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) 33 #define switch_mm(old_mm, mm, tsk) BTFIXUP_CALL(switch_mm)(old_mm, mm, tsk) 35 #define deactivate_mm(tsk,mm) do { } while (0)
|
/arch/xtensa/include/asm/ |
H A D | nommu_context.h | 1 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 5 static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 19 struct task_struct *tsk) 23 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) argument 18 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/arch/arm/mm/ |
H A D | context.c | 46 void __init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument
|
/arch/cris/arch-v10/mm/ |
H A D | tlb.c | 143 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 152 struct task_struct *tsk) 151 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/arch/h8300/include/asm/ |
H A D | mmu_context.h | 9 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 14 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 21 #define deactivate_mm(tsk,mm) do { } while(0) 23 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/arch/hexagon/include/asm/ |
H A D | mmu_context.h | 39 struct task_struct *tsk) 46 static inline void deactivate_mm(struct task_struct *tsk, argument 53 * @tsk: pointer to a task struct 56 static inline int init_new_context(struct task_struct *tsk, argument 67 struct task_struct *tsk) 38 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 66 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/arch/mips/kernel/ |
H A D | stacktrace.c | 34 struct task_struct *tsk, struct pt_regs *regs) 43 (unsigned long)task_stack_page(tsk); 56 pc = unwind_stack(tsk, &sp, pc, &ra); 72 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument 79 if (tsk != current) { 80 regs->regs[29] = tsk->thread.reg29; 82 regs->cp0_epc = tsk->thread.reg31; 85 save_context_stack(trace, tsk, regs); 33 save_context_stack(struct stack_trace *trace, struct task_struct *tsk, struct pt_regs *regs) argument
|
/arch/mn10300/include/asm/ |
H A D | fpu.h | 36 static inline void set_using_fpu(struct task_struct *tsk) argument 41 : "i"(THREAD_USING_FPU), "a"(&tsk->thread.fpu_flags) 45 static inline void clear_using_fpu(struct task_struct *tsk) argument 50 : "i"(THREAD_USING_FPU), "a"(&tsk->thread.fpu_flags) 54 #define is_using_fpu(tsk) ((tsk)->thread.fpu_flags & THREAD_USING_FPU) 63 static inline void unlazy_fpu(struct task_struct *tsk) argument 67 if (tsk->thread.fpu_flags & THREAD_HAS_FPU) { 68 fpu_save(&tsk->thread.fpu_state); 69 tsk 82 struct task_struct *tsk = current; local 93 struct task_struct *tsk = current; local 119 is_using_fpu(struct task_struct *tsk) argument 120 set_using_fpu(struct task_struct *tsk) argument 121 clear_using_fpu(struct task_struct *tsk) argument 124 fpu_kill_state(struct task_struct *tsk) argument 125 unlazy_fpu(struct task_struct *tsk) argument [all...] |
/arch/mn10300/kernel/ |
H A D | fpu.c | 36 struct task_struct *tsk = current; local 45 if (!is_using_fpu(tsk)) 52 info.si_addr = (void *) tsk->thread.uregs->pc; 55 unlazy_fpu(tsk); 57 fpcr = tsk->thread.fpu_state.fpcr; 68 force_sig_info(SIGFPE, &info, tsk); 76 struct task_struct *tsk = current; local 78 if (!is_using_fpu(tsk)) 88 if (tsk->thread.fpu_flags & THREAD_HAS_FPU) { 89 fpu_save(&tsk 119 fpu_kill_state(struct task_struct *tsk) argument 147 struct task_struct *tsk = current; local 165 struct task_struct *tsk = current; local [all...] |
/arch/powerpc/include/asm/ |
H A D | hw_breakpoint.h | 57 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk); 66 extern void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs); 70 static inline void thread_change_pc(struct task_struct *tsk, argument
|
H A D | mmu_context.h | 17 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm); 21 extern void switch_stab(struct task_struct *tsk, struct mm_struct *mm); 22 extern void switch_slb(struct task_struct *tsk, struct mm_struct *mm); 44 struct task_struct *tsk) 51 tsk->thread.pgdir = next->pgd; 81 switch_slb(tsk, next); 83 switch_stab(tsk, next); 91 #define deactivate_mm(tsk,mm) do { } while (0) 108 struct task_struct *tsk) 43 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument 107 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument
|
/arch/s390/include/asm/ |
H A D | mmu_context.h | 18 static inline int init_new_context(struct task_struct *tsk, argument 58 static inline void update_mm(struct mm_struct *mm, struct task_struct *tsk) argument 75 struct task_struct *tsk) 78 update_mm(next, tsk); 87 #define enter_lazy_tlb(mm,tsk) do { } while (0) 88 #define deactivate_mm(tsk,mm) do { } while (0) 74 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|