Home
last modified time | relevance | path

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

12

/linux/arch/arm64/include/asm/
A Dprocessor.h148 unsigned long tp_value; /* TLS register */ member
221 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
236 __tls = &(t)->thread.uw.tp_value; \
240 #define task_user_tls(t) (&(t)->thread.uw.tp_value)
/linux/arch/arm64/kernel/
A Dprocess.c254 current->thread.uw.tp_value = 0; in tls_thread_flush()
358 p->thread.uw.tp_value = tls; in copy_thread()
396 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
A Dsys_compat.c92 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
A Dptrace.c673 return membuf_store(&to, target->thread.uw.tp_value); in tls_get()
681 unsigned long tls = target->thread.uw.tp_value; in tls_set()
687 target->thread.uw.tp_value = tls; in tls_set()
1400 return membuf_store(&to, (compat_ulong_t)target->thread.uw.tp_value); in compat_tls_get()
1409 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set()
1415 target->thread.uw.tp_value = tls; in compat_tls_set()
1716 ret = put_user((compat_ulong_t)child->thread.uw.tp_value, in compat_arch_ptrace()
/linux/arch/mips/kernel/
A 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()
A Dpm.c52 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
A Dsyscall.c90 ti->tp_value = addr; in SYSCALL_DEFINE1()
A Dtraps.c378 field, current_thread_info()->tp_value); in show_registers()
383 if (tls != current_thread_info()->tp_value) in show_registers()
663 regs->regs[rt] = ti->tp_value; in simulate_rdhwr()
/linux/arch/csky/kernel/
A Dsyscall.c12 ti->tp_value = addr; in SYSCALL_DEFINE1()
A Dprocess.c63 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
A Dptrace.c85 regs->tls = task_thread_info(target)->tp_value; in gpr_get()
107 task_thread_info(target)->tp_value = regs.tls; in gpr_set()
A Dasm-offsets.c29 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
/linux/arch/m68k/include/asm/
A Dthread_info.h31 unsigned long tp_value; /* thread pointer */ member
/linux/arch/csky/include/asm/
A Dthread_info.h18 unsigned long tp_value; member
/linux/arch/arm/kernel/
A Dprocess.c271 thread->tp_value[0] = tls; in copy_thread()
272 thread->tp_value[1] = get_tpuser(); in copy_thread()
A Dtraps.c638 return current_thread_info()->tp_value[0]; in arm_syscall()
686 regs->uregs[reg] = current_thread_info()->tp_value[0]; in get_tp_trap()
A Dasm-offsets.c54 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
A Dptrace.c784 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace()
/linux/arch/m68k/kernel/
A Dsys_m68k.c569 return current_thread_info()->tp_value; in sys_get_thread_area()
574 current_thread_info()->tp_value = tp; in sys_set_thread_area()
A Dprocess.c177 task_thread_info(p)->tp_value = tls; in copy_thread()
A Dptrace.c261 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/linux/arch/mips/include/asm/
A Dswitch_to.h137 write_c0_userlocal(task_thread_info(next)->tp_value); \
A Dthread_info.h28 unsigned long tp_value; /* thread pointer */ member
/linux/arch/arm/include/asm/
A Dthread_info.h65 unsigned long tp_value[2]; /* TLS registers */ member
A Dtls.h68 thread->tp_value[0] = val;

Completed in 37 milliseconds

12