Lines Matching refs:thread
20 * page in response to a call to mips_dsemul(). Each thread may be allocated
26 * the thread. In these cases the allocated frame will either be reused by
28 * upon thread exit.
54 * frame allocated to each thread, allowing us to clean it up at later
55 * points such as signal delivery or thread exit.
60 * to the thread, and must not allow the user to do anything they
134 /* If some thread is waiting for a frame, now's its chance */
157 fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE);
165 /* Free the frame that this thread had allocated */
183 fr_idx = atomic_read(¤t->thread.bd_emu_frame);
196 regs->cp0_epc = current->thread.bd_emu_branch_pc;
198 regs->cp0_epc = current->thread.bd_emu_cont_pc;
200 atomic_set(¤t->thread.bd_emu_frame, BD_EMUFRAME_NONE);
249 fr_idx = atomic_read(¤t->thread.bd_emu_frame);
285 current->thread.bd_emu_branch_pc = branch_pc;
286 current->thread.bd_emu_cont_pc = cont_pc;
287 atomic_set(¤t->thread.bd_emu_frame, fr_idx);
304 xcp->cp0_epc = current->thread.bd_emu_cont_pc;