Home
last modified time | relevance | path

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

12345

/linux/arch/alpha/kernel/
A 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()
149 task_thread_info(task)->ieee_state in put_reg()
202 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt()
220 task_thread_info(child)->bpt_insn[i] = insn; in ptrace_set_bpt()
222 task_thread_info(child)->bpt_addr[i])); in ptrace_set_bpt()
228 task_thread_info(child)->bpt_nsaved = nsaved; in ptrace_set_bpt()
239 int i, nsaved = task_thread_info(child)->bpt_nsaved; in ptrace_cancel_bpt()
241 task_thread_info(child)->bpt_nsaved = 0; in ptrace_cancel_bpt()
250 task_thread_info(child)->bpt_insn[i]); in ptrace_cancel_bpt()
[all …]
A Dprocess.c243 struct thread_info *childti = task_thread_info(p); in copy_thread()
335 dump_elf_thread(dest, task_pt_regs(task), task_thread_info(task)); in dump_elf_task()
367 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc()
396 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in __get_wchan()
/linux/arch/ia64/include/asm/
A 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);
A Dswitch_to.h63 task_thread_info(current)->last_cpu))) { \
64 task_thread_info(current)->last_cpu = task_cpu(current); \
/linux/include/linux/sched/
A Dtask_stack.h41 *task_thread_info(p) = *task_thread_info(org); in setup_thread_stack()
42 task_thread_info(p)->task = p; in setup_thread_stack()
57 return (unsigned long *)((unsigned long)task_thread_info(p) + THREAD_SIZE) - 1; in end_of_stack()
59 return (unsigned long *)(task_thread_info(p) + 1); in end_of_stack()
/linux/arch/arc/kernel/
A Dprocess.c27 task_thread_info(current)->thr_ptr = (unsigned int)user_tls_data_ptr; in SYSCALL_DEFINE1()
43 return task_thread_info(current)->thr_ptr; in SYSCALL_DEFINE0()
225 task_thread_info(p)->thr_ptr = tls; in copy_thread()
228 task_thread_info(p)->thr_ptr = in copy_thread()
229 task_thread_info(current)->thr_ptr; in copy_thread()
240 c_callee->r25 = task_thread_info(p)->thr_ptr; in copy_thread()
/linux/arch/sh/include/asm/
A Dfpu.h42 if (task_thread_info(tsk)->status & TS_USEDFPU) { in __unlazy_fpu()
43 task_thread_info(tsk)->status &= ~TS_USEDFPU; in __unlazy_fpu()
60 if (task_thread_info(tsk)->status & TS_USEDFPU) { in clear_fpu()
61 task_thread_info(tsk)->status &= ~TS_USEDFPU; in clear_fpu()
/linux/include/linux/
A Dthread_info.h143 set_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work)
145 test_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work)
147 clear_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work)
159 set_ti_thread_flag(task_thread_info(t), TIF_##fl)
161 test_ti_thread_flag(task_thread_info(t), TIF_##fl)
163 clear_ti_thread_flag(task_thread_info(t), TIF_##fl)
A Dscs.h25 #define task_scs(tsk) (task_thread_info(tsk)->scs_base)
26 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp)
/linux/arch/ia64/kernel/
A Dtime.c70 struct thread_info *ti = task_thread_info(tsk); in vtime_flush()
112 struct thread_info *pi = task_thread_info(prev); in arch_vtime_task_switch()
113 struct thread_info *ni = task_thread_info(current); in arch_vtime_task_switch()
125 struct thread_info *ti = task_thread_info(tsk); in vtime_delta()
139 struct thread_info *ti = task_thread_info(tsk); in vtime_account_kernel()
151 struct thread_info *ti = task_thread_info(tsk); in vtime_account_idle()
158 struct thread_info *ti = task_thread_info(tsk); in vtime_account_softirq()
165 struct thread_info *ti = task_thread_info(tsk); in vtime_account_hardirq()
/linux/arch/sparc/include/asm/
A Dswitch_to_64.h26 : : "r" (task_thread_info(next)->current_ds));\
28 task_thread_info(next); \
59 : "0" (task_thread_info(next)), \
/linux/arch/sparc/kernel/
A Dptrace_64.c389 task_thread_info(target)->xfsr, in fpregs64_set()
394 task_thread_info(target)->gsr, in fpregs64_set()
398 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set()
407 task_thread_info(target)->fpsaved[0] = fprs; in fpregs64_set()
712 fprs = task_thread_info(target)->fpsaved[0]; in fpregs32_set()
730 val = task_thread_info(target)->xfsr[0]; in fpregs32_set()
733 task_thread_info(target)->xfsr[0] = val; in fpregs32_set()
738 task_thread_info(target)->fpsaved[0] = fprs; in fpregs32_set()
860 fprs = task_thread_info(target)->fpsaved[0]; in setfpregs_set()
874 val = task_thread_info(target)->xfsr[0]; in setfpregs_set()
[all …]
/linux/arch/arm/include/asm/
A Dswitch_to.h35 task_thread_info(p)->cpu = task_cpu(p); in set_ti_cpu()
45 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
A Dthread_info.h109 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc))
111 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp))
115 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
118 ((unsigned long)(task_thread_info(tsk)->cpu_context.r7))
A Dsyscall.h26 return task_thread_info(task)->abi_syscall; in syscall_get_nr()
28 return task_thread_info(task)->abi_syscall & __NR_SYSCALL_MASK; in syscall_get_nr()
34 (task_thread_info(task)->abi_syscall & __NR_OABI_SYSCALL_BASE); in __in_oabi_syscall()
/linux/arch/arm64/include/asm/
A Dsyscall.h37 if (is_compat_thread(task_thread_info(task))) in syscall_get_return_value()
58 if (is_compat_thread(task_thread_info(task))) in syscall_set_return_value()
82 if (is_compat_thread(task_thread_info(task))) in syscall_get_arch()
/linux/arch/alpha/include/asm/
A Dthread_info.h91 __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \
98 task_thread_info(task)->status = status; \
102 __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \
A Dmmu_context.h162 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm()
239 task_thread_info(tsk)->pcb.ptbr in init_new_context()
248 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
/linux/arch/mips/include/asm/
A Dswitch_to.h54 struct thread_info *__prev_ti = task_thread_info(prev); \
137 write_c0_userlocal(task_thread_info(next)->tp_value); \
139 (last) = resume(prev, next, task_thread_info(next)); \
/linux/arch/arm64/kernel/
A Dprocess.c347 if (is_compat_thread(task_thread_info(p))) in copy_thread()
395 if (is_compat_thread(task_thread_info(next))) in tls_thread_switch()
456 prev32 = is_compat_thread(task_thread_info(prev)); in erratum_1418040_thread_switch()
457 next32 = is_compat_thread(task_thread_info(next)); in erratum_1418040_thread_switch()
630 struct thread_info *ti = task_thread_info(task); in set_tagged_addr_ctrl()
659 struct thread_info *ti = task_thread_info(task); in get_tagged_addr_ctrl()
A Dpointer_auth.c21 if (is_compat_thread(task_thread_info(tsk))) in ptrauth_prctl_reset_keys()
75 if (is_compat_thread(task_thread_info(tsk))) in ptrauth_set_enabled_keys()
100 if (is_compat_thread(task_thread_info(tsk))) in ptrauth_get_enabled_keys()
/linux/arch/microblaze/include/asm/
A Dswitch_to.h17 (last) = _switch_to(task_thread_info(prev), \
18 task_thread_info(next)); \
/linux/arch/x86/kernel/
A 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()
/linux/arch/arm/kernel/
A Dptrace.c297 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs()
311 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs()
577 return membuf_write(&to, &task_thread_info(target)->fpstate, in fpa_get()
586 struct thread_info *thread = task_thread_info(target); in fpa_set()
618 struct thread_info *thread = task_thread_info(target); in vfp_get()
640 struct thread_info *thread = task_thread_info(target); in vfp_set()
784 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace()
789 task_thread_info(child)->abi_syscall = data & in arch_ptrace()
/linux/include/asm-generic/
A Dpreempt.h28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
32 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \

Completed in 24 milliseconds

12345