/linux/arch/alpha/kernel/ |
A D | ptrace.c | 113 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 D | process.c | 243 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 D | thread_info.h | 60 #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 D | switch_to.h | 63 task_thread_info(current)->last_cpu))) { \ 64 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/linux/include/linux/sched/ |
A D | task_stack.h | 41 *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 D | process.c | 27 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 D | fpu.h | 42 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 D | thread_info.h | 143 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 D | scs.h | 25 #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 D | time.c | 70 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 D | switch_to_64.h | 26 : : "r" (task_thread_info(next)->current_ds));\ 28 task_thread_info(next); \ 59 : "0" (task_thread_info(next)), \
|
/linux/arch/sparc/kernel/ |
A D | ptrace_64.c | 389 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 D | switch_to.h | 35 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 D | thread_info.h | 109 ((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 D | syscall.h | 26 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 D | syscall.h | 37 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 D | thread_info.h | 91 __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 D | mmu_context.h | 162 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 D | switch_to.h | 54 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 D | process.c | 347 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 D | pointer_auth.c | 21 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 D | switch_to.h | 17 (last) = _switch_to(task_thread_info(prev), \ 18 task_thread_info(next)); \
|
/linux/arch/x86/kernel/ |
A D | process.h | 16 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 D | ptrace.c | 297 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 D | preempt.h | 28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 32 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \
|