Lines Matching refs:CPU
197 * caller's CPU to continue to perform useful work in the interim. Service
198 * routines may also be called early in boot as part of slave CPU startup
204 * lock to be acquired recursively by the owning CPU after disabling preemption.
209 * If the current CPU is an "adult" (determined by testing cpu_m.mutex_ready),
212 * we drop the lock and prom_holdcnt returns to zero. If the current CPU is
213 * an adult and the lock is held by another adult CPU, we can safely sleep
216 * from above LOCK_LEVEL on any adult CPU. Finally, if recursive entry is
217 * attempted on an adult CPU, we must also verify that curthread matches the
219 * threads do not step on other threads running on the same CPU.
231 * If a CPU is determined to be in the PROM when the debugger is entered,
233 * entry when the given CPU returns from the PROM. That CPU is then released by
243 * Load the current CPU pointer and examine the mutex_ready bit.
247 * that we are running on a CPU in this set, since a call to
259 * Disable premption, and reload the current CPU. We
264 cp = CPU;
327 * Drop the prom lock if it is held by the current CPU. If the lock is held
329 * zero, clear prom_cpu and cv_signal any waiting CPU.
349 return; /* prom lock is held recursively by this CPU */
370 * another CPU executing code to manipulate the device does not execute at the