Lines Matching refs:memscrub_lock
98 * are executing. This ensures "memscrub_lock" will be released,
235 static kmutex_t memscrub_lock;
237 * memscrub_lock protects memscrub_memlist, interval_ticks, cprinfo, ...
263 * memscrub_lock, which is held during set and clear.
318 mutex_init(&memscrub_lock, NULL, MUTEX_DRIVER, NULL);
378 mutex_destroy(&memscrub_lock);
404 mutex_enter(&memscrub_lock);
406 mutex_exit(&memscrub_lock);
447 ASSERT(mutex_owned(&memscrub_lock));
475 CALLB_CPR_INIT(&cprinfo, &memscrub_lock, callb_generic_cpr, "memscrub");
477 mutex_enter(&memscrub_lock);
500 * can acquire memscrub_lock.
567 cv_wait(&memscrub_cv, &memscrub_lock);
579 CALLB_CPR_SAFE_END(&cprinfo, &memscrub_lock);
670 ASSERT(mutex_owned(&memscrub_lock));
736 mutex_enter(&memscrub_lock);
753 mutex_exit(&memscrub_lock);
914 mutex_enter(&memscrub_lock);
1037 mutex_exit(&memscrub_lock);
1054 ASSERT(mutex_owned(&memscrub_lock));
1234 mutex_enter(&memscrub_lock);
1237 mutex_exit(&memscrub_lock);
1383 mutex_enter(&memscrub_lock);
1391 mutex_exit(&memscrub_lock);
1413 * thread to acquire memscrub_lock in new_memscrub(). The use of
1449 * thread to acquire memscrub_lock in new_memscrub(). The use of