/linux-6.1.9/arch/arm64/include/asm/ |
D | processor.h | 150 unsigned long tp_value; /* TLS register */ member 244 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist() 259 __tls = &(t)->thread.uw.tp_value; \ 263 #define task_user_tls(t) (&(t)->thread.uw.tp_value)
|
/linux-6.1.9/arch/mips/kernel/ |
D | pm.c | 52 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
|
D | ptrace32.c | 292 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace() 297 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
|
D | syscall.c | 90 ti->tp_value = addr; in SYSCALL_DEFINE1()
|
/linux-6.1.9/arch/csky/kernel/ |
D | syscall.c | 12 ti->tp_value = addr; in SYSCALL_DEFINE1()
|
D | process.c | 61 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
|
D | ptrace.c | 84 regs->tls = task_thread_info(target)->tp_value; in gpr_get() 106 task_thread_info(target)->tp_value = regs.tls; in gpr_set()
|
D | asm-offsets.c | 28 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
|
/linux-6.1.9/arch/m68k/include/asm/ |
D | thread_info.h | 31 unsigned long tp_value; /* thread pointer */ member
|
/linux-6.1.9/arch/arm64/kernel/ |
D | process.c | 256 current->thread.uw.tp_value = 0; in tls_thread_flush() 386 p->thread.uw.tp_value = tls; in copy_thread() 428 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
|
D | sys_compat.c | 91 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
|
D | ptrace.c | 674 ret = membuf_store(&to, target->thread.uw.tp_value); in tls_get() 690 tls[0] = target->thread.uw.tp_value; in tls_set() 698 target->thread.uw.tp_value = tls[0]; in tls_set() 1686 return membuf_store(&to, (compat_ulong_t)target->thread.uw.tp_value); in compat_tls_get() 1695 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set() 1701 target->thread.uw.tp_value = tls; in compat_tls_set() 2002 ret = put_user((compat_ulong_t)child->thread.uw.tp_value, in compat_arch_ptrace()
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | thread_info.h | 27 unsigned long tp_value; /* thread pointer */ member
|
/linux-6.1.9/arch/csky/include/asm/ |
D | thread_info.h | 18 unsigned long tp_value; member
|
/linux-6.1.9/arch/mips/include/asm/ |
D | switch_to.h | 137 write_c0_userlocal(task_thread_info(next)->tp_value); \
|
D | thread_info.h | 28 unsigned long tp_value; /* thread pointer */ member
|
/linux-6.1.9/arch/arm/kernel/ |
D | process.c | 274 thread->tp_value[0] = tls; in copy_thread() 275 thread->tp_value[1] = get_tpuser(); in copy_thread()
|
D | asm-offsets.c | 51 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
|
D | traps.c | 655 return current_thread_info()->tp_value[0]; in arm_syscall() 703 regs->uregs[reg] = current_thread_info()->tp_value[0]; in get_tp_trap()
|
/linux-6.1.9/arch/m68k/kernel/ |
D | sys_m68k.c | 569 return current_thread_info()->tp_value; in sys_get_thread_area() 574 current_thread_info()->tp_value = tp; in sys_set_thread_area()
|
D | process.c | 178 task_thread_info(p)->tp_value = tls; in copy_thread()
|
D | ptrace.c | 262 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | thread_info.h | 70 unsigned long tp_value[2]; /* TLS registers */ member
|
D | tls.h | 79 thread->tp_value[0] = val; in set_tls()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | asm-offsets.c | 80 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines()
|