Lines Matching refs:badcache
408 dns_badcache_t ** badcache;
445 isc_boolean_t badcache);
2590 fctx_getaddresses(fetchctx_t *fctx, isc_boolean_t badcache) {
2815 if (badcache &&
3045 fctx_try(fetchctx_t *fctx, isc_boolean_t retrying, isc_boolean_t badcache) {
3063 result = fctx_getaddresses(fctx, badcache);
7154 if (res->badcache != NULL) {
7156 for (bad = res->badcache[i]; bad != NULL;
7163 isc_mem_put(res->mctx, res->badcache,
7164 sizeof(*res->badcache) * res->badhash);
7165 res->badcache = NULL;
7331 res->badcache = NULL;
8166 if (resolver->badcache == NULL)
8177 for (bad = resolver->badcache[i]; bad != NULL; bad = next) {
8183 resolver->badcache[i] = bad->next;
8212 sizeof(*resolver->badcache) * newsize);
8215 memset(new, 0, sizeof(*resolver->badcache) * newsize);
8217 for (bad = resolver->badcache[i]; bad != NULL; bad = next) {
8229 isc_mem_put(resolver->mctx, resolver->badcache,
8230 sizeof(*resolver->badcache) * resolver->badhash);
8232 resolver->badcache = new;
8247 if (resolver->badcache == NULL) {
8248 resolver->badcache = isc_mem_get(resolver->mctx,
8249 sizeof(*resolver->badcache) *
8251 if (resolver->badcache == NULL)
8254 memset(resolver->badcache, 0, sizeof(*resolver->badcache) *
8264 for (bad = resolver->badcache[i]; bad != NULL; bad = next) {
8270 resolver->badcache[i] = bad->next;
8290 bad->next = resolver->badcache[i];
8291 resolver->badcache[i] = bad;
8315 if (resolver->badcache == NULL)
8320 for (bad = resolver->badcache[i]; bad != NULL; bad = next) {
8329 resolver->badcache[i] = bad->next;
8346 bad = resolver->badcache[i];
8348 resolver->badcache[i] = bad->next;
8371 if (resolver->badcache == NULL)
8377 for (bad = resolver->badcache[i]; bad != NULL; bad = next) {
8383 resolver->badcache[i] = bad->next;