Lines Matching defs:ver
229 dns_dbversion_t *ver;
403 * Update a single RR in version 'ver' of 'db' and log the
411 do_one_tuple(dns_difftuple_t **tuple, dns_db_t *db, dns_dbversion_t *ver,
426 result = dns_diff_apply(&temp_diff, db, ver);
445 * Perform the updates in 'updates' in version 'ver' of 'db' and log the
452 do_diff(dns_diff_t *updates, dns_db_t *db, dns_dbversion_t *ver,
459 CHECK(do_one_tuple(&t, db, ver, diff));
469 update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
479 return (do_one_tuple(&tuple, db, ver, diff));
545 * For each rdataset of 'name' in 'ver' of 'db', call 'action'
552 foreach_rrset(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
569 dns_clientinfo_init(&ci, NULL, (ver != oldver) ? ver : NULL);
580 result = dns_db_allrdatasets(db, node, ver,
613 * For each RR of 'name' in 'ver' of 'db', call 'action'
621 foreach_node_rr(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
627 return (foreach_rrset(db, ver, name,
633 * For each of the RRs specified by 'db', 'ver', 'name', 'type',
642 foreach_rr(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
662 dns_clientinfo_init(&ci, NULL, (ver != oldver) ? ver : NULL);
666 return (foreach_node_rr(db, ver, name,
682 result = dns_db_findrdataset(db, node, ver, type, covers,
769 rrset_exists(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
774 result = foreach_rr(db, ver, name, type, covers,
800 cname_incompatible_rrset_exists(dns_db_t *db, dns_dbversion_t *ver,
803 result = foreach_rrset(db, ver, name,
820 * Count the number of RRs of 'type' belonging to 'name' in 'ver' of 'db'.
823 rr_count(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
827 return (foreach_rr(db, ver, name, type, covers,
846 name_exists(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
850 result = foreach_rrset(db, ver, name,
900 ssu_checkall(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
913 result = foreach_rrset(db, ver, name, ssu_checkrule, &ssuinfo);
1005 dns_dbversion_t *ver, dns_name_t *tmpname, dns_rdatatype_t *typep)
1063 result = dns_db_findrdataset(db, node, ver, type,
1152 dns_dbversion_t *ver;
1289 result = update_one_rr(ctx->db, ctx->ver, ctx->diff,
1300 * specified by 'db', 'ver', 'name', and 'type' (which can
1306 delete_if(rr_predicate *predicate, dns_db_t *db, dns_dbversion_t *ver,
1313 ctx.ver = ver;
1317 return (foreach_rr(db, ver, name, type, covers,
1418 * Increment the SOA serial number of database 'db', version 'ver'.
1430 update_soa_serial(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
1438 CHECK(dns_db_createsoatuple(db, ver, mctx, DNS_DIFFOP_DEL, &deltuple));
1445 CHECK(do_one_tuple(&deltuple, db, ver, diff));
1446 CHECK(do_one_tuple(&addtuple, db, ver, diff));
1478 check_soa_increment(dns_db_t *db, dns_dbversion_t *ver,
1487 result = dns_db_getsoaserial(db, ver, &db_serial);
1795 rr_exists(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
1807 result = dns_db_findrdataset(db, node, ver, rdata->type, 0,
1838 get_iterations(dns_db_t *db, dns_dbversion_t *ver, dns_rdatatype_t privatetype,
1852 result = dns_db_findrdataset(db, node, ver, dns_rdatatype_nsec3param,
1879 result = dns_db_findrdataset(db, node, ver, privatetype,
1924 dns_dbversion_t *ver, dns_diff_t *diff)
1955 result = dns_nsec_nseconly(db, ver, &nseconly);
1970 CHECK(dns_nsec3_activex(db, ver, ISC_FALSE,
1982 CHECK(get_iterations(db, ver, privatetype, &iterations));
1983 CHECK(dns_nsec3_maxiterations(db, ver, client->mctx, &max));
2001 dns_dbversion_t *ver, dns_diff_t *diff)
2115 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2178 result = dns_nsec_nseconly(db, ver, &nseconly);
2185 CHECK(rr_exists(db, ver, name, &rdata, &flag));
2192 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2201 CHECK(rr_exists(db, ver, name, &rdata, &flag));
2208 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2219 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2241 CHECK(rr_exists(db, ver, name, &rdata, &flag));
2244 CHECK(rr_exists(db, ver, name, &rdata, &flag));
2250 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2254 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2268 dns_dbversion_t *ver, dns_diff_t *diff)
2316 CHECK(do_one_tuple(&newtuple, db, ver, &temp_diff));
2331 dns_dbversion_t *ver, dns_diff_t *diff)
2438 CHECK(rr_exists(db, ver, name, &rdata, &flag));
2443 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2450 CHECK(rr_exists(db, ver, name, &rdata, &flag));
2454 CHECK(do_one_tuple(&newtuple, db, ver, diff));
2465 isdnssec(dns_db_t *db, dns_dbversion_t *ver, dns_rdatatype_t privatetype) {
2472 result = dns_private_chains(db, ver, privatetype,
2486 dns_dbversion_t *ver = NULL;
2529 CHECK(dns_db_newversion(db, &ver));
2562 CHECK(name_exists(db, ver, name, &flag));
2570 CHECK(rrset_exists(db, ver, name,
2585 CHECK(name_exists(db, ver, name, &flag));
2593 CHECK(rrset_exists(db, ver, name,
2638 result = temp_check(mctx, &temp, db, ver, tmpname, &type);
2753 if (!ssu_checkall(db, ver, name, ssutable,
2820 CHECK(cname_incompatible_rrset_exists(db, ver,
2832 CHECK(rrset_exists(db, ver, name,
2847 CHECK(rrset_exists(db, ver, name,
2857 CHECK(check_soa_increment(db, ver, &rdata,
2950 ctx.ver = ver;
2959 CHECK(foreach_rr(db, ver, name, rdata.type,
2967 result = do_diff(&ctx.del_diff, db, ver,
2971 db, ver,
2979 CHECK(update_one_rr(db, ver, &diff,
2999 db, ver, name,
3004 db, ver, name,
3031 CHECK(delete_if(true_p, db, ver, name,
3053 CHECK(rr_count(db, ver, name,
3071 CHECK(delete_if(rr_equal_p, db, ver, name, rdata.type,
3084 CHECK(check_dnssec(client, zone, db, ver, &diff));
3088 CHECK(dns_zone_nscheck(zone, db, ver, &errors));
3098 result = dns_zone_cdscheck(zone, db, ver);
3126 CHECK(update_soa_serial(db, ver, &diff, mctx,
3130 CHECK(check_mx(client, zone, db, ver, &diff));
3132 CHECK(remove_orphaned_ds(db, ver, &diff));
3134 CHECK(rrset_exists(db, ver, zonename, dns_rdatatype_dnskey,
3154 CHECK(rollback_private(db, privatetype, ver, &diff));
3156 CHECK(add_signing_records(db, privatetype, ver, &diff));
3158 CHECK(add_nsec3param_records(client, zone, db, ver, &diff));
3167 CHECK(dns_nsec3param_deletechains(db, ver, zone,
3169 } else if (has_dnskey && isdnssec(db, ver, privatetype)) {
3177 ver, &diff, interval);
3190 result = dns_db_getsize(db, ver, &records, NULL);
3230 dns_db_closeversion(db, &ver, ISC_TRUE);
3311 dns_db_closeversion(db, &ver, ISC_TRUE);
3320 if (ver != NULL) {
3323 dns_db_closeversion(db, &ver, ISC_FALSE);
3347 INSIST(ver == NULL);