Lines Matching refs:thread
221 current->thread.tp_value = 0; in tls_thread_flush()
257 unsigned long tls = p->thread.tp_value; in copy_thread()
259 memset(&p->thread.cpu_context, 0, sizeof(struct cpu_context)); in copy_thread()
289 p->thread.cpu_context.x19 = stack_start; in copy_thread()
290 p->thread.cpu_context.x20 = stk_sz; in copy_thread()
292 p->thread.cpu_context.pc = (unsigned long)ret_from_fork; in copy_thread()
293 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread()
294 p->thread.tp_value = tls; in copy_thread()
307 current->thread.tp_value = tpidr; in tls_thread_switch()
312 tpidrro = next->thread.tp_value; in tls_thread_switch()
314 tpidr = next->thread.tp_value; in tls_thread_switch()