Lines Matching defs:fetch

198 	dns_fetch_t                    *fetch;
1312 dns_resolver_cancelfetch(name->fetch_a->fetch);
1315 dns_resolver_cancelfetch(name->fetch_aaaa->fetch);
1942 f->fetch = NULL;
1952 free_adbfetch(dns_adb_t *adb, dns_adbfetch_t **fetch) {
1955 INSIST(fetch != NULL && DNS_ADBFETCH_VALID(*fetch));
1956 f = *fetch;
1957 *fetch = NULL;
2329 * will be unconditionally removed (unless they have an outstanding fetch).
3118 * If the result is neither of these, try a fetch for A.
3121 goto fetch;
3137 goto fetch;
3156 goto fetch;
3162 fetch:
3187 "started A fetch for name %s (%p)",
3198 "started AAAA fetch for name %s (%p)",
3654 fprintf(f, "\t\tFetch(%s): %p -> { fetch %p }\n",
3655 type, ft, ft->fetch);
3722 * any information, return success, or else a fetch
3826 dns_adbfetch_t *fetch;
3848 if (NAME_FETCH_A(name) && (name->fetch_a->fetch == dev->fetch)) {
3850 fetch = name->fetch_a;
3853 && (name->fetch_aaaa->fetch == dev->fetch)) {
3855 fetch = name->fetch_aaaa;
3858 fetch = NULL;
3860 INSIST(address_type != 0 && fetch != NULL);
3862 dns_resolver_destroyfetch(&fetch->fetch);
3863 dev->fetch = NULL;
3880 free_adbfetch(adb, &fetch);
3904 DP(NCACHE_LEVEL, "adb fetch name %p: "
3915 DP(NCACHE_LEVEL, "adb fetch name %p: "
3942 "adb fetch name %p: caching alias target",
3957 DP(DEF_LEVEL, "adb: fetch of '%s' %s failed: %s",
3962 * fetch of a chain.
3964 if (fetch->depth > 1)
3982 result = import_rdataset(name, &fetch->rdataset, now);
3994 free_adbfetch(adb, &fetch);
4007 dns_adbfetch_t *fetch = NULL;
4044 fetch = new_adbfetch(adb);
4045 if (fetch == NULL) {
4049 fetch->depth = depth;
4055 &fetch->rdataset, NULL,
4056 &fetch->fetch);
4061 adbname->fetch_a = fetch;
4064 adbname->fetch_aaaa = fetch;
4067 fetch = NULL; /* Keep us from cleaning this up below. */
4070 if (fetch != NULL)
4071 free_adbfetch(adb, &fetch);