Searched refs:buf_index (Results 1 – 1 of 1) sorted by relevance
49 int buf_index; member305 f->buf_index = 0; in qemu_fflush()330 pending = f->buf_size - f->buf_index; in qemu_fill_buffer()332 memmove(f->buf, f->buf + f->buf_index, pending); in qemu_fill_buffer()334 f->buf_index = 0; in qemu_fill_buffer()492 if (!add_to_iovec(f, f->buf + f->buf_index, len, false)) { in add_buf_to_iovec()493 f->buf_index += len; in add_buf_to_iovec()494 if (f->buf_index == IO_BUF_SIZE) { in add_buf_to_iovec()519 l = IO_BUF_SIZE - f->buf_index; in qemu_put_buffer()523 memcpy(f->buf + f->buf_index, buf, l); in qemu_put_buffer()[all …]