/qemu/migration/ |
H A D | channel-block.c | 116 int whence, in qio_channel_block_seek() argument 121 switch (whence) { in qio_channel_block_seek() 126 bioc->offset += whence; in qio_channel_block_seek()
|
H A D | qemu-file.h | 74 void qemu_set_offset(QEMUFile *f, off_t off, int whence);
|
H A D | qemu-file.c | 524 void qemu_set_offset(QEMUFile *f, off_t off, int whence) in qemu_set_offset() argument 537 ret = qio_channel_io_seek(f->ioc, off, whence, &err); in qemu_set_offset()
|
/qemu/qga/ |
H A D | commands.c | 533 int ga_parse_whence(GuestFileWhence *whence, Error **errp) in ga_parse_whence() argument 540 if (whence->type == QTYPE_QSTRING) { in ga_parse_whence() 541 int value = whence->u.name; in ga_parse_whence() 542 whence->type = QTYPE_QNUM; in ga_parse_whence() 543 whence->u.value = value; in ga_parse_whence() 545 switch (whence->u.value) { in ga_parse_whence() 553 error_setg(errp, "invalid whence code %"PRId64, whence->u.value); in ga_parse_whence()
|
H A D | guest-agent-core.h | 46 int ga_parse_whence(GuestFileWhence *whence, Error **errp);
|
H A D | qapi-schema.json | 343 # @set: Set to the specified offset (same effect as 'whence':0) 345 # @cur: Add offset to the current location (same effect as 'whence':1) 347 # @end: Add offset to the end of the file (same effect as 'whence':2) 374 # functionality, with offset=0 and whence=1. 380 # @whence: Symbolic or numeric code for interpreting offset 388 'whence': 'GuestFileWhence' },
|
H A D | commands-win32.c | 427 int whence; in qmp_guest_file_seek() local 436 whence = ga_parse_whence(whence_code, &err); in qmp_guest_file_seek() 443 res = SetFilePointerEx(fh, off_pos, &new_pos, whence); in qmp_guest_file_seek()
|
H A D | commands-posix.c | 656 int whence; in qmp_guest_file_seek() local 664 whence = ga_parse_whence(whence_code, &err); in qmp_guest_file_seek() 671 ret = fseek(fh, offset, whence); in qmp_guest_file_seek()
|
/qemu/block/export/ |
H A D | fuse.c | 800 int whence, struct fuse_file_info *fi) in fuse_lseek() argument 804 if (whence != SEEK_HOLE && whence != SEEK_DATA) { in fuse_lseek() 838 if (offset > blk_len || whence == SEEK_DATA) { in fuse_lseek() 847 if (whence == SEEK_DATA) { in fuse_lseek() 852 if (whence == SEEK_HOLE) { in fuse_lseek()
|
/qemu/io/ |
H A D | channel-file.c | 235 int whence, in qio_channel_file_seek() argument 241 ret = lseek(fioc->fd, offset, whence); in qio_channel_file_seek() 245 (long long int)offset, whence); in qio_channel_file_seek()
|
H A D | channel-null.c | 111 int whence G_GNUC_UNUSED, in qio_channel_null_seek()
|
H A D | channel-buffer.c | 129 int whence, in qio_channel_buffer_seek() argument
|
H A D | channel.c | 554 int whence, in qio_channel_io_seek() argument 564 return klass->io_seek(ioc, offset, whence, errp); in qio_channel_io_seek()
|
/qemu/include/io/ |
H A D | channel.h | 153 int whence, 713 int whence,
|
/qemu/semihosting/ |
H A D | syscalls.c | 354 GuestFD *gf, int64_t off, int whence) in host_lseek() argument 365 ret = lseek(gf->hostfd, ret, whence); in host_lseek()
|
/qemu/include/standard-headers/linux/ |
H A D | fuse.h | 1088 uint32_t whence; member
|
/qemu/linux-user/ |
H A D | strace.c | 2523 const char *whence = "UNKNOWN"; in print__llseek() local 2530 case SEEK_SET: whence = "SEEK_SET"; break; in print__llseek() 2531 case SEEK_CUR: whence = "SEEK_CUR"; break; in print__llseek() 2532 case SEEK_END: whence = "SEEK_END"; break; in print__llseek() 2534 qemu_log("%s", whence); in print__llseek()
|