Lines Matching defs:find

71 setup_addresses(ns_lwdclient_t *client, dns_adbfind_t *find, unsigned int at) {
83 ai = ISC_LIST_HEAD(find->list);
177 * We must make certain the client->find is not still active.
181 if (client->find == client->v4find || client->find == client->v6find)
182 client->find = NULL;
184 if (client->find != NULL)
185 dns_adb_destroyfind(&client->find);
346 ns_lwdclient_log(50, "find done for task %p, client %p", task, client);
358 client->v4find = client->find;
362 client->v6find = client->find;
365 if (client->find != NULL) {
367 client->find = NULL;
369 dns_adb_destroyfind(&client->find);
377 * We probably don't need this find anymore. We're either going to
381 if ((client->find != client->v4find)
382 && (client->find != client->v6find)) {
383 dns_adb_destroyfind(&client->find);
385 client->find = NULL;
410 ns_lwdclient_log(50, "starting find for client %p", client);
413 * Issue a find for the name contained in the request. We won't
423 * and that we do not currently have a find pending. We will
432 INSIST(client->find == NULL);
440 &client->find);
447 dns_adb_destroyfind(&client->find);
459 ns_lwdclient_log(50, "find returned %d (%s)", result,
466 if (client->find != NULL)
467 dns_adb_destroyfind(&client->find);
479 && ((client->find->query_pending & DNS_ADBFIND_INET) == 0)) {
480 ns_lwdclient_log(50, "client %p ipv4 satisfied by find %p",
481 client, client->find);
483 client->v4find = client->find;
490 && ((client->find->query_pending & DNS_ADBFIND_INET6) == 0)) {
491 ns_lwdclient_log(50, "client %p ipv6 satisfied by find %p",
492 client, client->find);
494 client->v6find = client->find;
506 if ((client->find->options & DNS_ADBFIND_WANTEVENT) != 0) {
513 client->find = NULL;
515 dns_adb_destroyfind(&client->find);
641 * Start the find.