Lines Matching defs:current_pos
921 journal_pos_t current_pos;
933 current_pos = j->header.begin;
934 index_find(j, serial, ¤t_pos);
936 while (current_pos.serial != serial) {
937 if (DNS_SERIAL_GT(current_pos.serial, serial))
939 result = journal_next(j, ¤t_pos);
943 *pos = current_pos;
2014 journal_pos_t current_pos;
2098 current_pos = best_guess;
2099 while (current_pos.serial != serial) {
2100 CHECK(journal_next(j, ¤t_pos));
2101 if (current_pos.serial == j->header.end.serial)
2104 if (DNS_SERIAL_GE(serial, current_pos.serial) &&
2105 ((isc_uint32_t)(j->header.end.offset - current_pos.offset)
2107 current_pos.offset > best_guess.offset)
2108 best_guess = current_pos;
2167 current_pos = new->header.begin;
2168 while (current_pos.serial != new->header.end.serial) {
2169 index_add(new, ¤t_pos);
2170 CHECK(journal_next(new, ¤t_pos));