Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/
H A Dlfs64.patch22 #define lseek64(fd, offset, whence) lseek((fd), (offset), (whence))
/openbmc/u-boot/arch/sandbox/cpu/
H A Dos.c46 off_t os_lseek(int fd, off_t offset, int whence) in os_lseek() argument
48 if (whence == OS_SEEK_SET) in os_lseek()
49 whence = SEEK_SET; in os_lseek()
50 else if (whence == OS_SEEK_CUR) in os_lseek()
51 whence = SEEK_CUR; in os_lseek()
52 else if (whence == OS_SEEK_END) in os_lseek()
53 whence = SEEK_END; in os_lseek()
56 return lseek(fd, offset, whence); in os_lseek()
/openbmc/qemu/qga/
H A Dcommands.c535 int ga_parse_whence(GuestFileWhence *whence, Error **errp) in ga_parse_whence() argument
542 if (whence->type == QTYPE_QSTRING) { in ga_parse_whence()
543 int value = whence->u.name; in ga_parse_whence()
544 whence->type = QTYPE_QNUM; in ga_parse_whence()
545 whence->u.value = value; in ga_parse_whence()
547 switch (whence->u.value) { in ga_parse_whence()
555 error_setg(errp, "invalid whence code %"PRId64, whence->u.value); in ga_parse_whence()
H A Dguest-agent-core.h56 int ga_parse_whence(GuestFileWhence *whence, Error **errp);
H A Dcommands-posix.c644 int whence; in qmp_guest_file_seek() local
652 whence = ga_parse_whence(whence_code, &err); in qmp_guest_file_seek()
659 ret = fseek(fh, offset, whence); in qmp_guest_file_seek()
H A Dqapi-schema.json345 # @set: Set to the specified offset (same effect as 'whence':0)
347 # @cur: Add offset to the current location (same effect as 'whence':1)
349 # @end: Add offset to the end of the file (same effect as 'whence':2)
376 # functionality, with offset=0 and whence=1.
382 # @whence: Symbolic or numeric code for interpreting offset
388 'whence': 'GuestFileWhence' },
H A Dcommands-win32.c450 int whence; in qmp_guest_file_seek() local
459 whence = ga_parse_whence(whence_code, &err); in qmp_guest_file_seek()
466 res = SetFilePointerEx(fh, off_pos, &new_pos, whence); in qmp_guest_file_seek()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch46 -int tracecmd_prepare_options(struct tracecmd_output *handle, off64_t offset, int whence);
47 +int tracecmd_prepare_options(struct tracecmd_output *handle, off_t offset, int whence);
75 -off64_t tracecmd_compress_lseek(struct tracecmd_compression *handle, off64_t offset, int whence);
76 +off_t tracecmd_compress_lseek(struct tracecmd_compression *handle, off_t offset, int whence);
95 -off64_t msg_lseek(struct tracecmd_msg_handle *msg_handle, off64_t offset, int whence);
96 +off_t msg_lseek(struct tracecmd_msg_handle *msg_handle, off_t offset, int whence);
108 -off64_t tracecmd_compress_lseek(struct tracecmd_compression *handle, off64_t offset, int whence)
109 +off_t tracecmd_compress_lseek(struct tracecmd_compression *handle, off_t offset, int whence)
117 switch (whence) {
634 -__hidden off64_t msg_lseek(struct tracecmd_msg_handle *msg_handle, off64_t offset, int whence)
[all …]
/openbmc/qemu/migration/
H A Dchannel-block.c116 int whence, in qio_channel_block_seek() argument
121 switch (whence) { in qio_channel_block_seek()
H A Dqemu-file.h76 void qemu_set_offset(QEMUFile *f, off_t off, int whence);
H A Dqemu-file.c598 void qemu_set_offset(QEMUFile *f, off_t off, int whence) in qemu_set_offset() argument
611 ret = qio_channel_io_seek(f->ioc, off, whence, &err); in qemu_set_offset()
/openbmc/qemu/io/
H A Dchannel-file.c237 int whence, in qio_channel_file_seek() argument
243 ret = lseek(fioc->fd, offset, whence); in qio_channel_file_seek()
247 (long long int)offset, whence); in qio_channel_file_seek()
H A Dchannel-null.c111 int whence G_GNUC_UNUSED, in qio_channel_null_seek()
H A Dchannel-buffer.c129 int whence, in qio_channel_buffer_seek() argument
H A Dchannel.c570 int whence, in qio_channel_io_seek() argument
580 return klass->io_seek(ioc, offset, whence, errp); in qio_channel_io_seek()
/openbmc/qemu/block/export/
H A Dfuse.c800 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()
/openbmc/u-boot/include/
H A Dos.h47 off_t os_lseek(int fd, off_t offset, int whence);
/openbmc/qemu/include/io/
H A Dchannel.h155 int whence,
718 int whence,
/openbmc/openbmc/poky/meta/recipes-devtools/clang/clang/
H A D0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch38 /// int fseeko64(FILE *stream, off64_t offset, int whence)
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.h96 loff_t yaffs_lseek(int fd, loff_t offset, int whence) ;
H A Dyaffsfs.c1377 loff_t yaffs_lseek(int handle, loff_t offset, int whence) in yaffs_lseek() argument
1393 if (whence == SEEK_SET) { in yaffs_lseek()
1396 } else if (whence == SEEK_CUR) { in yaffs_lseek()
1399 } else if (whence == SEEK_END) { in yaffs_lseek()
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dfilemap.py170 def _lseek(file_obj, offset, whence): argument
178 return os.lseek(file_obj.fileno(), offset, whence)
/openbmc/qemu/semihosting/
H A Dsyscalls.c356 GuestFD *gf, int64_t off, int whence) in host_lseek() argument
367 ret = lseek(gf->hostfd, ret, whence); in host_lseek()
/openbmc/qemu/include/standard-headers/linux/
H A Dfuse.h1129 uint32_t whence; member
/openbmc/openbmc/poky/meta/recipes-kernel/linux-firmware/
H A Dlinux-firmware_20250509.bb512 ${PN}-whence-license \
1223 RDEPENDS:${PN}-rs9113 += "${PN}-whence-license"
1224 RDEPENDS:${PN}-rs9116 += "${PN}-whence-license"
1287 RDEPENDS:${PN}-rtl8168 += "${PN}-whence-license"
1288 RDEPENDS:${PN}-rtl-nic += "${PN}-whence-license"
1549 LICENSE:${PN}-whence-license = "WHENCE"
1555 FILES:${PN}-whence-license = "${nonarch_base_libdir}/firmware/WHENCE"
1557 RDEPENDS:${PN}-bnx2 += "${PN}-whence-license"
1564 RDEPENDS:${PN}-bnx2x += "${PN}-whence-license"
2110 RDEPENDS:${PN} += "${PN}-whence-license"

12