Lines Matching defs:fetch

118 				      "fetch %p (fctx %p(%s)): %s", \
119 fetch, fetch->private, \
120 fetch->private->info, (m))
353 isc_result_t result; /*%< fetch result */
413 #define DNS_FETCH_VALID(fetch) ISC_MAGIC_VALID(fetch, DNS_FETCH_MAGIC)
1333 * Keep some record of fetch result for logging later (if required).
1843 /* Inform the ADB that we're starting a fetch */
2794 * The fetch is waiting for a name to be found.
2828 FCTXTRACE("fetch failed in finddone(); return ISC_R_FAILURE");
3991 * the control event to tell the fetch we want it to
4039 * fetch, and clean up finds and addresses. To avoid deadlock
4138 * All is well. Start working on the fetch.
4160 dns_fetch_t *fetch)
4169 * sender field. We'll make the fetch the sender when we actually
4187 event->fetch = fetch;
4203 fetch->magic = DNS_FETCH_MAGIC;
4204 fetch->private = fctx;
4439 * Compute an expiration time for the entire fetch.
4459 * Create an inactive timer. It will be made active when the fetch
5056 * rdatasets to the first event on the fetch
5908 * cache rdataset (because no fetch is interested
7290 * No one cares about the result of this fetch anymore.
7443 * another thread concurrently processing the fetch.
7765 * it for this fetch again. Also adjust finish and
8190 * fetch.
9085 dns_fetch_t *fetch;
9104 fetch = res->primefetch;
9128 dns_resolver_destroyfetch(&fetch);
9155 * start the priming fetch like any other fetch, and holding
9332 * Don't match fetch contexts that are shutting down.
9361 "fetch: %s/%s", namebuf, typebuf);
9412 dns_fetch_t *fetch;
9444 fetch = isc_mem_get(res->mctx, sizeof(*fetch));
9445 if (fetch == NULL)
9447 fetch->mctx = NULL;
9448 isc_mem_attach(res->mctx, &fetch->mctx);
9508 rdataset, sigrdataset, fetch);
9538 *fetchp = fetch;
9540 isc_mem_putanddetach(&fetch->mctx, fetch, sizeof(*fetch));
9546 dns_resolver_cancelfetch(dns_fetch_t *fetch) {
9552 REQUIRE(DNS_FETCH_VALID(fetch));
9553 fctx = fetch->private;
9562 * Find the completion event for this fetch (as opposed
9572 if (event->fetch == fetch) {
9594 dns_fetch_t *fetch;
9602 fetch = *fetchp;
9603 REQUIRE(DNS_FETCH_VALID(fetch));
9604 fctx = fetch->private;
9615 * trying to destroy the fetch.
9623 RUNTIME_CHECK(event->fetch != fetch);
9631 isc_mem_putanddetach(&fetch->mctx, fetch, sizeof(*fetch));
9639 dns_resolver_logfetch(dns_fetch_t *fetch, isc_log_t *lctx,
9647 REQUIRE(DNS_FETCH_VALID(fetch));
9648 fctx = fetch->private;
9658 "fetch completed at %s:%d for %s in "