Lines Matching refs:rbtnode

2154 	dns_rbtnode_t *rbtnode;
2374 rbtnode = changed->node;
2375 lock = &rbtdb->node_locks[rbtnode->locknum].lock;
2383 cleanup_dead_nodes(rbtdb, rbtnode->locknum);
2386 rollback_node(rbtnode, serial);
2387 decrement_reference(rbtdb, rbtnode, least_serial,
4967 dns_rbtnode_t *rbtnode = node;
4995 force_expire = ISC_TF(rbtnode->down == NULL && val % 4 == 0);
5007 dns_rbt_formatnodename(rbtnode,
5016 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
5019 for (header = rbtnode->data; header != NULL; header = header->next)
5022 * We don't check if refcurrent(rbtnode) == 0 and try
5024 * refcurrent(rbtnode) must be non-zero. This is so
5028 rbtnode->dirty = 1;
5037 rbtnode->dirty = 1;
5048 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
5067 dns_rbtnode_t *rbtnode = node;
5072 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
5076 rbtnode, dns_rbtnode_refcurrent(rbtnode),
5077 rbtnode->locknum);
5078 if (rbtnode->data != NULL) {
5081 for (current = rbtnode->data; current != NULL;
5105 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
5157 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *)node;
5175 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
5186 for (header = rbtnode->data; header != NULL; header = header_next) {
5218 bind_rdataset(rbtdb, rbtnode, found, now, rdataset);
5220 bind_rdataset(rbtdb, rbtnode, foundsig, now,
5224 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
5244 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *)node;
5261 lock = &rbtdb->node_locks[rbtnode->locknum].lock;
5274 for (header = rbtnode->data; header != NULL; header = header_next) {
5287 * We don't check if refcurrent(rbtnode) == 0
5289 * because refcurrent(rbtnode) must be
5294 rbtnode->dirty = 1;
5307 bind_rdataset(rbtdb, rbtnode, found, now, rdataset);
5309 bind_rdataset(rbtdb, rbtnode, foundsig, now,
5336 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *)node;
5374 NODE_STRONGLOCK(&rbtdb->node_locks[rbtnode->locknum].lock);
5376 dns_rbtnode_refincrement(rbtnode, &refs);
5381 NODE_STRONGUNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock);
5477 add(dns_rbtdb_t *rbtdb, dns_rbtnode_t *rbtnode, rbtdb_version_t *rbtversion,
5518 changed = add_changed(rbtdb, rbtversion, rbtnode);
5537 for (topheader = rbtnode->data;
5557 rbtnode->dirty = 1;
5573 for (topheader = rbtnode->data;
5598 bind_rdataset(rbtdb, rbtnode,
5609 rbtnode->dirty = 1;
5617 for (topheader = rbtnode->data;
5654 bind_rdataset(rbtdb, rbtnode, header, now,
5747 bind_rdataset(rbtdb, rbtnode, header, now,
5792 bind_rdataset(rbtdb, rbtnode, header, now,
5801 rbtnode->data = newheader;
5815 rbtnode->dirty = 1;
5872 rbtnode->data = newheader;
5876 rbtnode->dirty = 1;
5883 newheader->next = rbtnode->data;
5885 rbtnode->data = newheader;
5901 cname_and_other_data(rbtnode, rbtversion->serial))
5905 bind_rdataset(rbtdb, rbtnode, newheader, now, addedrdataset);
6036 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *)node;
6050 REQUIRE(((rbtnode->nsec3 &&
6053 (!rbtnode->nsec3 &&
6081 newheader->node = rbtnode;
6123 if (delegating_type(rbtdb, rbtnode, rdataset->type))
6142 overmem_purge(rbtdb, rbtnode->locknum, now, tree_locked);
6144 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
6154 cleanup_dead_nodes(rbtdb, rbtnode->locknum);
6156 header = isc_heap_element(rbtdb->heaps[rbtnode->locknum], 1);
6171 result = add(rbtdb, rbtnode, rbtversion, newheader, options, ISC_FALSE,
6174 rbtnode->find_callback = 1;
6176 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
6198 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *)node;
6210 REQUIRE(((rbtnode->nsec3 &&
6213 (!rbtnode->nsec3 &&
6236 newheader->node = rbtnode;
6243 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
6246 changed = add_changed(rbtdb, rbtversion, rbtnode);
6249 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
6255 for (topheader = rbtnode->data;
6326 newheader->node = rbtnode;
6342 rbtnode->data = newheader;
6346 rbtnode->dirty = 1;
6361 bind_rdataset(rbtdb, rbtnode, newheader, 0, newrdataset);
6364 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
6382 dns_rbtnode_t *rbtnode = (dns_rbtnode_t *)node;
6412 newheader->node = rbtnode;
6414 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
6417 result = add(rbtdb, rbtnode, rbtversion, newheader, DNS_DBADD_FORCE,
6420 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7565 dns_rbtnode_t *rbtnode = rdataset->private2;
7569 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7572 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7579 dns_rbtnode_t *rbtnode = rdataset->private2;
7583 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7586 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7614 dns_rbtnode_t *rbtnode = rbtiterator->common.node;
7628 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7631 for (header = rbtnode->data; header != NULL; header = top_next) {
7656 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7671 dns_rbtnode_t *rbtnode = rbtiterator->common.node;
7691 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7733 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7748 dns_rbtnode_t *rbtnode = rbtiterator->common.node;
7754 NODE_LOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
7757 bind_rdataset(rbtdb, rbtnode, header, rbtiterator->common.now,
7760 NODE_UNLOCK(&rbtdb->node_locks[rbtnode->locknum].lock,
8286 dns_rbtnode_t *rbtnode = rdataset->private2;
8308 nodelock = &rbtdb->node_locks[rbtnode->locknum].lock;
8354 dns_rbtnode_t *rbtnode;
8368 rbtnode = (dns_rbtnode_t *)cbarg->node;
8370 nodelock = &rbtdb->node_locks[rbtnode->locknum].lock;
8395 dns_db_detachnode((dns_db_t *)rbtdb, (dns_dbnode_t **)(void*)&rbtnode);
8431 dns_rbtnode_t *rbtnode = rdataset->private2;
8462 dns_db_attachnode((dns_db_t *)rbtdb, (dns_dbnode_t *)rbtnode,
8476 nodelock = &rbtdb->node_locks[rbtnode->locknum].lock;
8561 dns_rbtnode_t *rbtnode = rdataset->private2;
8586 nodelock = &rbtdb->node_locks[rbtnode->locknum].lock;