Home
last modified time | relevance | path

Searched refs:task_thread_info (Results 1 – 25 of 80) sorted by relevance

1234

/arch/ia64/include/asm/
Dthread_info.h63 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) macro
67 #define task_thread_info(tsk) ((struct thread_info *) 0) macro
75 *task_thread_info(p) = *task_thread_info(org); \
76 task_thread_info(p)->ac_stime = 0; \
77 task_thread_info(p)->ac_utime = 0; \
78 task_thread_info(p)->task = (p);
81 *task_thread_info(p) = *task_thread_info(org); \
82 task_thread_info(p)->task = (p);
133 #define tsk_is_polling(t) (task_thread_info(t)->status & TS_POLLING)
Dsystem.h265 task_thread_info(current)->last_cpu))) { \
267 task_thread_info(current)->last_cpu = task_cpu(current); \
/arch/alpha/kernel/
Dptrace.c113 addr = &task_thread_info(task)->pcb.usp; in get_reg_addr()
115 addr = &task_thread_info(task)->pcb.unique; in get_reg_addr()
135 = task_thread_info(task)->ieee_state & IEEE_SW_MASK; in get_reg()
149 task_thread_info(task)->ieee_state in put_reg()
150 = ((task_thread_info(task)->ieee_state & ~IEEE_SW_MASK) in put_reg()
198 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
200 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
205 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
214 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
[all …]
Dprocess.c281 struct thread_info *childti = task_thread_info(p); in copy_thread()
373 dump_elf_thread(dest, task_pt_regs(task), task_thread_info(task)); in dump_elf_task()
425 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc()
455 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
/arch/alpha/include/asm/
Dthread_info.h98 task_thread_info(task)->flags = ((task_thread_info(task)->flags & \
106 put_user((task_thread_info(task)->flags & (1 << TIF_UAC_NOPRINT))\
108 | (task_thread_info(task)->flags & (1 << TIF_UAC_SIGBUS))\
110 | (task_thread_info(task)->flags & (1 << TIF_UAC_NOFIX))\
Dmmu_context.h159 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm()
237 task_thread_info(tsk)->pcb.ptbr in init_new_context()
251 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
Dprocessor.h63 ((tsk) == current ? rdusp() : task_thread_info(tsk)->pcb.usp)
/arch/x86/include/asm/
Di387.h80 if (task_thread_info(tsk)->status & TS_XSAVE) in restore_fpu_checking()
99 if ((task_thread_info(tsk)->status & TS_XSAVE) && in clear_fpu_state()
164 if (task_thread_info(tsk)->status & TS_XSAVE) in __save_init_fpu()
170 task_thread_info(tsk)->status &= ~TS_USEDFPU; in __save_init_fpu()
190 if (task_thread_info(tsk)->status & TS_XSAVE) { in restore_fpu()
219 if (task_thread_info(tsk)->status & TS_XSAVE) { in __save_init_fpu()
260 task_thread_info(tsk)->status &= ~TS_USEDFPU; in __save_init_fpu()
273 if (task_thread_info(tsk)->status & TS_USEDFPU) { in __unlazy_fpu()
282 if (task_thread_info(tsk)->status & TS_USEDFPU) { in __clear_fpu()
284 task_thread_info(tsk)->status &= ~TS_USEDFPU; in __clear_fpu()
Dsyscall.h44 if (task_thread_info(task)->status & TS_COMPAT) in syscall_get_error()
95 if (task_thread_info(task)->status & TS_COMPAT) in syscall_get_arguments()
156 if (task_thread_info(task)->status & TS_COMPAT) in syscall_set_arguments()
/arch/x86/kernel/
Dxsave.c93 if (task_thread_info(tsk)->status & TS_USEDFPU) { in save_i387_xstate()
102 if (task_thread_info(tsk)->status & TS_XSAVE) in save_i387_xstate()
109 task_thread_info(tsk)->status &= ~TS_USEDFPU; in save_i387_xstate()
117 if (task_thread_info(tsk)->status & TS_XSAVE) { in save_i387_xstate()
222 if (!(task_thread_info(current)->status & TS_USEDFPU)) { in restore_i387_xstate()
224 task_thread_info(current)->status |= TS_USEDFPU; in restore_i387_xstate()
226 if (task_thread_info(tsk)->status & TS_XSAVE) in restore_i387_xstate()
/arch/m68k/include/asm/
Dthread_info_mm.h33 #define task_thread_info(tsk) (&(tsk)->thread.info) macro
35 #define current_thread_info() task_thread_info(current)
41 task_thread_info(p)->task = (p); \
/arch/sparc/kernel/
Dptrace_64.c331 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_get()
338 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_get()
364 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get()
365 gsr = task_thread_info(target)->gsr[0]; in fpregs64_get()
398 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_set()
410 task_thread_info(target)->xfsr, in fpregs64_set()
415 task_thread_info(target)->gsr, in fpregs64_set()
419 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set()
428 task_thread_info(target)->fpsaved[0] = fprs; in fpregs64_set()
699 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs32_get()
[all …]
Dstacktrace.c60 struct thread_info *tp = task_thread_info(tsk); in save_stack_trace_tsk()
/arch/blackfin/include/asm/
Dprocessor.h75 task_thread_info(current)->l1_task_info.stack_start \
77 task_thread_info(current)->l1_task_info.lowest_sp = (void *)(_usp); \
78 memcpy(L1_SCRATCH_TASK_INFO, &task_thread_info(current)->l1_task_info, \
Dsystem.h203 memcpy (&task_thread_info(prev)->l1_task_info, L1_SCRATCH_TASK_INFO, \
205 memcpy (L1_SCRATCH_TASK_INFO, &task_thread_info(next)->l1_task_info, \
/arch/arm/kernel/
Dptrace.c583 return copy_to_user(ufp, &task_thread_info(tsk)->fpstate, in ptrace_getfpregs()
592 struct thread_info *thread = task_thread_info(tsk); in ptrace_setfpregs()
605 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs()
619 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs()
636 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs()
648 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs()
662 struct thread_info *thread = task_thread_info(tsk); in ptrace_getvfpregs()
685 struct thread_info *thread = task_thread_info(tsk); in ptrace_setvfpregs()
807 ret = put_user(task_thread_info(child)->tp_value, in arch_ptrace()
812 task_thread_info(child)->syscall = data; in arch_ptrace()
/arch/arm/include/asm/
Dthread_info.h101 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc))
103 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
/arch/sparc/include/asm/
Dsystem_64.h151 : : "r" (__thread_flag_byte_ptr(task_thread_info(next))[TI_FLAG_BYTE_CURRENT_DS]));\
153 task_thread_info(next); \
184 : "0" (task_thread_info(next)), \
/arch/mips/include/asm/
Dsystem.h51 struct thread_info *__prev_ti = task_thread_info(prev); \
71 (last) = resume(prev, next, task_thread_info(next)); \
/arch/ia64/kernel/
Dtime.c88 struct thread_info *pi = task_thread_info(prev); in ia64_account_on_switch()
89 struct thread_info *ni = task_thread_info(next); in ia64_account_on_switch()
116 struct thread_info *ti = task_thread_info(tsk); in account_system_vtime()
144 struct thread_info *ti = task_thread_info(p); in account_process_tick()
/arch/cris/arch-v32/mm/
Dtlb.c199 if (tsk && task_thread_info(tsk)) { in switch_mm()
201 task_thread_info(tsk)->tls); in switch_mm()
/arch/cris/include/asm/
Dprocessor.h50 #define task_pt_regs(task) user_regs(task_thread_info(task))
/arch/avr32/oprofile/
Dbacktrace.c66 while (depth-- && valid_stack_ptr(task_thread_info(current), in avr32_backtrace()
/arch/powerpc/kernel/
Dsmp.c247 paca[cpu].kstack = (unsigned long) task_thread_info(p) in smp_create_idle()
250 current_set[cpu] = task_thread_info(p); in smp_create_idle()
251 task_thread_info(p)->cpu = cpu; in smp_create_idle()
292 current_set[boot_cpuid] = task_thread_info(current); in smp_prepare_boot_cpu()
/arch/s390/kernel/
Dvtime.c61 struct thread_info *ti = task_thread_info(tsk); in do_account_vtime()
95 ti = task_thread_info(prev); in account_vtime()
98 ti = task_thread_info(next); in account_vtime()
114 struct thread_info *ti = task_thread_info(tsk); in account_system_vtime()

1234