Lines Matching refs:indexid
35 offsetof(struct mail_transaction_log_header, indexid);
42 /* indexid=0 marks the log file as corrupted. we opened the file with
56 if (pwrite_full(file->fd, &file->hdr.indexid,
57 sizeof(file->hdr.indexid), offset) < 0) {
70 file->hdr.indexid = 0;
225 i_assert(index->indexid != 0);
231 hdr->indexid = log->index->indexid;
485 file->hdr.indexid = 0;
562 if (file->hdr.indexid == 0) {
570 if (file->hdr.indexid != file->log->index->indexid) {
571 if (file->log->index->indexid != 0 &&
576 "indexid changed: %u -> %u",
577 file->log->index->indexid, file->hdr.indexid);
582 first, use the indexid in it to create the main index
584 file->log->index->indexid = file->hdr.indexid;
859 if (index->indexid == 0) {
1842 if (file->hdr.indexid == 0) {
1844 *reason_r = "corrupted, indexid=0";