Lines Matching refs:old_file
2909 JournalFile *old_file, *new_file = NULL;
2915 old_file = *f;
2917 if (!old_file->writable)
2920 if (!endswith(old_file->path, ".journal"))
2923 l = strlen(old_file->path);
2925 (int) l - 8, old_file->path,
2926 SD_ID128_FORMAT_VAL(old_file->header->seqnum_id),
2935 r = rename(old_file->path, p);
2939 old_file->header->state = STATE_ARCHIVED;
2944 old_file->defrag_on_close = true;
2946 r = journal_file_open(old_file->path, old_file->flags, old_file->mode, compress, seal, NULL, old_file->mmap, old_file, &new_file);
2947 journal_file_close(old_file);