/linux-6.6.21/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 | 240 struct thread_info *childti = task_thread_info(p); in copy_thread() 334 dump_elf_thread(dest, task_pt_regs(task), task_thread_info(task)); in dump_elf_task() 341 memcpy(fpu, task_thread_info(t)->fp, 32 * 8); in elf_core_copy_task_fpregs() 363 unsigned long fp, sp = task_thread_info(t)->pcb.ksp; in thread_saved_pc() 392 schedule_frame = ((unsigned long *)task_thread_info(p)->pcb.ksp)[6]; in __get_wchan()
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | thread_info.h | 58 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) macro 62 #define task_thread_info(tsk) ((struct thread_info *) 0) macro 70 *task_thread_info(p) = *task_thread_info(org); \ 71 task_thread_info(p)->ac_stime = 0; \ 72 task_thread_info(p)->ac_utime = 0; \ 73 task_thread_info(p)->task = (p); 76 *task_thread_info(p) = *task_thread_info(org); \ 77 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); \
|
/linux-6.6.21/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() 191 task_thread_info(p)->ksp = (unsigned long)c_callee; /* THREAD_INFO_KSP */ in copy_thread() 228 task_thread_info(p)->thr_ptr = tls; in copy_thread() 231 task_thread_info(p)->thr_ptr = in copy_thread() 232 task_thread_info(current)->thr_ptr; in copy_thread() 243 c_callee->r25 = task_thread_info(p)->thr_ptr; in copy_thread()
|
/linux-6.6.21/include/linux/sched/ |
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-6.6.21/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 | 90 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc)) 92 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp)) 96 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp)) 99 ((unsigned long)(task_thread_info(tsk)->cpu_context.r7))
|
D | switch_to.h | 32 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
/linux-6.6.21/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()
|
/linux-6.6.21/include/linux/ |
D | thread_info.h | 146 read_ti_thread_flags(task_thread_info(t)) 157 set_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work) 159 test_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work) 161 clear_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work) 173 set_ti_thread_flag(task_thread_info(t), TIF_##fl) 175 test_ti_thread_flag(task_thread_info(t), TIF_##fl) 177 clear_ti_thread_flag(task_thread_info(t), TIF_##fl)
|
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-6.6.21/arch/ia64/kernel/ |
D | time.c | 71 struct thread_info *ti = task_thread_info(tsk); in vtime_flush() 113 struct thread_info *pi = task_thread_info(prev); in arch_vtime_task_switch() 114 struct thread_info *ni = task_thread_info(current); in arch_vtime_task_switch() 126 struct thread_info *ti = task_thread_info(tsk); in vtime_delta() 140 struct thread_info *ti = task_thread_info(tsk); in vtime_account_kernel() 152 struct thread_info *ti = task_thread_info(tsk); in vtime_account_idle() 159 struct thread_info *ti = task_thread_info(tsk); in vtime_account_softirq() 166 struct thread_info *ti = task_thread_info(tsk); in vtime_account_hardirq()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | ptrace_64.c | 345 struct thread_info *t = task_thread_info(target); in fpregs64_get() 376 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs64_set() 388 task_thread_info(target)->xfsr, in fpregs64_set() 393 task_thread_info(target)->gsr, in fpregs64_set() 397 fprs = task_thread_info(target)->fpsaved[0]; in fpregs64_set() 406 task_thread_info(target)->fpsaved[0] = fprs; in fpregs64_set() 680 struct thread_info *t = task_thread_info(target); in fpregs32_get() 703 unsigned long *fpregs = task_thread_info(target)->fpregs; in fpregs32_set() 710 fprs = task_thread_info(target)->fpsaved[0]; in fpregs32_set() 728 val = task_thread_info(target)->xfsr[0]; in fpregs32_set() [all …]
|
/linux-6.6.21/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() 82 if (is_compat_thread(task_thread_info(task))) in syscall_get_arch()
|
D | preempt.h | 23 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 27 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/microblaze/include/asm/ |
D | switch_to.h | 17 (last) = _switch_to(task_thread_info(prev), \ 18 task_thread_info(next)); \
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | switch_to_64.h | 26 task_thread_info(next); \ 57 : "0" (task_thread_info(next)), \
|
/linux-6.6.21/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()
|
/linux-6.6.21/include/asm-generic/ |
D | preempt.h | 28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 32 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \
|
/linux-6.6.21/arch/arm/kernel/ |
D | ptrace.c | 296 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() 310 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() 576 return membuf_write(&to, &task_thread_info(target)->fpstate, in fpa_get() 585 struct thread_info *thread = task_thread_info(target); in fpa_set() 615 struct thread_info *thread = task_thread_info(target); in vfp_get() 637 struct thread_info *thread = task_thread_info(target); in vfp_set() 779 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace() 786 task_thread_info(child)->abi_syscall = data; in arch_ptrace()
|