Lines Matching refs:curlwp
187 struct lwp *l = curlwp; in tsleep()
213 struct lwp *l = curlwp; in mtsleep()
246 struct lwp *l = curlwp; in kpause()
291 struct lwp *l = curlwp; in yield()
316 struct lwp *l = curlwp; in preempt()
338 lwp_t *l = curlwp; in preempt_needed()
378 l = curlwp; in kpreempt()
472 const lwp_t *l = curlwp; in kpreempt_disabled()
486 KPREEMPT_DISABLE(curlwp); in kpreempt_disable()
496 KPREEMPT_ENABLE(curlwp); in kpreempt_enable()
627 KASSERTMSG(l == curlwp, "l %p curlwp %p", l, curlwp); in mi_switch()
808 KASSERT(curlwp == ci->ci_curlwp); in mi_switch()
810 KASSERTMSG(l == curlwp, "l %p curlwp %p", l, curlwp); in mi_switch()
814 KASSERT(curlwp == ci->ci_curlwp); in mi_switch()
816 KASSERTMSG(l == curlwp, "l %p curlwp %p prevlwp %p", in mi_switch()
817 l, curlwp, prevlwp); in mi_switch()
872 KASSERT(l == curlwp); in mi_switch()
994 if (l == curlwp) in suspendsched()