Searched refs:append_offset (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-save.c26 uint32_t append_offset; member in struct:dbox_save_mail
94 *offset_r = mail->append_offset;
131 uoff_t mail_size, append_offset; local
149 append_offset = ctx->ctx.dbox_output->offset;
157 save_mail->append_offset = append_offset;
172 mail->append_offset - mail->file_append->file->msg_header_size;
183 sizeof(dbox_msg_hdr), mail->append_offset) < 0) {
H A Dmdbox-map.c930 uoff_t append_offset; local
946 append_offset = append->output->offset;
947 if (append_offset + mail_size <= map->set->mdbox_rotate_size &&
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-save.c39 uoff_t append_offset, mail_offset; member in struct:mbox_save_context
286 if (ctx->append_offset == (uoff_t)-1) {
312 if (ctx->append_offset == (uoff_t)-1) {
313 if (mbox_seek_to_end(ctx, &ctx->append_offset) < 0)
318 ctx->append_offset,
429 ctx->append_offset = (uoff_t)-1;
715 if (ctx->append_offset == (uoff_t)-1 || ctx->mbox->mbox_fd == -1)
725 if (ftruncate(ctx->mbox->mbox_fd, (off_t)ctx->append_offset) < 0)

Completed in 17 milliseconds