Lines Matching refs:rms
219 dr_release_mem_sync_t rms;
228 bzero((void *) &rms, sizeof (rms));
230 mutex_init(&rms.lock, NULL, MUTEX_DRIVER, NULL);
231 cv_init(&rms.cond, NULL, CV_DRIVER, NULL);
233 mutex_enter(&rms.lock);
235 dr_mem_del_done, (void *) &rms);
238 while (!rms.done) {
239 if (cv_wait_sig(&rms.cond, &rms.lock) == 0) {
244 while (!rms.done)
245 cv_wait(&rms.cond, &rms.lock);
249 err = rms.error;
251 mutex_exit(&rms.lock);
253 cv_destroy(&rms.cond);
254 mutex_destroy(&rms.lock);