Lines Matching defs:fevent
7312 dns_fetchevent_t *fevent;
7324 fevent = (dns_fetchevent_t *)event;
7332 if (fevent->node != NULL)
7333 dns_db_detachnode(fevent->db, &fevent->node);
7334 if (fevent->db != NULL)
7335 dns_db_detach(&fevent->db);
7342 * Note: fevent->rdataset must be disassociated and
7345 * 'fevent' is set to NULL so as to not have a dangling
7348 if (fevent->result == ISC_R_CANCELED) {
7349 if (dns_rdataset_isassociated(fevent->rdataset)) {
7350 dns_rdataset_disassociate(fevent->rdataset);
7352 fevent = NULL;
7357 } else if (fevent->result == ISC_R_SUCCESS) {
7364 dns_rdataset_clone(fevent->rdataset, &fctx->nameservers);
7369 if (dns_rdataset_isassociated(fevent->rdataset)) {
7370 dns_rdataset_disassociate(fevent->rdataset);
7372 fevent = NULL;
7403 if (dns_rdataset_isassociated(fevent->rdataset)) {
7404 dns_rdataset_disassociate(fevent->rdataset);
7406 fevent = NULL;
7426 if (dns_rdataset_isassociated(fevent->rdataset))
7427 dns_rdataset_disassociate(fevent->rdataset);
7428 fevent = NULL;
7441 * fevent->rdataset (a.k.a. fctx->nsrrset) must not be
7456 INSIST(fevent == NULL);
9084 dns_fetchevent_t *fevent;
9089 fevent = (dns_fetchevent_t *)event;
9110 if (fevent->result == ISC_R_SUCCESS &&
9117 if (fevent->node != NULL)
9118 dns_db_detachnode(fevent->db, &fevent->node);
9119 if (fevent->db != NULL)
9120 dns_db_detach(&fevent->db);
9121 if (dns_rdataset_isassociated(fevent->rdataset))
9122 dns_rdataset_disassociate(fevent->rdataset);
9123 INSIST(fevent->sigrdataset == NULL);
9125 isc_mem_put(res->mctx, fevent->rdataset, sizeof(*fevent->rdataset));
9476 dns_fetchevent_t *fevent;
9477 for (fevent = ISC_LIST_HEAD(fctx->events);
9478 fevent != NULL;
9479 fevent = ISC_LIST_NEXT(fevent, ev_link)) {
9480 if (fevent->client != NULL && fevent->id == id &&
9481 isc_sockaddr_equal(fevent->client, client)) {