Lines Matching defs:gdb
145 static dns_db_t *gdb; /* The database */
204 result = dns_master_dumpnodetostream(mctx, gdb, gversion, node,
210 result = dns_db_allrdatasets(gdb, node, gversion, 0, &iter);
432 result = dns_db_find(gdb, name, gversion, dns_rdatatype_dnskey, options,
496 result = dns_db_findrdataset(gdb, node, gversion, dns_rdatatype_rrsig,
857 result = dns_db_findnode(gdb, wild, ISC_FALSE, &node);
859 dns_db_detachnode(gdb, &node);
1024 result = dns_db_findrdataset(gdb, node, gversion, dns_rdatatype_ds,
1050 if (is_delegation(gdb, gversion, gorigin, name, node, NULL))
1059 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
1097 result = dns_diff_applysilently(&del, gdb, gversion);
1102 result = dns_diff_applysilently(&add, gdb, gversion);
1127 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
1154 result = dns_db_deleterdataset(gdb, node, gversion,
1167 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter2);
1183 result = dns_db_deleterdataset(gdb, node,
1205 result = dns_db_deleterdataset(gdb, node,
1239 result = dns_db_find(gdb, gorigin, gversion, dns_rdatatype_soa,
1268 result = dns_db_getoriginnode(gdb, &node);
1274 result = dns_db_findrdataset(gdb, node, gversion,
1314 result = dns_db_deleterdataset(gdb, node, gversion,
1320 result = dns_db_addrdataset(gdb, node, gversion,
1329 dns_db_detachnode(gdb, &node);
1382 result = dns_db_createiterator(gdb, 0, &gdbiter);
1414 cleannode(gdb, gversion, node);
1415 dns_db_detachnode(gdb, &node);
1468 dns_db_detachnode(gdb, &node);
1480 result = dns_db_findrdataset(gdb, node, gversion,
1491 if (is_delegation(gdb, gversion, gorigin, name, node, NULL)) {
1505 dns_db_detachnode(gdb, &node);
1561 cleannode(gdb, gversion, sevent->node);
1562 dns_db_detachnode(gdb, &sevent->node);
1604 result = dns_db_findrdataset(gdb, node, gversion,
1609 result = dns_db_deleterdataset(gdb, node, gversion,
1616 result = dns_db_addrdataset(gdb, node, gversion, 0,
1623 result = dns_db_deleterdataset(gdb, node, gversion,
1648 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
1666 result = dns_db_deleterdataset(gdb, node, gversion,
1690 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
1712 result = dns_db_deleterdataset(gdb, node, gversion,
1746 result = dns_db_createiterator(gdb, DNS_DB_NSEC3ONLY, &dbiter);
1753 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
1762 result = dns_db_deleterdataset(gdb, node, gversion,
1768 dns_db_detachnode(gdb, &node);
1772 result = dns_db_createiterator(gdb, DNS_DB_NONSEC3, &dbiter);
1790 dns_db_detachnode(gdb, &node);
1801 if (is_delegation(gdb, gversion, gorigin, name, node, &nsttl)) {
1818 dns_db_detachnode(gdb, &nextnode);
1829 dns_db_detachnode(gdb, &nextnode);
1833 dns_db_detachnode(gdb, &nextnode);
1843 result = dns_nsec_build(gdb, gversion, node, nextname,
1846 dns_db_detachnode(gdb, &node);
1889 result = dns_db_findnode(gdb, gorigin, ISC_TRUE, &node);
1895 result = dns_db_deleterdataset(gdb, node, gversion,
1901 result = dns_db_addrdataset(gdb, node, gversion, 0, &rdataset,
1906 dns_db_detachnode(gdb, &node);
1938 result = dns_nsec3_buildrdata(gdb, gversion, node,
1953 result = dns_db_findnsec3node(gdb, dns_fixedname_name(&hashname),
1956 result = dns_db_addrdataset(gdb, nsec3node, gversion, 0, &rdataset,
1961 dns_db_detachnode(gdb, &nsec3node);
2019 result = dns_db_findrdataset(gdb, node, gversion, dns_rdatatype_nsec3,
2050 result = dns_db_subtractrdataset(gdb, node, gversion,
2066 result = dns_db_deleterdataset(gdb, node, gversion,
2155 result = dns_db_createiterator(gdb, 0, &dbiter);
2164 result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter);
2176 dns_db_detachnode(gdb, &node);
2181 result = dns_diff_applysilently(&del, gdb, gversion);
2184 result = dns_diff_applysilently(&add, gdb, gversion);
2222 result = dns_db_createiterator(gdb, DNS_DB_NONSEC3, &dbiter);
2240 dns_db_detachnode(gdb, &node);
2258 dns_db_detachnode(gdb, &nextnode);
2266 dns_db_detachnode(gdb, &nextnode);
2270 if (is_delegation(gdb, gversion, gorigin,
2280 dns_db_detachnode(gdb, &nextnode);
2285 dns_db_detachnode(gdb, &nextnode);
2297 dns_db_detachnode(gdb, &node);
2344 result = dns_db_createiterator(gdb, DNS_DB_NSEC3ONLY, &dbiter);
2354 dns_db_detachnode(gdb, &node);
2361 result = dns_db_createiterator(gdb, DNS_DB_NONSEC3, &dbiter);
2379 dns_db_detachnode(gdb, &node);
2390 dns_db_detachnode(gdb, &nextnode);
2397 dns_db_detachnode(gdb, &nextnode);
2401 if (is_delegation(gdb, gversion, gorigin,
2408 dns_db_detachnode(gdb, &nextnode);
2413 dns_db_detachnode(gdb, &nextnode);
2428 dns_db_detachnode(gdb, &node);
2488 result = dns_db_findnode(gdb, gorigin, ISC_FALSE, &node);
2493 dns_db_currentversion(gdb, ¤tversion);
2500 result = dns_db_findrdataset(gdb, node, currentversion,
2508 result = dns_db_findrdataset(gdb, node, currentversion,
2541 dns_db_detachnode(gdb, &node);
2542 dns_db_closeversion(gdb, ¤tversion, ISC_FALSE);
2623 result = dns_db_newversion(gdb, &ver);
2636 result = dns_diff_applysilently(&diff, gdb, ver);
2641 dns_db_closeversion(gdb, &ver, ISC_TRUE);
2715 dns_db_currentversion(gdb, &ver);
2719 result = dns_db_getnsec3parameters(gdb, ver, &orig_hash, NULL,
2757 result = dns_db_findnsec3node(gdb, hashname, ISC_FALSE, &node);
2761 result = dns_db_findrdataset(gdb, node, ver, dns_rdatatype_nsec3,
2788 dns_db_detachnode(gdb, &node);
2789 dns_db_closeversion(gdb, &ver, ISC_FALSE);
3582 gdb = NULL;
3584 loadzone(file, origin, rdclass, &gdb);
3585 gorigin = dns_db_origin(gdb);
3586 gclass = dns_db_class(gdb);
3659 warnifallksk(gdb);
3666 hashlist_init(&hashlist, dns_db_nodecount(gdb) * 2,
3668 result = dns_nsec_nseconly(gdb, gversion, &answer);
3679 result = dns_nsec3_maxiterations(gdb, NULL, mctx, &max);
3689 result = dns_db_newversion(gdb, &gversion);
3809 verifyzone(gdb, gversion, gorigin, mctx,
3821 result = dns_master_dumptostream3(mctx, gdb, gversion,
3844 dns_db_closeversion(gdb, &gversion, ISC_FALSE);
3845 dns_db_detach(&gdb);