Searched refs:memscrub_lock (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | memscrub.c | 152 static kmutex_t memscrub_lock; variable 193 mutex_init(&memscrub_lock, NULL, MUTEX_DRIVER, NULL); in memscrub_init() 236 mutex_enter(&memscrub_lock); in memscrub_wakeup() 238 mutex_exit(&memscrub_lock); in memscrub_wakeup() 273 CALLB_CPR_INIT(&cprinfo, &memscrub_lock, callb_generic_cpr, "memscrub"); in memscrubber() 290 mutex_enter(&memscrub_lock); in memscrubber() 335 cv_wait(&memscrub_cv, &memscrub_lock); in memscrubber() 338 CALLB_CPR_SAFE_END(&cprinfo, &memscrub_lock); in memscrubber() 340 mutex_exit(&memscrub_lock); in memscrubber() 349 mutex_enter(&memscrub_lock); in memscrubber() [all …]
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | memscrub.c | 235 static kmutex_t memscrub_lock; variable 318 mutex_init(&memscrub_lock, NULL, MUTEX_DRIVER, NULL); in memscrub_init() 378 mutex_destroy(&memscrub_lock); in memscrub_cleanup() 404 mutex_enter(&memscrub_lock); in memscrub_wakeup() 406 mutex_exit(&memscrub_lock); in memscrub_wakeup() 447 ASSERT(mutex_owned(&memscrub_lock)); in compute_interval_ticks() 475 CALLB_CPR_INIT(&cprinfo, &memscrub_lock, callb_generic_cpr, "memscrub"); in memscrubber() 477 mutex_enter(&memscrub_lock); in memscrubber() 567 cv_wait(&memscrub_cv, &memscrub_lock); in memscrubber() 579 CALLB_CPR_SAFE_END(&cprinfo, &memscrub_lock); in memscrubber() [all …]
|