/arch/ia64/include/asm/ |
D | thread_info.h | 64 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) macro 68 #define task_thread_info(tsk) ((struct thread_info *) 0) macro 76 *task_thread_info(p) = *task_thread_info(org); \ 77 task_thread_info(p)->ac_stime = 0; \ 78 task_thread_info(p)->ac_utime = 0; \ 79 task_thread_info(p)->task = (p); 82 *task_thread_info(p) = *task_thread_info(org); \ 83 task_thread_info(p)->task = (p); 139 #define tsk_is_polling(t) (task_thread_info(t)->status & TS_POLLING)
|
D | switch_to.h | 78 task_thread_info(current)->last_cpu))) { \ 80 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/arch/alpha/kernel/ |
D | ptrace.c | 110 addr = &task_thread_info(task)->pcb.usp; in get_reg_addr() 112 addr = &task_thread_info(task)->pcb.unique; in get_reg_addr() 132 = task_thread_info(task)->ieee_state & IEEE_SW_MASK; in get_reg() 146 task_thread_info(task)->ieee_state in put_reg() 147 = ((task_thread_info(task)->ieee_state & ~IEEE_SW_MASK) in put_reg() 195 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt() 197 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt() 202 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt() 205 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt() 211 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt() [all …]
|
D | process.c | 282 struct thread_info *childti = task_thread_info(p); in copy_thread() 374 dump_elf_thread(dest, task_pt_regs(task), task_thread_info(task)); in dump_elf_task() 427 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc() 457 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
|
/arch/alpha/include/asm/ |
D | thread_info.h | 103 task_thread_info(task)->flags = ((task_thread_info(task)->flags & \ 111 put_user((task_thread_info(task)->flags & (1 << TIF_UAC_NOPRINT))\ 113 | (task_thread_info(task)->flags & (1 << TIF_UAC_SIGBUS))\ 115 | (task_thread_info(task)->flags & (1 << TIF_UAC_NOFIX))\
|
D | switch_to.h | 10 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
|
D | mmu_context.h | 158 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm() 236 task_thread_info(tsk)->pcb.ptbr in init_new_context() 250 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
|
/arch/sparc/include/asm/ |
D | switch_to_64.h | 25 : : "r" (__thread_flag_byte_ptr(task_thread_info(next))[TI_FLAG_BYTE_CURRENT_DS]));\ 27 task_thread_info(next); \ 58 : "0" (task_thread_info(next)), \
|
/arch/sh/include/asm/ |
D | fpu.h | 44 if (task_thread_info(tsk)->status & TS_USEDFPU) { in __unlazy_fpu() 45 task_thread_info(tsk)->status &= ~TS_USEDFPU; in __unlazy_fpu() 62 if (task_thread_info(tsk)->status & TS_USEDFPU) { in clear_fpu() 63 task_thread_info(tsk)->status &= ~TS_USEDFPU; in clear_fpu()
|
/arch/arm/include/asm/ |
D | switch_to.h | 15 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
D | thread_info.h | 101 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 103 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 105 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
|
D | mmu_context.h | 87 set_ti_thread_flag(task_thread_info(tsk), TIF_SWITCH_MM); in check_and_switch_context() 124 set_ti_thread_flag(task_thread_info(tsk), TIF_SWITCH_MM); in check_and_switch_context()
|
/arch/microblaze/include/asm/ |
D | switch_to.h | 20 (last) = _switch_to(task_thread_info(prev), \ 21 task_thread_info(next)); \
|
/arch/unicore32/include/asm/ |
D | switch_to.h | 26 last = __switch_to(prev, task_thread_info(prev), \ 27 task_thread_info(next)); \
|
D | thread_info.h | 112 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 114 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 116 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
|
/arch/blackfin/include/asm/ |
D | switch_to.h | 26 memcpy (&task_thread_info(prev)->l1_task_info, L1_SCRATCH_TASK_INFO, \ 28 memcpy (L1_SCRATCH_TASK_INFO, &task_thread_info(next)->l1_task_info, \
|
/arch/mips/include/asm/ |
D | switch_to.h | 46 struct thread_info *__prev_ti = task_thread_info(prev); \ 73 (last) = resume(prev, next, task_thread_info(next)); \
|
/arch/x86/include/asm/ |
D | syscall.h | 50 if (task_thread_info(task)->status & TS_COMPAT) in syscall_get_error() 107 if (task_thread_info(task)->status & TS_COMPAT) in syscall_get_arguments() 168 if (task_thread_info(task)->status & TS_COMPAT) in syscall_set_arguments() 236 if (task_thread_info(task)->status & TS_COMPAT) in syscall_get_arch()
|
/arch/sparc/kernel/ |
D | ptrace_64.c | 333 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_get() 340 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_get() 366 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get() 367 gsr = task_thread_info(target)->gsr[0]; in fpregs64_get() 400 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_set() 412 task_thread_info(target)->xfsr, in fpregs64_set() 417 task_thread_info(target)->gsr, in fpregs64_set() 421 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set() 430 task_thread_info(target)->fpsaved[0] = fprs; in fpregs64_set() 705 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs32_get() [all …]
|
/arch/score/include/asm/ |
D | switch_to.h | 8 (last) = resume(prev, next, task_thread_info(next)); \
|
/arch/openrisc/kernel/ |
D | process.c | 140 childregs->gpr[10] = (unsigned long)task_thread_info(p); in copy_thread() 160 ti = task_thread_info(p); in copy_thread() 169 kregs->gpr[10] = (unsigned long)task_thread_info(p); in copy_thread()
|
/arch/arm/kernel/ |
D | ptrace.c | 302 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() 316 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() 333 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs() 345 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs() 621 &task_thread_info(target)->fpstate, in fpa_get() 630 struct thread_info *thread = task_thread_info(target); in fpa_set() 668 struct thread_info *thread = task_thread_info(target); in vfp_get() 705 struct thread_info *thread = task_thread_info(target); in vfp_set() 849 ret = put_user(task_thread_info(child)->tp_value, in arch_ptrace() 854 task_thread_info(child)->syscall = data; in arch_ptrace()
|
/arch/cris/include/asm/ |
D | processor.h | 50 #define task_pt_regs(task) user_regs(task_thread_info(task))
|
/arch/cris/arch-v32/mm/ |
D | tlb.c | 199 if (tsk && task_thread_info(tsk)) { in switch_mm() 201 task_thread_info(tsk)->tls); in switch_mm()
|
/arch/ia64/kernel/ |
D | time.c | 93 struct thread_info *pi = task_thread_info(prev); in ia64_account_on_switch() 94 struct thread_info *ni = task_thread_info(next); in ia64_account_on_switch() 121 struct thread_info *ti = task_thread_info(tsk); in account_system_vtime() 149 struct thread_info *ti = task_thread_info(p); in account_process_tick()
|