Lines Matching refs:rms
197 dr_release_mem_sync_t rms;
206 bzero((void *) &rms, sizeof (rms));
208 mutex_init(&rms.lock, NULL, MUTEX_DRIVER, NULL);
209 cv_init(&rms.cond, NULL, CV_DRIVER, NULL);
211 mutex_enter(&rms.lock);
213 (void *) &rms);
216 while (!rms.done) {
217 if (cv_wait_sig(&rms.cond, &rms.lock) == 0) {
222 while (!rms.done)
223 cv_wait(&rms.cond, &rms.lock);
227 err = rms.error;
229 mutex_exit(&rms.lock);
231 cv_destroy(&rms.cond);
232 mutex_destroy(&rms.lock);