Lines Matching refs:pos
195 static int socket_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size)
217 static int stdio_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, int size)
223 static int stdio_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size)
340 int64_t pos, int size)
343 fseek(s->stdio_file, pos, SEEK_SET);
347 static int file_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size)
350 fseek(s->stdio_file, pos, SEEK_SET);
385 int64_t pos, int size)
387 bdrv_save_vmstate(opaque, buf, pos, size);
391 static int block_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size)
393 return bdrv_load_vmstate(opaque, buf, pos, size);
606 int64_t qemu_fseek(QEMUFile *f, int64_t pos, int whence)
611 pos += qemu_ftell(f);
618 f->buf_offset = pos;
620 f->buf_offset = pos;
624 return pos;