Lines Matching refs:lock
142 (void) pthread_rwlock_destroy(&cp->lock);
157 if (pthread_rwlock_init(&cp->lock, NULL) != 0) {
319 * config, grab the write lock and
322 (void) pthread_rwlock_wrlock(&cp->lock);
324 (void) pthread_rwlock_unlock(&cp->lock);
328 (void) pthread_rwlock_unlock(&cp->lock);
332 (void) pthread_rwlock_rdlock(&cp->lock);
347 (void) pthread_rwlock_rdlock(&cp->lock);
358 if (pthread_rwlock_trywrlock(&lru->lock) == 0) {
366 (void) pthread_rwlock_unlock(&lru->lock);
374 (void) pthread_rwlock_rdlock(&cp->lock);
396 (void) pthread_rwlock_unlock(&cp->lock);