Lines Matching defs:ai
1556 dns_adbaddrinfo_t *ai;
1558 ai = isc_mempool_get(adb->aimp);
1559 if (ai == NULL)
1562 ai->magic = DNS_ADBADDRINFO_MAGIC;
1563 ai->sockaddr = entry->sockaddr;
1564 isc_sockaddr_setport(&ai->sockaddr, port);
1565 ai->srtt = entry->srtt;
1566 ai->flags = entry->flags;
1567 ai->entry = entry;
1568 ISC_LINK_INIT(ai, publink);
1570 return (ai);
1575 dns_adbaddrinfo_t *ai;
1578 ai = *ainfo;
1581 INSIST(ai->entry == NULL);
1582 INSIST(!ISC_LINK_LINKED(ai, publink));
1584 ai->magic = 0;
1586 isc_mempool_put(adb->aimp, ai);
2624 dns_adbaddrinfo_t *ai;
2653 ai = ISC_LIST_HEAD(find->list);
2654 while (ai != NULL) {
2655 ISC_LIST_UNLINK(find->list, ai, publink);
2656 entry = ai->entry;
2657 ai->entry = NULL;
2661 free_adbaddrinfo(adb, &ai);
2662 ai = ISC_LIST_HEAD(find->list);
2887 dns_adbaddrinfo_t *ai;
2904 ai = ISC_LIST_HEAD(find->list);
2905 if (ai != NULL)
2907 while (ai != NULL) {
2908 sa = &ai->sockaddr;
2927 ai->entry, ai->flags, ai->srtt, tmpp);
2929 ai = ISC_LIST_NEXT(ai, publink);