/Linux-v4.19/arch/alpha/kernel/ |
D | ptrace.c | 114 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 …]
|
D | process.c | 245 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()
|
/Linux-v4.19/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 | 71 task_thread_info(current)->last_cpu))) { \ 73 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/Linux-v4.19/include/linux/sched/ |
D | task_stack.h | 37 *task_thread_info(p) = *task_thread_info(org); in setup_thread_stack() 38 task_thread_info(p)->task = p; in setup_thread_stack() 53 return (unsigned long *)((unsigned long)task_thread_info(p) + THREAD_SIZE) - 1; in end_of_stack() 55 return (unsigned long *)(task_thread_info(p) + 1); in end_of_stack()
|
/Linux-v4.19/arch/arc/kernel/ |
D | process.c | 28 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()
|
/Linux-v4.19/arch/sh/include/asm/ |
D | fpu.h | 47 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()
|
/Linux-v4.19/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)), \
|
/Linux-v4.19/arch/arm/include/asm/ |
D | thread_info.h | 95 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 97 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 101 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp)) 104 ((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)); \
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | thread_info.h | 89 __u32 status = task_thread_info(task)->status & ~UAC_BITMASK; \ 96 task_thread_info(task)->status = status; \ 100 __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() 240 task_thread_info(tsk)->pcb.ptbr in init_new_context() 254 task_thread_info(tsk)->pcb.ptbr in enter_lazy_tlb()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | ptrace_64.c | 376 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 …]
|
/Linux-v4.19/arch/mips/include/asm/ |
D | switch_to.h | 54 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)); \
|
D | syscall.h | 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()
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | switch_to.h | 26 last = __switch_to(prev, task_thread_info(prev), \ 27 task_thread_info(next)); \
|
D | thread_info.h | 102 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 104 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 106 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | switch_to.h | 20 (last) = _switch_to(task_thread_info(prev), \ 21 task_thread_info(next)); \
|
/Linux-v4.19/arch/ia64/kernel/ |
D | time.c | 68 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()
|
/Linux-v4.19/include/asm-generic/ |
D | preempt.h | 28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 32 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
|
/Linux-v4.19/arch/arm/kernel/ |
D | ptrace.c | 307 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() 321 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() 338 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs() 350 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs() 620 &task_thread_info(target)->fpstate, in fpa_get() 629 struct thread_info *thread = task_thread_info(target); in fpa_set() 667 struct thread_info *thread = task_thread_info(target); in vfp_get() 704 struct thread_info *thread = task_thread_info(target); in vfp_set() 848 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace() 853 task_thread_info(child)->syscall = data; in arch_ptrace()
|
/Linux-v4.19/arch/arm64/kernel/ |
D | debug-monitors.c | 391 if (test_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP)) in user_rewind_single_step() 398 if (test_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP)) in user_fastforward_single_step() 430 struct thread_info *ti = task_thread_info(task); in user_enable_single_step() 439 clear_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP); in user_disable_single_step()
|
D | process.c | 343 if (is_compat_thread(task_thread_info(p))) in copy_thread() 381 if (is_compat_thread(task_thread_info(next))) in tls_thread_switch() 393 if (task_thread_info(next)->addr_limit == KERNEL_DS) in uao_thread_switch()
|
/Linux-v4.19/arch/xtensa/kernel/ |
D | process.c | 130 coprocessor_release_all(task_thread_info(tsk)); in exit_thread() 155 coprocessor_flush_all(task_thread_info(src)); in arch_dup_task_struct() 284 ti = task_thread_info(p); in copy_thread()
|
/Linux-v4.19/include/linux/ |
D | sched.h | 1559 static inline struct thread_info *task_thread_info(struct task_struct *task) in task_thread_info() function 1564 # define task_thread_info(task) ((struct thread_info *)(task)->stack) macro 1626 set_ti_thread_flag(task_thread_info(tsk), flag); in set_tsk_thread_flag() 1631 clear_ti_thread_flag(task_thread_info(tsk), flag); in clear_tsk_thread_flag() 1637 update_ti_thread_flag(task_thread_info(tsk), flag, value); in update_tsk_thread_flag() 1642 return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); in test_and_set_tsk_thread_flag() 1647 return test_and_clear_ti_thread_flag(task_thread_info(tsk), flag); in test_and_clear_tsk_thread_flag() 1652 return test_ti_thread_flag(task_thread_info(tsk), flag); in test_tsk_thread_flag() 1732 return task_thread_info(p)->cpu; in task_cpu()
|