Lines Matching refs:spc_mutex
153 if (spc->spc_mutex != NULL) {
165 spc->spc_mutex = mutex_obj_alloc(MUTEX_DEFAULT, IPL_SCHED);
182 * Put an LWP onto a run queue. The LWP must be locked by spc_mutex for
195 KASSERT(lwp_locked(l, l->l_cpu->ci_schedstate.spc_mutex));
267 KASSERT(lwp_locked(l, spc->spc_mutex));
317 * will be for concurrency reasons, spc_mutex will be dropped before return.
328 KASSERT(mutex_owned(spc->spc_mutex));
412 * specified, and ideally it will be for concurrency reasons, spc_mutex will
420 KASSERT(lwp_locked(l, ci->ci_schedstate.spc_mutex));
700 lwp_unlock_to(l, curspc->spc_mutex);
759 } else if (!mutex_tryenter(tspc->spc_mutex)) {
774 lwp_setlock(l, tspc->spc_mutex);