Home
last modified time | relevance | path

Searched refs:tp_value (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v6.6/arch/arm64/include/asm/
Dprocessor.h156 unsigned long tp_value; /* TLS register */ member
251 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
266 __tls = &(t)->thread.uw.tp_value; \
270 #define task_user_tls(t) (&(t)->thread.uw.tp_value)
/Linux-v6.6/arch/csky/kernel/
Dsyscall.c12 ti->tp_value = addr; in SYSCALL_DEFINE1()
Dprocess.c62 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
Dptrace.c84 regs->tls = task_thread_info(target)->tp_value; in gpr_get()
106 task_thread_info(target)->tp_value = regs.tls; in gpr_set()
Dasm-offsets.c28 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
/Linux-v6.6/arch/mips/kernel/
Dpm.c52 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
Dptrace32.c292 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()
Dsyscall.c90 ti->tp_value = addr; in SYSCALL_DEFINE1()
/Linux-v6.6/arch/m68k/include/asm/
Dthread_info.h31 unsigned long tp_value; /* thread pointer */ member
/Linux-v6.6/arch/arm64/kernel/
Dprocess.c256 current->thread.uw.tp_value = 0; in tls_thread_flush()
389 p->thread.uw.tp_value = tls; in copy_thread()
431 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
Dsys_compat.c91 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
Dptrace.c669 ret = membuf_store(&to, target->thread.uw.tp_value); in tls_get()
685 tls[0] = target->thread.uw.tp_value; in tls_set()
693 target->thread.uw.tp_value = tls[0]; in tls_set()
1752 return membuf_store(&to, (compat_ulong_t)target->thread.uw.tp_value); in compat_tls_get()
1761 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set()
1767 target->thread.uw.tp_value = tls; in compat_tls_set()
2068 ret = put_user((compat_ulong_t)child->thread.uw.tp_value, in compat_arch_ptrace()
/Linux-v6.6/arch/csky/include/asm/
Dthread_info.h18 unsigned long tp_value; member
/Linux-v6.6/arch/loongarch/include/asm/
Dthread_info.h27 unsigned long tp_value; /* thread pointer */ member
/Linux-v6.6/arch/mips/include/asm/
Dswitch_to.h137 write_c0_userlocal(task_thread_info(next)->tp_value); \
Dthread_info.h28 unsigned long tp_value; /* thread pointer */ member
/Linux-v6.6/arch/arm/kernel/
Dprocess.c272 thread->tp_value[0] = tls; in copy_thread()
273 thread->tp_value[1] = get_tpuser(); in copy_thread()
Dasm-offsets.c50 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
Dtraps.c658 return current_thread_info()->tp_value[0]; in arm_syscall()
706 regs->uregs[reg] = current_thread_info()->tp_value[0]; in get_tp_trap()
/Linux-v6.6/arch/m68k/kernel/
Dsys_m68k.c571 return current_thread_info()->tp_value; in sys_get_thread_area()
576 current_thread_info()->tp_value = tp; in sys_set_thread_area()
Dprocess.c179 task_thread_info(p)->tp_value = tls; in copy_thread()
Dptrace.c262 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/Linux-v6.6/arch/arm/include/asm/
Dthread_info.h70 unsigned long tp_value[2]; /* TLS registers */ member
Dtls.h79 thread->tp_value[0] = val;
/Linux-v6.6/arch/loongarch/kernel/
Dasm-offsets.c84 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines()

12