Lines Matching refs:thread
124 p->thread.ksp = ksp; in copy_thread()
127 p->thread.creator_pid = current->pid; in copy_thread()
136 p->thread.pc = (unsigned long) ret_from_kernel_thread; in copy_thread()
144 p->thread.pc = (unsigned long) ret_from_fork; in copy_thread()
172 p->thread.usp0 = childregs->sp; in copy_thread()
187 memset(&p->thread.tile_dma_state, 0, sizeof(struct tile_dma_state)); in copy_thread()
188 memset(&p->thread.dma_async_tlb, 0, sizeof(struct async_tlb)); in copy_thread()
192 p->thread.proc_status = 0; in copy_thread()
196 memset(&p->thread.hardwall[0], 0, in copy_thread()
205 save_arch_state(&p->thread); in copy_thread()
245 (tsk->thread.creator_pid << _SIM_CONTROL_OPERATOR_BITS)); in sim_notify_fork()
413 struct tile_dma_state *dma = ¤t->thread.tile_dma_state; in _prepare_arch_switch()
424 save_arch_state(&prev->thread); in _switch_to()
433 if (next->thread.tile_dma_state.enabled) { in _switch_to()
434 restore_tile_dma_state(&next->thread); in _switch_to()
442 restore_arch_state(&next->thread); in _switch_to()