Lines Matching refs:fetch
201 dns_fetch_t *fetch;
932 dns_resolver_cancelfetch(name->fetch_a->fetch);
935 dns_resolver_cancelfetch(name->fetch_aaaa->fetch);
1503 f->fetch = NULL;
1513 free_adbfetch(dns_adb_t *adb, dns_adbfetch_t **fetch) {
1516 INSIST(fetch != NULL && DNS_ADBFETCH_VALID(*fetch));
1517 f = *fetch;
1518 *fetch = NULL;
1851 * will be unconditionally removed (unless they have an outstanding fetch).
2449 * If the result is neither of these, try a fetch for A.
2452 goto fetch;
2468 goto fetch;
2487 goto fetch;
2493 fetch:
2518 "dns_adb_createfind: started A fetch for name %p",
2530 "started AAAA fetch for name %p",
2963 fprintf(f, "\t\tFetch(%s): %p -> { fetch %p }\n",
2964 type, ft, ft->fetch);
3021 * any information, return success, or else a fetch
3125 dns_adbfetch_t *fetch;
3147 if (NAME_FETCH_A(name) && (name->fetch_a->fetch == dev->fetch)) {
3149 fetch = name->fetch_a;
3152 && (name->fetch_aaaa->fetch == dev->fetch)) {
3154 fetch = name->fetch_aaaa;
3157 fetch = NULL;
3159 INSIST(address_type != 0 && fetch != NULL);
3161 dns_resolver_destroyfetch(&fetch->fetch);
3162 dev->fetch = NULL;
3179 free_adbfetch(adb, &fetch);
3203 DP(NCACHE_LEVEL, "adb fetch name %p: "
3214 DP(NCACHE_LEVEL, "adb fetch name %p: "
3241 "adb fetch name %p: caching alias target",
3256 DP(DEF_LEVEL, "adb: fetch of '%s' %s failed: %s",
3275 result = import_rdataset(name, &fetch->rdataset, now);
3287 free_adbfetch(adb, &fetch);
3301 dns_adbfetch_t *fetch = NULL;
3338 fetch = new_adbfetch(adb);
3339 if (fetch == NULL) {
3347 adbname, &fetch->rdataset, NULL,
3348 &fetch->fetch);
3353 adbname->fetch_a = fetch;
3356 adbname->fetch_aaaa = fetch;
3359 fetch = NULL; /* Keep us from cleaning this up below. */
3362 if (fetch != NULL)
3363 free_adbfetch(adb, &fetch);