Lines Matching refs:memscrub_lock
152 static kmutex_t memscrub_lock;
155 * memscrub_lock protects memscrub_memlist
193 mutex_init(&memscrub_lock, NULL, MUTEX_DRIVER, NULL);
236 mutex_enter(&memscrub_lock);
238 mutex_exit(&memscrub_lock);
273 CALLB_CPR_INIT(&cprinfo, &memscrub_lock, callb_generic_cpr, "memscrub");
290 mutex_enter(&memscrub_lock);
335 cv_wait(&memscrub_cv, &memscrub_lock);
338 CALLB_CPR_SAFE_END(&cprinfo, &memscrub_lock);
340 mutex_exit(&memscrub_lock);
349 mutex_enter(&memscrub_lock);
372 mutex_exit(&memscrub_lock);
411 * We are about to bail, but don't have the memscrub_lock,
414 mutex_enter(&memscrub_lock);
465 mutex_enter(&memscrub_lock);
555 mutex_exit(&memscrub_lock);