Lines Matching defs:entrylocks
185 isc_rwlock_t *entrylocks;
187 isc_mutex_t *entrylocks;
312 ACACHE_LOCK(&acache->entrylocks[entry->locknum],
327 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],
449 ACACHE_DESTROYLOCK(&acache->entrylocks[i]);
450 isc_mem_put(acache->mctx, acache->entrylocks,
451 sizeof(*acache->entrylocks) *
845 ACACHE_LOCK(&acache->entrylocks[entry->locknum],
859 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],
1081 acache->entrylocks = NULL;
1101 acache->entrylocks = isc_mem_get(mctx, sizeof(*acache->entrylocks) *
1103 if (acache->entrylocks == NULL) {
1108 result = ACACHE_INITLOCK(&acache->entrylocks[i]);
1111 ACACHE_DESTROYLOCK(&acache->entrylocks[i]);
1112 isc_mem_put(mctx, acache->entrylocks,
1113 sizeof(*acache->entrylocks) *
1115 acache->entrylocks = NULL;
1139 if (acache->entrylocks != NULL) {
1141 ACACHE_DESTROYLOCK(&acache->entrylocks[i]);
1142 isc_mem_put(mctx, acache->entrylocks,
1143 sizeof(*acache->entrylocks) *
1311 ACACHE_LOCK(&acache->entrylocks[entry->locknum],
1327 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],
1334 ACACHE_LOCK(&acache->entrylocks[entry->locknum],
1346 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],
1467 ACACHE_LOCK(&acache->entrylocks[locknum], isc_rwlocktype_read);
1497 ACACHE_UNLOCK(&acache->entrylocks[locknum],
1517 ACACHE_UNLOCK(&acache->entrylocks[locknum], isc_rwlocktype_read);
1554 ACACHE_LOCK(&acache->entrylocks[entry->locknum], isc_rwlocktype_write);
1646 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],
1657 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],
1676 ACACHE_LOCK(&acache->entrylocks[entry->locknum], isc_rwlocktype_write);
1692 ACACHE_UNLOCK(&acache->entrylocks[entry->locknum],