Home
last modified time | relevance | path

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

12345

/arch/ia64/include/asm/
Dthread_info.h60 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) macro
64 #define task_thread_info(tsk) ((struct thread_info *) 0) macro
72 *task_thread_info(p) = *task_thread_info(org); \
73 task_thread_info(p)->ac_stime = 0; \
74 task_thread_info(p)->ac_utime = 0; \
75 task_thread_info(p)->task = (p);
78 *task_thread_info(p) = *task_thread_info(org); \
79 task_thread_info(p)->task = (p);
Dswitch_to.h71 task_thread_info(current)->last_cpu))) { \
73 task_thread_info(current)->last_cpu = task_cpu(current); \
/arch/alpha/kernel/
Dptrace.c114 addr = &task_thread_info(task)->pcb.usp; in get_reg_addr()
116 addr = &task_thread_info(task)->pcb.unique; in get_reg_addr()
136 = task_thread_info(task)->ieee_state & IEEE_SW_MASK; in get_reg()
150 task_thread_info(task)->ieee_state in put_reg()
151 = ((task_thread_info(task)->ieee_state & ~IEEE_SW_MASK) in put_reg()
201 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
203 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
208 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt()
211 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt()
217 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt()
[all …]
Dprocess.c245 struct thread_info *childti = task_thread_info(p); in copy_thread()
337 dump_elf_thread(dest, task_pt_regs(task), task_thread_info(task)); in dump_elf_task()
369 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc()
399 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
/arch/sparc/include/asm/
Dswitch_to_64.h26 : : "r" (task_thread_info(next)->current_ds));\
28 task_thread_info(next); \
59 : "0" (task_thread_info(next)), \
/arch/sh/include/asm/
Dfpu.h47 if (task_thread_info(tsk)->status & TS_USEDFPU) { in __unlazy_fpu()
48 task_thread_info(tsk)->status &= ~TS_USEDFPU; in __unlazy_fpu()
65 if (task_thread_info(tsk)->status & TS_USEDFPU) { in clear_fpu()
66 task_thread_info(tsk)->status &= ~TS_USEDFPU; in clear_fpu()
/arch/arc/kernel/
Dprocess.c28 task_thread_info(current)->thr_ptr = (unsigned int)user_tls_data_ptr; in SYSCALL_DEFINE1()
44 return task_thread_info(current)->thr_ptr; in SYSCALL_DEFINE0()
237 task_thread_info(p)->thr_ptr = regs->r3; in copy_thread()
240 task_thread_info(p)->thr_ptr = in copy_thread()
241 task_thread_info(current)->thr_ptr; in copy_thread()
252 c_callee->r25 = task_thread_info(p)->thr_ptr; in copy_thread()
/arch/unicore32/include/asm/
Dswitch_to.h26 last = __switch_to(prev, task_thread_info(prev), \
27 task_thread_info(next)); \
Dthread_info.h105 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc))
107 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp))
109 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
/arch/microblaze/include/asm/
Dswitch_to.h20 (last) = _switch_to(task_thread_info(prev), \
21 task_thread_info(next)); \
/arch/arm/include/asm/
Dswitch_to.h29 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
Dthread_info.h98 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc))
100 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp))
104 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
107 ((unsigned long)(task_thread_info(tsk)->cpu_context.r7))
/arch/x86/kernel/
Dprocess.h16 unsigned long next_tif = task_thread_info(next)->flags; in switch_to_extra()
17 unsigned long prev_tif = task_thread_info(prev)->flags; in switch_to_extra()
/arch/blackfin/include/asm/
Dswitch_to.h26 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/alpha/include/asm/
Dthread_info.h92 __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \
99 task_thread_info(task)->status = status; \
103 __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \
Dmmu_context.h162 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm()
240 task_thread_info(tsk)->pcb.ptbr in init_new_context()
254 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
Dswitch_to.h11 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
/arch/mips/include/asm/
Dswitch_to.h54 struct thread_info *__prev_ti = task_thread_info(prev); \
131 write_c0_userlocal(task_thread_info(next)->tp_value); \
133 (last) = resume(prev, next, task_thread_info(next)); \
Dwatch.h23 &task_thread_info(task)->flags))) { \
/arch/sparc/kernel/
Dptrace_64.c376 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_get()
383 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_get()
409 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get()
410 gsr = task_thread_info(target)->gsr[0]; in fpregs64_get()
443 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_set()
455 task_thread_info(target)->xfsr, in fpregs64_set()
460 task_thread_info(target)->gsr, in fpregs64_set()
464 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set()
473 task_thread_info(target)->fpsaved[0] = fprs; in fpregs64_set()
754 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs32_get()
[all …]
/arch/ia64/kernel/
Dtime.c68 struct thread_info *ti = task_thread_info(tsk); in vtime_flush()
110 struct thread_info *pi = task_thread_info(prev); in arch_vtime_task_switch()
111 struct thread_info *ni = task_thread_info(current); in arch_vtime_task_switch()
123 struct thread_info *ti = task_thread_info(tsk); in vtime_delta()
137 struct thread_info *ti = task_thread_info(tsk); in vtime_account_system()
153 struct thread_info *ti = task_thread_info(tsk); in vtime_account_idle()
/arch/arm64/kernel/
Dssbd.c18 u64 val = is_compat_thread(task_thread_info(task)) ? in ssbd_ssbs_enable()
26 u64 val = is_compat_thread(task_thread_info(task)) ? in ssbd_ssbs_disable()
/arch/arm/kernel/
Dptrace.c306 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs()
320 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs()
337 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs()
349 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs()
625 &task_thread_info(target)->fpstate, in fpa_get()
634 struct thread_info *thread = task_thread_info(target); in fpa_set()
672 struct thread_info *thread = task_thread_info(target); in vfp_get()
709 struct thread_info *thread = task_thread_info(target); in vfp_set()
853 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace()
858 task_thread_info(child)->syscall = data; in arch_ptrace()
/arch/score/include/asm/
Dswitch_to.h9 (last) = resume(prev, next, task_thread_info(next)); \
/arch/xtensa/kernel/
Dprocess.c127 coprocessor_release_all(task_thread_info(tsk)); in exit_thread()
152 coprocessor_flush_all(task_thread_info(src)); in arch_dup_task_struct()
281 ti = task_thread_info(p); in copy_thread()

12345