Lines Matching defs:best_guess
842 * than '*best_guess', replace '*best_guess' with it.
848 index_find(dns_journal_t *j, isc_uint32_t serial, journal_pos_t *best_guess) {
855 DNS_SERIAL_GT(j->index[i].serial, best_guess->serial))
856 *best_guess = j->index[i];
2087 journal_pos_t best_guess;
2164 best_guess = j1->header.begin;
2170 j1->index[i].offset > best_guess.offset)
2171 best_guess = j1->index[i];
2174 current_pos = best_guess;
2183 current_pos.offset > best_guess.offset)
2184 best_guess = current_pos;
2189 INSIST(best_guess.serial != j1->header.end.serial);
2190 if (best_guess.serial != serial)
2191 CHECK(journal_next(j1, &best_guess));
2198 copy_length = j1->header.end.offset - best_guess.offset;
2202 * Copy best_guess to end into space just freed.
2213 CHECK(journal_seek(j1, best_guess.offset));
2227 j2->header.begin.serial = best_guess.serial;