Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm64/include/asm/
Dprocessor.h117 unsigned long tp_value; /* TLS register */ member
136 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
151 __tls = &(t)->thread.uw.tp_value; \
155 #define task_user_tls(t) (&(t)->thread.uw.tp_value)
/Linux-v4.19/arch/arm64/kernel/
Dprocess.c260 current->thread.uw.tp_value = 0; in tls_thread_flush()
354 p->thread.uw.tp_value = childregs->regs[3]; in copy_thread()
382 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
Dsys_compat.c93 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
Dptrace.c705 unsigned long *tls = &target->thread.uw.tp_value; in tls_get()
718 unsigned long tls = target->thread.uw.tp_value; in tls_set()
724 target->thread.uw.tp_value = tls; in tls_set()
1235 compat_ulong_t tls = (compat_ulong_t)target->thread.uw.tp_value; in compat_tls_get()
1245 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set()
1251 target->thread.uw.tp_value = tls; in compat_tls_set()
1542 ret = put_user((compat_ulong_t)child->thread.uw.tp_value, in compat_arch_ptrace()
/Linux-v4.19/arch/m68k/include/asm/
Dthread_info.h33 unsigned long tp_value; /* thread pointer */ member
/Linux-v4.19/arch/mips/kernel/
Dpm.c56 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
Dptrace32.c286 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
291 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
Dsyscall.c88 ti->tp_value = addr; in SYSCALL_DEFINE1()
Dtraps.c364 field, current_thread_info()->tp_value); in show_registers()
369 if (tls != current_thread_info()->tp_value) in show_registers()
653 regs->regs[rt] = ti->tp_value; in simulate_rdhwr()
Dprocess.c182 ti->tp_value = tls; in copy_thread_tls()
Dasm-offsets.c98 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines()
Dptrace.c1233 ret = put_user(task_thread_info(child)->tp_value, datalp); in arch_ptrace()
/Linux-v4.19/arch/mips/include/asm/
Dswitch_to.h131 write_c0_userlocal(task_thread_info(next)->tp_value); \
Dthread_info.h28 unsigned long tp_value; /* thread pointer */ member
/Linux-v4.19/arch/m68k/kernel/
Dsys_m68k.c559 return current_thread_info()->tp_value; in sys_get_thread_area()
564 current_thread_info()->tp_value = tp; in sys_set_thread_area()
Dprocess.c158 task_thread_info(p)->tp_value = frame->regs.d5; in copy_thread()
Dptrace.c262 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/Linux-v4.19/arch/arm/kernel/
Dprocess.c265 thread->tp_value[0] = childregs->ARM_r3; in copy_thread()
266 thread->tp_value[1] = get_tpuser(); in copy_thread()
Dtraps.c665 return current_thread_info()->tp_value[0]; in arm_syscall()
716 regs->uregs[reg] = current_thread_info()->tp_value[0]; in get_tp_trap()
Dasm-offsets.c65 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
Dptrace.c848 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace()
/Linux-v4.19/arch/arm/include/asm/
Dthread_info.h59 unsigned long tp_value[2]; /* TLS registers */ member
Dtls.h64 thread->tp_value[0] = val;