Lines Matching refs:used
56 i_assert(file->buffer_offset + file->buffer->used == file->sync_offset);
58 file->sync_offset = file->buffer_offset + file->buffer->used;
66 if (ctx->output->used == 0)
75 file->sync_offset = file->buffer_offset + file->buffer->used;
79 if (write_full(file->fd, ctx->output->data, ctx->output->used) < 0) {
88 file->sync_offset + ctx->output->used ==
108 file->buffer->used == file->sync_offset);
110 ctx->output->used);
112 file->sync_offset += ctx->output->used;
136 /*if (ctx->output->used == 0)*/
141 if (ctx->output->used == 0 && !ctx->tail_offset_changed) {
151 file->max_tail_offset += ctx->output->used +
172 buf.data, buf.used);
199 boundary->size = ctx->output->used;