Lines Matching refs:reaplock
91 kmutex_t reaplock; /* protects lwp and thread deathrows */
175 mutex_init(&reaplock, NULL, MUTEX_SPIN, (void *)ipltospl(DISP_LEVEL));
824 ASSERT(MUTEX_HELD(&reaplock));
857 mutex_enter(&reaplock);
863 mutex_exit(&reaplock);
905 CALLB_CPR_INIT(&cprinfo, &reaplock, callb_generic_cpr, "t_reaper");
907 mutex_enter(&reaplock);
910 cv_wait(&reaper_cv, &reaplock);
911 CALLB_CPR_SAFE_END(&cprinfo, &reaplock);
925 mutex_exit(&reaplock);
957 * that is reapable. The thread already holds the reaplock, and was already
964 ASSERT(MUTEX_HELD(&reaplock));
980 mutex_enter(&reaplock);
1025 mutex_exit(&reaplock);