Lines Matching defs:li

1771 	dns_adblameinfo_t *li;
1773 li = isc_mempool_get(adb->limp);
1774 if (li == NULL)
1777 dns_name_init(&li->qname, NULL);
1778 if (dns_name_dup(qname, adb->mctx, &li->qname) != ISC_R_SUCCESS) {
1779 isc_mempool_put(adb->limp, li);
1782 li->magic = DNS_ADBLAMEINFO_MAGIC;
1783 li->lame_timer = 0;
1784 li->qtype = qtype;
1785 ISC_LINK_INIT(li, plink);
1787 return (li);
1792 dns_adblameinfo_t *li;
1795 li = *lameinfo;
1798 INSIST(!ISC_LINK_LINKED(li, plink));
1800 dns_name_free(&li->qname, adb->mctx);
1802 li->magic = 0;
1804 isc_mempool_put(adb->limp, li);
1862 dns_adblameinfo_t *li;
1877 li = ISC_LIST_HEAD(e->lameinfo);
1878 while (li != NULL) {
1879 ISC_LIST_UNLINK(e->lameinfo, li, plink);
1880 free_adblameinfo(adb, &li);
1881 li = ISC_LIST_HEAD(e->lameinfo);
2121 dns_adblameinfo_t *li, *next_li;
2126 li = ISC_LIST_HEAD(entry->lameinfo);
2127 if (li == NULL)
2129 while (li != NULL) {
2130 next_li = ISC_LIST_NEXT(li, plink);
2135 if (li->lame_timer < now) {
2136 ISC_LIST_UNLINK(entry->lameinfo, li, plink);
2137 free_adblameinfo(adb, &li);
2146 if (li != NULL && !is_bad && li->qtype == qtype &&
2147 dns_name_equal(qname, &li->qname))
2150 li = next_li;
3531 dns_adblameinfo_t *li;
3561 for (li = ISC_LIST_HEAD(entry->lameinfo);
3562 li != NULL;
3563 li = ISC_LIST_NEXT(li, plink))
3566 print_dns_name(f, &li->qname);
3567 dns_rdatatype_format(li->qtype, typebuf, sizeof(typebuf));
3569 li->lame_timer - now);
4086 dns_adblameinfo_t *li;
4096 li = ISC_LIST_HEAD(addr->entry->lameinfo);
4097 while (li != NULL &&
4098 (li->qtype != qtype || !dns_name_equal(qname, &li->qname)))
4099 li = ISC_LIST_NEXT(li, plink);
4100 if (li != NULL) {
4101 if (expire_time > li->lame_timer)
4102 li->lame_timer = expire_time;
4105 li = new_adblameinfo(adb, qname, qtype);
4106 if (li == NULL) {
4111 li->lame_timer = expire_time;
4113 ISC_LIST_PREPEND(addr->entry->lameinfo, li, plink);