/linux-master/arch/alpha/include/asm/ |
H A D | thread_info.h | 35 #define INIT_THREAD_INFO(tsk) \ 37 .task = &tsk, \
|
/linux-master/arch/arc/include/asm/ |
H A D | bug.h | 16 void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs,
|
H A D | entry.h | 59 * given a tsk struct, get to the base of its kernel mode stack 60 * tsk->thread_info is really a PAGE, whose bottom hoists stack 64 .macro GET_TSK_STACK_BASE tsk, out 67 ld \out, [\tsk, TASK_THREAD_INFO] 104 .macro SET_CURR_TASK_ON_CPU tsk, tmp 107 st \tsk, [\tmp] variable 109 mov gp, \tsk 121 .macro SET_CURR_TASK_ON_CPU tsk, tmp 122 st \tsk, [@_current_task] 124 mov gp, \tsk [all...] |
H A D | mmu_context.h | 93 /* Assign new ASID to tsk */ 108 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 133 struct task_struct *tsk) 132 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
H A D | processor.h | 49 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) 50 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) 56 #define TSK_K_ESP(tsk) (task_thread_info(tsk)->ksp) 58 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ 61 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, [all...] |
H A D | thread_info.h | 48 * initilaize thread_info for any @tsk 51 #define INIT_THREAD_INFO(tsk) \ 53 .task = &tsk, \
|
/linux-master/arch/arc/kernel/ |
H A D | head.S | 141 ; setup "current" tsk and optionally cache it in dedicated r25 143 SET_CURR_TASK_ON_CPU r9, r0 ; r9 = tsk, r0 = scratch 148 ; tsk->thread_info is really a PAGE, whose bottom hoists stack 149 GET_TSK_STACK_BASE r9, sp ; r9 = tsk, sp = stack base(output) 168 ; set its stack base to tsk->thread_info bottom
|
H A D | ptrace.c | 96 static struct callee_regs *task_callee_regs(struct task_struct *tsk) argument 98 struct callee_regs *tmp = (struct callee_regs *)tsk->thread.callee_reg;
|
H A D | stacktrace.c | 43 seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, argument 51 frame_info->task = tsk; 58 } else if (tsk == NULL || tsk == current) { 87 if (task_is_running(tsk)) 90 frame_info->task = tsk; 92 frame_info->regs.r27 = TSK_K_FP(tsk); 93 frame_info->regs.r28 = TSK_K_ESP(tsk); 94 frame_info->regs.r31 = TSK_K_BLINK(tsk); 117 arc_unwind_core(struct task_struct *tsk, struc argument 234 show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, const char *loglvl) argument 243 show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) argument 252 __get_wchan(struct task_struct *tsk) argument 263 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument [all...] |
H A D | traps.c | 42 struct task_struct *tsk = current; local 44 tsk->thread.fault_address = (__force unsigned int)addr;
|
H A D | troubleshoot.c | 54 static void print_task_path_n_nm(struct task_struct *tsk) argument 61 mm = get_task_mm(tsk); 172 struct task_struct *tsk = current; local 173 struct callee_regs *cregs = (struct callee_regs *)tsk->thread.callee_reg; 181 print_task_path_n_nm(tsk);
|
/linux-master/arch/arc/mm/ |
H A D | fault.c | 76 struct task_struct *tsk = current; local 77 struct mm_struct *mm = tsk->mm; 184 tsk->thread.fault_address = address;
|
/linux-master/arch/arm/include/asm/ |
H A D | hw_breakpoint.h | 134 extern void clear_ptrace_hw_breakpoint(struct task_struct *tsk); 142 static inline void clear_ptrace_hw_breakpoint(struct task_struct *tsk) {} argument
|
H A D | mmu_context.h | 38 void check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk); 42 init_new_context(struct task_struct *tsk, struct mm_struct *mm) argument 63 struct task_struct *tsk) 118 struct task_struct *tsk) 134 check_and_switch_context(next, tsk); 142 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) argument 62 check_and_switch_context(struct mm_struct *mm, struct task_struct *tsk) argument 117 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
H A D | processor.h | 89 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc 90 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp
|
H A D | stacktrace.h | 22 struct task_struct *tsk; member in struct:stackframe 38 frame->tsk = current; 50 extern void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk,
|
H A D | thread_info.h | 78 #define INIT_THREAD_INFO(tsk) \ 89 #define thread_saved_pc(tsk) \ 90 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 91 #define thread_saved_sp(tsk) \ 92 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 95 #define thread_saved_fp(tsk) \ 96 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp)) 98 #define thread_saved_fp(tsk) \ 99 ((unsigned long)(task_thread_info(tsk)->cpu_context.r7))
|
H A D | uaccess-asm.h | 131 .macro uaccess_entry, tsk, tmp0, tmp1, tmp2, disable variable 151 .macro uaccess_exit, tsk, tmp0, tmp1 variable
|
H A D | unwind.h | 40 extern void unwind_backtrace(struct pt_regs *regs, struct task_struct *tsk,
|
/linux-master/arch/arm/kernel/ |
H A D | entry-armv.S | 198 get_thread_info tsk 199 uaccess_entry tsk, r0, r1, r2, \uaccess 224 ldr r8, [tsk, #TI_PREEMPT] @ get preempt count 225 ldr r0, [tsk, #TI_FLAGS] @ get flags 242 ldr r0, [tsk, #TI_FLAGS] @ get new tasks TI_FLAGS 279 get_thread_info tsk 437 get_thread_info tsk 482 get_thread_info tsk 495 get_thread_info tsk
|
H A D | entry-common.S | 45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 93 str scno, [tsk, #TI_ABI_SYSCALL] @ make sure tracers see update 114 ldr r1, [tsk, #TI_FLAGS] 135 1: get_thread_info tsk 230 get_thread_info tsk 242 strne r10, [tsk, #TI_ABI_SYSCALL] 243 streq scno, [tsk, #TI_ABI_SYSCALL] 248 str scno, [tsk, #TI_ABI_SYSCALL] 251 str scno, [tsk, #TI_ABI_SYSCAL [all...] |
H A D | entry-header.S | 220 uaccess_exit tsk, r0, r1 264 uaccess_exit tsk, r0, r1 425 * We must set at least "tsk" and "why" when calling ret_with_reschedule. 430 tsk .req r9 @ current thread_info label
|
H A D | entry-v7m.S | 69 get_thread_info tsk 70 ldr r2, [tsk, #TI_FLAGS] 95 get_thread_info tsk
|
H A D | process.c | 213 void exit_thread(struct task_struct *tsk) argument 215 thread_notify(THREAD_NOTIFY_EXIT, task_thread_info(tsk)); 221 struct task_struct *tsk = current; local 223 flush_ptrace_hw_breakpoint(tsk); 225 memset(&tsk->thread.debug, 0, sizeof(struct debug_info));
|
H A D | ptrace.c | 250 static int ptrace_read_user(struct task_struct *tsk, unsigned long off, argument 260 tmp = tsk->mm->start_code; 262 tmp = tsk->mm->start_data; 264 tmp = tsk->mm->end_code; 266 tmp = get_user_reg(tsk, off >> 2); 277 static int ptrace_write_user(struct task_struct *tsk, unsigned long off, argument 286 return put_user_reg(tsk, off >> 2, val); 294 static int ptrace_getwmmxregs(struct task_struct *tsk, void __user *ufp) argument 296 struct thread_info *thread = task_thread_info(tsk); 308 static int ptrace_setwmmxregs(struct task_struct *tsk, voi argument 372 clear_ptrace_hw_breakpoint(struct task_struct *tsk) argument 381 flush_ptrace_hw_breakpoint(struct task_struct *tsk) argument 415 ptrace_hbp_create(struct task_struct *tsk, int type) argument 431 ptrace_gethbpregs(struct task_struct *tsk, long num, unsigned long __user *data) argument 477 ptrace_sethbpregs(struct task_struct *tsk, long num, unsigned long __user *data) argument [all...] |