Lines Matching refs:entry

294 	dns_acacheentry_t               *entry;
1211 * Sanity check: since an additional cache entry has a reference to
1216 INSIST(array[i].entry == NULL && array[i].cbarg == NULL);
4555 * We've found a negative cache entry.
4647 * We found a negative cache entry.
5320 * We found a negative cache entry.
5535 * We're adding a negative cache entry.
5541 * If we're adding an negative cache entry
5547 * node is the negative cache entry.
5567 * negative cache entry. Look for an extant
5569 * cache entry. If we're adding an RRSIG, also
5571 * entry which covers the same type as the RRSIG.
5605 * ncache entry.
7360 * to the first entry in the offset table.
8294 dns_acacheentry_t *entry;
8332 if (acarray[count].entry == NULL) {
8338 entry = NULL;
8339 dns_acache_attachentry(acarray[count].entry, &entry);
8343 result = dns_acache_getentry(entry, zonep, dbp, versionp,
8346 dns_acache_detachentry(&entry);
8352 acache_callback(dns_acacheentry_t *entry, void **arg) {
8364 * The caller must hold the entry lock.
8385 if (acarray != NULL && acarray[count].entry == entry) {
8386 acarray[count].entry = NULL;
8390 dns_acache_detachentry(&entry);
8402 acache_cancelentry(isc_mem_t *mctx, dns_acacheentry_t *entry,
8408 REQUIRE(entry != NULL);
8413 if (dns_acache_cancelentry(entry)) {
8470 /* Set cache data in the new entry. */
8503 acarray[i].entry = NULL;
8518 if (acarray[count].entry != NULL) {
8520 * Swap the entry. Delay cleaning-up the old entry since
8523 oldentry = acarray[count].entry;
8527 acarray[count].entry = newentry;
8568 dns_acacheentry_t *entry;
8584 entry = NULL;
8605 entry = acarray[count].entry;
8606 if (entry == NULL) {
8611 acarray[count].entry = NULL;
8617 if (entry != NULL) {
8619 acache_cancelentry(rbtdb->common.mctx, entry, &cbarg);
8620 dns_acache_detachentry(&entry);
8631 * See if a given cache entry that is being reused needs to be updated
8637 * function returns true if the entry has not been updated for some period of
8674 * Update the timestamp of a given cache entry and move it to the head
8699 * entry, and we specifically avoid purging entries in the same LRU bucket as
8700 * the one to which the new entry will belong. Otherwise, we might purge
8730 * Unlink the entry at this point to avoid checking it
8732 * cannot be purged at this moment. This entry won't be