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
131 /* If some thread is waiting for a frame, now's its chance */
154 fr_idx = atomic_xchg(&tsk->thread.bd_emu_frame, BD_EMUFRAME_NONE);
162 /* Free the frame that this thread had allocated */
180 fr_idx = atomic_read(¤t->thread.bd_emu_frame);
193 regs->cp0_epc = current->thread.bd_emu_branch_pc;
195 regs->cp0_epc = current->thread.bd_emu_cont_pc;
197 atomic_set(¤t->thread.bd_emu_frame, BD_EMUFRAME_NONE);
246 fr_idx = atomic_read(¤t->thread.bd_emu_frame);
282 current->thread.bd_emu_branch_pc = branch_pc;
283 current->thread.bd_emu_cont_pc = cont_pc;
284 atomic_set(¤t->thread.bd_emu_frame, fr_idx);
301 xcp->cp0_epc = current->thread.bd_emu_cont_pc;