Lines Matching defs:dev
3122 dns_fetchevent_t *dev;
3136 dev = (dns_fetchevent_t *)ev;
3147 if (NAME_FETCH_A(name) && (name->fetch_a->fetch == dev->fetch)) {
3152 && (name->fetch_aaaa->fetch == dev->fetch)) {
3162 dev->fetch = NULL;
3169 if (dev->node != NULL)
3170 dns_db_detachnode(dev->db, &dev->node);
3171 if (dev->db != NULL)
3172 dns_db_detach(&dev->db);
3200 if (NCACHE_RESULT(dev->result)) {
3201 dev->rdataset->ttl = ttlclamp(dev->rdataset->ttl);
3205 name, dev->rdataset->ttl);
3207 dev->rdataset->ttl + now);
3208 if (dev->result == DNS_R_NCACHENXDOMAIN)
3216 name, dev->rdataset->ttl);
3218 dev->rdataset->ttl + now);
3219 if (dev->result == DNS_R_NCACHENXDOMAIN)
3231 if (dev->result == DNS_R_CNAME || dev->result == DNS_R_DNAME) {
3232 dev->rdataset->ttl = ttlclamp(dev->rdataset->ttl);
3236 dns_fixedname_name(&dev->foundname),
3237 dev->rdataset,
3243 name->expire_target = dev->rdataset->ttl + now;
3252 if (dev->result != ISC_R_SUCCESS) {
3258 dns_result_totext(dev->result));