/arch/ia64/include/asm/ |
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);
|
D | switch_to.h | 63 task_thread_info(current)->last_cpu))) { \ 64 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/arch/alpha/kernel/ |
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() 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() 200 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt() 202 task_thread_info(child)->bpt_addr[nsaved++] in ptrace_set_bpt() 207 task_thread_info(child)->bpt_addr[nsaved++] = get_reg(child, reg_b); in ptrace_set_bpt() 210 task_thread_info(child)->bpt_addr[nsaved++] = pc + 4; in ptrace_set_bpt() 216 res = read_int(child, task_thread_info(child)->bpt_addr[i], in ptrace_set_bpt() [all …]
|
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() 397 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in get_wchan()
|
/arch/sh/include/asm/ |
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()
|
/arch/sparc/include/asm/ |
D | switch_to_64.h | 26 : : "r" (task_thread_info(next)->current_ds));\ 28 task_thread_info(next); \ 59 : "0" (task_thread_info(next)), \
|
/arch/arc/kernel/ |
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()
|
/arch/arm/include/asm/ |
D | syscall.h | 26 return task_thread_info(task)->abi_syscall; in syscall_get_nr() 28 if (task_thread_info(task)->abi_syscall == -1) in syscall_get_nr() 31 return task_thread_info(task)->abi_syscall & __NR_SYSCALL_MASK; in syscall_get_nr() 37 (task_thread_info(task)->abi_syscall & __NR_OABI_SYSCALL_BASE); in __in_oabi_syscall()
|
D | thread_info.h | 91 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 93 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 97 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp)) 100 ((unsigned long)(task_thread_info(tsk)->cpu_context.r7))
|
D | switch_to.h | 29 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
/arch/microblaze/include/asm/ |
D | switch_to.h | 17 (last) = _switch_to(task_thread_info(prev), \ 18 task_thread_info(next)); \
|
/arch/arm64/include/asm/ |
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() 92 if (is_compat_thread(task_thread_info(task))) in syscall_get_arch()
|
D | preempt.h | 22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 26 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \
|
/arch/x86/kernel/ |
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()
|
/arch/alpha/include/asm/ |
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; \
|
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()
|
D | switch_to.h | 11 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
|
/arch/ia64/kernel/ |
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()
|
/arch/mips/include/asm/ |
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)); \
|
D | syscall.h | 41 return task_thread_info(task)->syscall; in syscall_get_nr() 52 task_thread_info(task)->syscall = regs->regs[4]; in mips_syscall_update_nr() 54 task_thread_info(task)->syscall = regs->regs[2]; in mips_syscall_update_nr()
|
D | watch.h | 23 &task_thread_info(task)->flags))) { \
|
/arch/arm64/kernel/ |
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()
|
/arch/sparc/kernel/ |
D | ptrace_64.c | 346 struct thread_info *t = task_thread_info(target); in fpregs64_get() 377 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_set() 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() 682 struct thread_info *t = task_thread_info(target); in fpregs32_get() 705 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs32_set() 712 fprs = task_thread_info(target)->fpsaved[0]; in fpregs32_set() 730 val = task_thread_info(target)->xfsr[0]; in fpregs32_set() [all …]
|
/arch/xtensa/kernel/ |
D | process.c | 131 coprocessor_release_all(task_thread_info(tsk)); in exit_thread() 156 coprocessor_flush_all(task_thread_info(src)); in arch_dup_task_struct() 287 ti = task_thread_info(p); in copy_thread()
|
/arch/arm/kernel/ |
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() 791 task_thread_info(child)->abi_syscall = data; in arch_ptrace()
|