/Linux-v5.4/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-v5.4/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))) { \ 72 task_thread_info(current)->last_cpu = task_cpu(current); \
|
/Linux-v5.4/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-v5.4/arch/arc/kernel/ |
D | process.c | 25 task_thread_info(current)->thr_ptr = (unsigned int)user_tls_data_ptr; in SYSCALL_DEFINE1() 41 return task_thread_info(current)->thr_ptr; in SYSCALL_DEFINE0() 234 task_thread_info(p)->thr_ptr = regs->r3; in copy_thread() 237 task_thread_info(p)->thr_ptr = in copy_thread() 238 task_thread_info(current)->thr_ptr; in copy_thread() 249 c_callee->r25 = task_thread_info(p)->thr_ptr; in copy_thread()
|
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/arch/sparc/kernel/ |
D | ptrace_64.c | 377 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_get() 384 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_get() 410 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get() 411 gsr = task_thread_info(target)->gsr[0]; in fpregs64_get() 444 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_set() 456 task_thread_info(target)->xfsr, in fpregs64_set() 461 task_thread_info(target)->gsr, in fpregs64_set() 465 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set() 474 task_thread_info(target)->fpsaved[0] = fprs; in fpregs64_set() 755 const unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs32_get() [all …]
|
/Linux-v5.4/arch/mips/include/asm/ |
D | switch_to.h | 54 struct thread_info *__prev_ti = task_thread_info(prev); \ 135 write_c0_userlocal(task_thread_info(next)->tp_value); \ 137 (last) = resume(prev, next, task_thread_info(next)); \
|
/Linux-v5.4/arch/unicore32/include/asm/ |
D | thread_info.h | 99 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 101 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 103 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
|
D | switch_to.h | 23 last = __switch_to(prev, task_thread_info(prev), \ 24 task_thread_info(next)); \
|
/Linux-v5.4/arch/microblaze/include/asm/ |
D | switch_to.h | 20 (last) = _switch_to(task_thread_info(prev), \ 21 task_thread_info(next)); \
|
/Linux-v5.4/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()
|
/Linux-v5.4/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-v5.4/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() 328 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs() 340 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs() 610 &task_thread_info(target)->fpstate, in fpa_get() 619 struct thread_info *thread = task_thread_info(target); in fpa_set() 657 struct thread_info *thread = task_thread_info(target); in vfp_get() 694 struct thread_info *thread = task_thread_info(target); in vfp_set() 838 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace() 843 task_thread_info(child)->syscall = data; in arch_ptrace()
|
/Linux-v5.4/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-v5.4/arch/xtensa/kernel/ |
D | process.c | 132 coprocessor_release_all(task_thread_info(tsk)); in exit_thread() 157 coprocessor_flush_all(task_thread_info(src)); in arch_dup_task_struct() 286 ti = task_thread_info(p); in copy_thread()
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | preempt.h | 22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 26 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
|
/Linux-v5.4/arch/arm64/kernel/ |
D | ssbd.c | 17 u64 val = is_compat_thread(task_thread_info(task)) ? in ssbd_ssbs_enable() 25 u64 val = is_compat_thread(task_thread_info(task)) ? in ssbd_ssbs_disable()
|
D | debug-monitors.c | 396 if (test_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP)) in user_rewind_single_step() 403 if (test_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP)) in user_fastforward_single_step() 435 struct thread_info *ti = task_thread_info(task); in user_enable_single_step() 444 clear_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP); in user_disable_single_step()
|