Lines Matching refs:rms
2417 sbd_release_mem_sync_t rms;
2432 bzero((void *) &rms, sizeof (rms));
2434 mutex_init(&rms.lock, NULL, MUTEX_DRIVER, NULL);
2435 cv_init(&rms.cond, NULL, CV_DRIVER, NULL);
2437 mutex_enter(&rms.lock);
2438 err = kphysm_del_start(mh, sbd_release_memory_done, (void *) &rms);
2441 while (!rms.done) {
2444 cv_wait(&rms.cond, &rms.lock);
2445 } else if (cv_wait_sig(&rms.cond, &rms.lock) == 0) {
2452 err = rms.error;
2457 mutex_exit(&rms.lock);
2459 cv_destroy(&rms.cond);
2460 mutex_destroy(&rms.lock);