Lines Matching defs:ver
739 static isc_result_t update_one_rr(dns_db_t *db, dns_dbversion_t *ver,
816 static isc_result_t delete_nsec(dns_db_t *db, dns_dbversion_t *ver,
3768 create_keydata(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
3820 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADD,
3849 delete_keydata(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
3860 uresult = update_one_rr(db, ver, diff, DNS_DIFFOP_DEL,
4023 do_one_tuple(dns_difftuple_t **tuple, dns_db_t *db, dns_dbversion_t *ver,
4038 result = dns_diff_apply(&temp_diff, db, ver);
4057 update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
4067 return (do_one_tuple(&tuple, db, ver, diff));
4071 update_soa_serial(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
4080 CHECK(dns_db_createsoatuple(db, ver, mctx, DNS_DIFFOP_DEL, &deltuple));
4087 CHECK(do_one_tuple(&deltuple, db, ver, diff));
4088 CHECK(do_one_tuple(&addtuple, db, ver, diff));
4147 dns_dbversion_t *ver = NULL;
4153 result = dns_db_newversion(db, &ver);
4171 result = update_one_rr(db, ver, &diff, DNS_DIFFOP_ADD,
4176 if (ver != NULL)
4177 dns_db_closeversion(db, &ver, ISC_TF(result == ISC_R_SUCCESS));
4179 INSIST(ver == NULL);
4186 dns_dbversion_t *ver;
4196 dns_dbversion_t *ver = ((struct addifmissing_arg *)arg)->ver;
4217 result = dns_db_find(db, keyname, ver,
4225 result = create_keydata(zone, db, ver, diff, keytable,
4248 dns_dbversion_t *ver = NULL;
4259 result = dns_db_newversion(db, &ver);
4274 dns_rriterator_init(&rrit, db, ver, 0);
4297 CHECK(delete_keydata(db, ver, &diff,
4314 arg.ver = ver;
4323 CHECK(update_soa_serial(db, ver, &diff, zone->mctx,
4344 if (ver != NULL)
4345 dns_db_closeversion(db, &ver, commit);
4348 INSIST(ver == NULL);
6025 find_zone_keys(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
6035 result = dns_dnssec_findzonekeys3(db, ver, node, dns_db_origin(db),
6047 offline(dns_db_t *db, dns_dbversion_t *ver, zonediff_t *zonediff,
6054 result = update_one_rr(db, ver, zonediff->diff, DNS_DIFFOP_DELRESIGN,
6059 result = update_one_rr(db, ver, zonediff->diff, DNS_DIFFOP_ADDRESIGN,
6155 del_sigs(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
6177 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_rrsig, type,
6202 result = update_one_rr(db, ver, zonediff->diff,
6220 result = offline(db, ver, zonediff,
6285 result = offline(db, ver, zonediff,
6290 result = update_one_rr(db, ver, zonediff->diff,
6303 result = update_one_rr(db, ver, zonediff->diff,
6333 add_sigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
6358 result = dns_db_findrdataset(db, node, ver, type, 0,
6421 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADDRESIGN,
7034 fixup_nsec3param(dns_db_t *db, dns_dbversion_t *ver, dns_nsec3chain_t *chain,
7053 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec3param,
7085 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_DEL,
7099 result = dns_nsec_nseconly(db, ver, &nseconly);
7105 result = dns_db_findrdataset(db, node, ver, privatetype,
7135 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_DEL,
7160 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADD, name, ttl, &rdata));
7170 delete_nsec(dns_db_t *db, dns_dbversion_t *ver, dns_dbnode_t *node,
7178 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec,
7190 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_DEL, name,
7201 deletematchingnsec3(dns_db_t *db, dns_dbversion_t *ver, dns_dbnode_t *node,
7210 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec3,
7229 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_DEL, name,
7240 need_nsec_chain(dns_db_t *db, dns_dbversion_t *ver,
7257 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec,
7269 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec3param,
8914 minimal_update(dns_keyfetch_t *kfetch, dns_dbversion_t *ver, dns_diff_t *diff)
8935 CHECK(update_one_rr(kfetch->db, ver, diff, DNS_DIFFOP_DEL,
8954 CHECK(update_one_rr(kfetch->db, ver, diff, DNS_DIFFOP_ADD,
9043 dns_dbversion_t *ver = NULL;
9096 CHECK(dns_db_newversion(kfetch->db, &ver));
9114 CHECK(minimal_update(kfetch, ver, &diff));
9123 CHECK(minimal_update(kfetch, ver, &diff));
9283 CHECK(update_one_rr(kfetch->db, ver, &diff,
9298 CHECK(update_one_rr(kfetch->db, ver, &diff,
9498 CHECK(update_one_rr(kfetch->db, ver, &diff,
9512 CHECK(update_one_rr(kfetch->db, ver, &diff,
9531 CHECK(update_one_rr(kfetch->db, ver, &diff,
9565 CHECK(update_soa_serial(kfetch->db, ver, &diff, mctx,
9588 if (ver != NULL)
9589 dns_db_closeversion(kfetch->db, &ver, commit);
9617 INSIST(ver == NULL);
9630 dns_dbversion_t *ver = NULL;
9656 CHECK(dns_db_newversion(db, &ver));
9660 dns_rriterator_init(&rrit, db, ver, 0);
9689 CHECK(update_one_rr(db, ver, &diff,
9774 CHECK(update_soa_serial(db, ver, &diff, zone->mctx,
9804 if (ver != NULL) {
9806 dns_db_closeversion(db, &ver, commit);
9812 INSIST(ver == NULL);
14805 dns_dbversion_t *ver;
14847 ver = NULL;
14848 dns_db_currentversion(db, &ver);
14863 result = dns_db_getsoaserial(db, ver, &serial);
14894 result = dns_db_diff(zone->mctx, db, ver, zone->db, NULL,
14975 dns_db_closeversion(db, &ver, ISC_FALSE);
14987 dns_db_closeversion(db, &ver, ISC_FALSE);
17432 rr_exists(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
17444 result = dns_db_findrdataset(db, node, ver, rdata->type, 0,
17479 dns_dbversion_t *ver, dns_diff_t *diff,
17520 CHECK(rr_exists(db, ver, name, &rdata, &flag));
17525 CHECK(do_one_tuple(&newtuple, db, ver, diff));
17534 CHECK(rr_exists(db, ver, name, &rdata, &flag));
17538 CHECK(do_one_tuple(&newtuple, db, ver, diff));
17547 sign_apex(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
17557 result = find_zone_keys(zone, db, ver, now, zone->mctx,
17586 result = del_sigs(zone, db, ver, &zone->origin,
17595 result = add_sigs(db, ver, &zone->origin, dns_rdatatype_dnskey,
17607 result = update_sigs(diff, db, ver, zone_keys, nkeys, zone,
17630 dnskey_sane(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
17657 result = dns_nsec_nseconly(db, ver, &nseconly);
17665 CHECK(dns_nsec3_activex(db, ver, ISC_FALSE,
17682 clean_nsec3param(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
17692 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_dnskey,
17699 result = dns_nsec3param_deletechains(db, ver, zone, ISC_TRUE, diff);
17738 add_chains(dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver,
17746 CHECK(dns_private_chains(db, ver, zone->privatetype, NULL,
17749 CHECK(dns_nsec3_addnsec3sx(db, ver, origin, zone->minimum,
17751 CHECK(updatesecure(db, ver, origin, zone->minimum, ISC_TRUE, diff));
17762 dns_dbversion_t *ver = NULL;
17797 CHECK(dns_db_newversion(db, &ver));
17806 CHECK(dns_db_findrdataset(db, node, ver, dns_rdatatype_soa,
17812 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_dnskey,
17826 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_cds,
17832 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_cdnskey,
17911 dnskey_sane(zone, db, ver, &diff)) {
17912 CHECK(dns_diff_apply(&diff, db, ver));
17913 CHECK(clean_nsec3param(zone, db, ver, &diff));
17915 ver, &diff,
17917 CHECK(update_soa_serial(db, ver, &diff, mctx,
17919 CHECK(add_chains(zone, db, ver, &diff));
17920 CHECK(sign_apex(zone, db, ver, now, &diff, &zonediff));
17927 dns_db_closeversion(db, &ver, ISC_TRUE);
18101 if (ver != NULL)
18102 dns_db_closeversion(db, &ver, ISC_FALSE);
18118 INSIST(ver == NULL);