Lines Matching refs:sync_offset
46 if (ftruncate(file->fd, file->sync_offset) < 0) {
56 i_assert(file->buffer_offset + file->buffer->used == file->sync_offset);
58 file->sync_offset = file->buffer_offset + file->buffer->used;
75 file->sync_offset = file->buffer_offset + file->buffer->used;
88 file->sync_offset + ctx->output->used ==
108 file->buffer->used == file->sync_offset);
112 file->sync_offset += ctx->output->used;
138 } else if (file->max_tail_offset == file->sync_offset) {
181 if (file->sync_offset < file->last_size) {
186 file->sync_offset - file->buffer_offset);
188 if (ftruncate(file->fd, file->sync_offset) < 0) {