Lines Matching refs:lock
63 mutex_t *lock;
77 mutex_t *lock;
84 if ((lock = calloc(1, sizeof (*lock))) == NULL) {
106 q->lock = lock;
127 (void) mutex_lock(q->lock);
137 (void) mutex_unlock(q->lock);
156 (void) mutex_lock(q->lock);
162 (void) mutex_unlock(q->lock);
201 (void) mutex_lock(q->lock);
210 err = cond_timedwait(q->wait, q->lock, to);
212 err = cond_wait(q->wait, q->lock);
215 (void) mutex_unlock(q->lock);
223 (void) mutex_unlock(q->lock);
257 (void) mutex_destroy(q->lock);
259 free(q->lock);