Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm64/include/asm/
Dprocessor.h81 unsigned long tp_value; /* TLS register */ member
98 __tls = &(t)->thread.tp_value; \
102 #define task_user_tls(t) (&(t)->thread.tp_value)
/linux-4.4.14/arch/arm64/kernel/
Dprocess.c214 current->thread.tp_value = 0; in tls_thread_flush()
279 p->thread.tp_value = childregs->regs[3]; in copy_thread()
303 next->thread.tp_value : 0; in tls_thread_switch()
Dsys_compat.c90 current->thread.tp_value = regs->regs[0]; in compat_arm_syscall()
Dptrace.c542 unsigned long *tls = &target->thread.tp_value; in tls_get()
557 target->thread.tp_value = tls; in tls_set()
839 compat_ulong_t tls = (compat_ulong_t)target->thread.tp_value; in compat_tls_get()
855 target->thread.tp_value = tls; in compat_tls_set()
1152 ret = put_user((compat_ulong_t)child->thread.tp_value, in compat_arch_ptrace()
/linux-4.4.14/arch/mips/kernel/
Dpm.c56 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
Dptrace32.c277 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
282 ret = put_user(task_thread_info(child)->tp_value, in compat_arch_ptrace()
Dsyscall.c92 ti->tp_value = addr; in SYSCALL_DEFINE1()
Dtraps.c356 field, current_thread_info()->tp_value); in show_registers()
361 if (tls != current_thread_info()->tp_value) in show_registers()
645 regs->regs[rt] = ti->tp_value; in simulate_rdhwr()
Dprocess.c173 ti->tp_value = regs->regs[7]; in copy_thread()
Dasm-offsets.c96 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines()
Dptrace.c868 ret = put_user(task_thread_info(child)->tp_value, datalp); in arch_ptrace()
/linux-4.4.14/arch/m68k/include/asm/
Dthread_info.h32 unsigned long tp_value; /* thread pointer */ member
/linux-4.4.14/arch/score/include/asm/
Dthread_info.h32 unsigned long tp_value; /* thread pointer */ member
/linux-4.4.14/arch/mips/include/asm/
Dswitch_to.h107 write_c0_userlocal(task_thread_info(next)->tp_value); \
Dthread_info.h27 unsigned long tp_value; /* thread pointer */ member
/linux-4.4.14/arch/arm/kernel/
Dprocess.c259 thread->tp_value[0] = childregs->ARM_r3; in copy_thread()
260 thread->tp_value[1] = get_tpuser(); in copy_thread()
Dasm-offsets.c74 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
Dtraps.c677 regs->uregs[reg] = current_thread_info()->tp_value[0]; in get_tp_trap()
Dptrace.c852 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace()
/linux-4.4.14/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.c168 task_thread_info(p)->tp_value = frame->regs.d5; in copy_thread()
Dptrace.c261 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/linux-4.4.14/arch/arm/include/asm/
Dthread_info.h59 unsigned long tp_value[2]; /* TLS registers */ member
Dtls.h63 thread->tp_value[0] = val;
/linux-4.4.14/arch/score/kernel/
Dasm-offsets.c104 OFFSET(TI_TP_VALUE, thread_info, tp_value); in output_thread_info_defines()