Lines Matching refs:counterlock
65 * Locked by counterlock or unlocked if efficient rwlock is not
69 isc_rwlock_t counterlock;
115 result = isc_rwlock_init(&stats->counterlock, 0, 0);
181 isc_rwlock_destroy(&stats->counterlock);
204 isc_rwlock_lock(&stats->counterlock, isc_rwlocktype_read);
228 isc_rwlock_unlock(&stats->counterlock, isc_rwlocktype_read);
237 isc_rwlock_lock(&stats->counterlock, isc_rwlocktype_read);
254 isc_rwlock_unlock(&stats->counterlock, isc_rwlocktype_read);
267 isc_rwlock_lock(&stats->counterlock, isc_rwlocktype_write);
283 isc_rwlock_unlock(&stats->counterlock, isc_rwlocktype_write);