Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dprocessor.h146 unsigned long tp_value; /* TLS register */ member
179 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
194 __tls = &(t)->thread.uw.tp_value; \
198 #define task_user_tls(t) (&(t)->thread.uw.tp_value)
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H 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()
H A Dpm.c52 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
H A Dsyscall.c90 ti->tp_value = addr; in SYSCALL_DEFINE1()
H A Dtraps.c365 field, current_thread_info()->tp_value); in show_registers()
370 if (tls != current_thread_info()->tp_value) in show_registers()
654 regs->regs[rt] = ti->tp_value; in simulate_rdhwr()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dprocess.c399 current->thread.uw.tp_value = 0; in tls_thread_flush()
503 p->thread.uw.tp_value = tls; in copy_thread()
536 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch()
H A Dsys_compat.c92 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
H A Dptrace.c672 return membuf_store(&to, target->thread.uw.tp_value); in tls_get()
680 unsigned long tls = target->thread.uw.tp_value; in tls_set()
686 target->thread.uw.tp_value = tls; in tls_set()
1394 return membuf_store(&to, (compat_ulong_t)target->thread.uw.tp_value); in compat_tls_get()
1403 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set()
1409 target->thread.uw.tp_value = tls; in compat_tls_set()
1710 ret = put_user((compat_ulong_t)child->thread.uw.tp_value, in compat_arch_ptrace()
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H A Dsyscall.c12 ti->tp_value = addr; in SYSCALL_DEFINE1()
H A Dprocess.c63 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
H A 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()
H A Dasm-offsets.c30 DEFINE(TINFO_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dthread_info.h33 unsigned long tp_value; /* thread pointer */ member
/OK3568_Linux_fs/kernel/arch/m68k/kernel/
H 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()
H A Dprocess.c177 task_thread_info(p)->tp_value = tls; in copy_thread()
H A Dptrace.c261 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dprocess.c265 thread->tp_value[0] = tls; in copy_thread()
266 thread->tp_value[1] = get_tpuser(); in copy_thread()
H A Dtraps.c653 return current_thread_info()->tp_value[0]; in arm_syscall()
701 regs->uregs[reg] = current_thread_info()->tp_value[0]; in get_tp_trap()
H A Dasm-offsets.c52 DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); in main()
H A Dptrace.c809 ret = put_user(task_thread_info(child)->tp_value[0], in arch_ptrace()
/OK3568_Linux_fs/kernel/arch/csky/include/asm/
H A Dthread_info.h20 unsigned long tp_value; member
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dswitch_to.h137 write_c0_userlocal(task_thread_info(next)->tp_value); \
H A Dthread_info.h28 unsigned long tp_value; /* thread pointer */ member
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dthread_info.h59 unsigned long tp_value[2]; /* TLS registers */ member
H A Dtls.h64 thread->tp_value[0] = val; in set_tls()

12