Lines Matching refs:sdbnode
438 dns_sdbnode_t *sdbnode;
463 sdbnode = ISC_LIST_HEAD(allnodes->nodelist);
464 if (sdbnode == NULL || !dns_name_equal(sdbnode->name, newname)) {
465 sdbnode = NULL;
466 result = createnode(sdb, &sdbnode);
469 sdbnode->name = isc_mem_get(mctx, sizeof(dns_name_t));
470 if (sdbnode->name == NULL) {
471 destroynode(sdbnode);
474 dns_name_init(sdbnode->name, NULL);
475 result = dns_name_dup(newname, mctx, sdbnode->name);
477 isc_mem_put(mctx, sdbnode->name, sizeof(dns_name_t));
478 destroynode(sdbnode);
481 ISC_LIST_PREPEND(allnodes->nodelist, sdbnode, link);
484 allnodes->origin = sdbnode;
486 *nodep = sdbnode;
495 dns_sdbnode_t *sdbnode = NULL;
496 result = getnode(allnodes, name, &sdbnode);
499 return (dns_sdb_putrr(sdbnode, type, ttl, data));
508 dns_sdbnode_t *sdbnode = NULL;
509 result = getnode(allnodes, name, &sdbnode);
512 return (dns_sdb_putrdata(sdbnode, type, ttl, rdata, rdlen));
1095 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *)node;
1108 list = ISC_LIST_HEAD(sdbnode->lists);
1358 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *) node;
1359 dns_db_t *db = (dns_db_t *) sdbnode->sdb;
1368 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *) node;
1369 dns_db_t *db = (dns_db_t *) sdbnode->sdb;
1533 dns_sdbnode_t *sdbnode = (dns_sdbnode_t *)iterator->node;
1535 if (ISC_LIST_EMPTY(sdbnode->lists))
1537 sdbiterator->current = ISC_LIST_HEAD(sdbnode->lists);