Lines Matching refs:rs_lock
56 (void) pthread_mutex_init(&sp->rs_lock, NULL); in snapshot_alloc()
70 (void) pthread_mutex_destroy(&sp->rs_lock); in snapshot_free()
92 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snapshot_hold()
95 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snapshot_hold()
102 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snapshot_rele()
107 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snapshot_rele()
117 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snaplevel_hold()
120 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snaplevel_hold()
128 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snaplevel_rele()
133 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snaplevel_rele()
220 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snapshot_get()
222 (void) pthread_cond_wait(&sp->rs_cv, &sp->rs_lock); in rc_snapshot_get()
225 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snapshot_get()
230 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snapshot_get()
254 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snapshot_get()
258 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snapshot_get()
262 (void) pthread_mutex_lock(&sp->rs_lock); in rc_snapshot_get()
266 (void) pthread_mutex_unlock(&sp->rs_lock); in rc_snapshot_get()