Lines Matching refs:tio_mutex
54 static mutex_t tio_mutex; variable
80 (void) mutex_destroy(&tio_mutex); in fini_tio_data()
98 (void) mutex_init(&tio_mutex, USYNC_THREAD, 0); in init_tio_data()
137 (void) mutex_lock(&tio_mutex); in write_to_cd()
141 (void) cond_wait(&tio_cond, &tio_mutex); in write_to_cd()
146 (void) mutex_unlock(&tio_mutex); in write_to_cd()
184 (void) mutex_unlock(&tio_mutex); in write_to_cd()
188 (void) mutex_unlock(&tio_mutex); in write_to_cd()
195 (void) mutex_lock(&tio_mutex); in write_to_cd()
201 (void) mutex_unlock(&tio_mutex); in write_to_cd()
205 (void) mutex_lock(&tio_mutex); in write_to_cd()
208 (void) mutex_unlock(&tio_mutex); in write_to_cd()
402 (void) mutex_lock(&tio_mutex); in write_track()
417 (void) cond_wait(&tio_cond, &tio_mutex); in write_track()
420 (void) mutex_unlock(&tio_mutex); in write_track()
429 (void) mutex_unlock(&tio_mutex); in write_track()
442 (void) mutex_unlock(&tio_mutex); in write_track()
507 (void) mutex_lock(&tio_mutex); in write_track()
514 (void) mutex_unlock(&tio_mutex); in write_track()
519 (void) mutex_lock(&tio_mutex); in write_track()
523 (void) cond_wait(&tio_cond, &tio_mutex); in write_track()
533 (void) mutex_unlock(&tio_mutex); in write_track()
549 (void) mutex_unlock(&tio_mutex); in write_track()
564 (void) mutex_lock(&tio_mutex); in write_track()
567 (void) mutex_unlock(&tio_mutex); in write_track()