Lines Matching refs:current

868 	rdatasetheader_t *              current;
876 * successor to the former in lexical order. The "current" field always holds
921 dns_rbtnodechain_t *current;
1813 rdatasetheader_t *current, *top_prev, *top_next;
1821 for (current = node->data; current != NULL; current = top_next) {
1822 top_next = current->next;
1823 clean_stale_headers(rbtdb, mctx, current);
1825 * If current is nonexistent or stale, we can clean it up.
1827 if ((current->attributes &
1830 top_prev->next = current->next;
1832 node->data = current->next;
1833 free_rdataset(rbtdb, mctx, current);
1835 top_prev = current;
1844 rdatasetheader_t *current, *dcurrent, *down_next, *dparent;
1855 for (current = node->data; current != NULL; current = top_next) {
1856 top_next = current->next;
1863 dparent = current;
1864 for (dcurrent = current->down;
1881 * exception of current, which we now check.
1883 if (IGNORE(current)) {
1884 down_next = current->down;
1887 top_prev->next = current->next;
1889 node->data = current->next;
1890 free_rdataset(rbtdb, mctx, current);
1892 * current no longer exists, so we can
1898 * Pull up current->down, making it the new
1899 * current.
1906 free_rdataset(rbtdb, mctx, current);
1907 current = down_next;
1915 dparent = current;
1916 for (dcurrent = current->down;
1940 * Note. The serial number of 'current' might be less than
1945 if (current->down != NULL) {
1947 top_prev = current;
1952 if (NONEXISTENT(current)) {
1954 top_prev->next = current->next;
1956 node->data = current->next;
1957 free_rdataset(rbtdb, mctx, current);
1959 top_prev = current;
2708 * it the current version.
2723 * The current version is going to be replaced.
2760 * If the (soon to be former) current version
2771 * Become the current version.
2779 * Keep the current version in the open list, and
3945 * Find the NSEC/NSEC3 which is or before the current point on the
3947 * current NSEC3PARAM record are considered.
4170 * If the caller didn't supply a version, attach to the current
4220 * in the current version.
5683 rdatasetheader_t *current, *top_next;
5685 for (current = rbtnode->data; current != NULL;
5686 current = top_next) {
5687 top_next = current->next;
5689 fprintf(out, "\ttype %u", current->type);
5698 (unsigned long)current->serial,
5699 current->rdh_ttl,
5700 current->trust,
5701 current->attributes,
5702 (current->resign << 1) |
5703 current->resign_lsb);
5704 current = current->down;
5705 } while (current != NULL);
5746 rbtdbiter->current = &rbtdbiter->nsec3chain;
5748 rbtdbiter->current = &rbtdbiter->chain;
5983 iterator->current = NULL;
6398 * to be no more than the current NS RRset's TTL. This
7919 * then for each of the three trees, store the current position
7964 rdatasetheader_t *current, *next;
7967 current = data;
7968 locknum = current->node->locknum;
7970 while (current != NULL) {
7971 next = current->next;
7972 free_rdataset(rbtdb, rbtdb->common.mctx, current);
7973 current = next;
8301 REQUIRE(IS_CACHE(rbtdb)); /* current restriction */
8313 REQUIRE(IS_CACHE(rbtdb)); /* current restriction */
8740 * Keep the current version in the open list so that list operation
9139 rbtiterator->current = header;
9159 header = rbtiterator->current;
9215 rbtiterator->current = header;
9230 header = rbtiterator->current;
9394 rbtdbiter->current = &rbtdbiter->nsec3chain;
9395 result = dns_rbtnodechain_first(rbtdbiter->current,
9398 rbtdbiter->current = &rbtdbiter->chain;
9399 result = dns_rbtnodechain_first(rbtdbiter->current,
9402 rbtdbiter->current = &rbtdbiter->nsec3chain;
9403 result = dns_rbtnodechain_first(rbtdbiter->current,
9409 result = dns_rbtnodechain_current(rbtdbiter->current, NULL,
9453 rbtdbiter->current = &rbtdbiter->nsec3chain;
9454 result = dns_rbtnodechain_last(rbtdbiter->current,
9458 rbtdbiter->current = &rbtdbiter->chain;
9459 result = dns_rbtnodechain_last(rbtdbiter->current, rbtdb->tree,
9463 result = dns_rbtnodechain_current(rbtdbiter->current, NULL,
9503 rbtdbiter->current = &rbtdbiter->nsec3chain;
9506 rbtdbiter->current,
9509 rbtdbiter->current = &rbtdbiter->chain;
9512 rbtdbiter->current,
9518 rbtdbiter->current = &rbtdbiter->chain;
9521 rbtdbiter->current,
9531 rbtdbiter->current = &rbtdbiter->nsec3chain;
9538 tresult = dns_rbtnodechain_current(rbtdbiter->current, iname,
9573 result = dns_rbtnodechain_prev(rbtdbiter->current, name, origin);
9576 &rbtdbiter->nsec3chain == rbtdbiter->current) {
9577 rbtdbiter->current = &rbtdbiter->chain;
9578 dns_rbtnodechain_reset(rbtdbiter->current);
9579 result = dns_rbtnodechain_last(rbtdbiter->current, rbtdb->tree,
9589 result = dns_rbtnodechain_current(rbtdbiter->current, NULL,
9618 result = dns_rbtnodechain_next(rbtdbiter->current, name, origin);
9620 !rbtdbiter->nonsec3 && &rbtdbiter->chain == rbtdbiter->current) {
9621 rbtdbiter->current = &rbtdbiter->nsec3chain;
9622 dns_rbtnodechain_reset(rbtdbiter->current);
9623 result = dns_rbtnodechain_first(rbtdbiter->current,
9633 result = dns_rbtnodechain_current(rbtdbiter->current, NULL,
9683 * to expire the current node. The current node can't