Home
last modified time | relevance | path

Searched refs:fioc (Results 1 – 4 of 4) sorted by relevance

/qemu/io/
H A Dchannel-file.c115 QIOChannelFile *fioc = QIO_CHANNEL_FILE(ioc); in qio_channel_file_readv() local
119 ret = readv(fioc->fd, iov, niov); in qio_channel_file_readv()
144 QIOChannelFile *fioc = QIO_CHANNEL_FILE(ioc); in qio_channel_file_writev() local
148 ret = writev(fioc->fd, iov, niov); in qio_channel_file_writev()
170 QIOChannelFile *fioc = QIO_CHANNEL_FILE(ioc); in qio_channel_file_preadv() local
174 ret = preadv(fioc->fd, iov, niov, offset); in qio_channel_file_preadv()
200 ret = pwritev(fioc->fd, iov, niov, offset); in qio_channel_file_pwritev()
243 ret = lseek(fioc->fd, offset, whence); in qio_channel_file_seek()
259 if (qemu_close(fioc->fd) < 0) { in qio_channel_file_close()
264 fioc->fd = -1; in qio_channel_file_close()
[all …]
/qemu/migration/
H A Dfile.c99 g_autoptr(QIOChannelFile) fioc = NULL; in file_start_outgoing_migration()
107 if (!fioc) { in file_start_outgoing_migration()
111 if (ftruncate(fioc->fd, offset)) { in file_start_outgoing_migration()
120 ioc = QIO_CHANNEL(fioc); in file_start_outgoing_migration()
157 if (!fioc) { in file_create_incoming_channels()
164 iocs[i] = QIO_CHANNEL(fioc); in file_create_incoming_channels()
179 QIOChannelFile *fioc = NULL; in file_start_incoming_migration() local
184 fioc = qio_channel_file_new_path(filename, O_RDONLY, 0, errp); in file_start_incoming_migration()
185 if (!fioc) { in file_start_incoming_migration()
191 object_unref(OBJECT(fioc)); in file_start_incoming_migration()
[all …]
/qemu/chardev/
H A Dchar-serial.c182 QIOChannelFile *fioc = QIO_CHANNEL_FILE(s->ioc_in); in tty_serial_ioctl() local
188 tty_serial_init(fioc->fd, in tty_serial_ioctl()
197 tcsendbreak(fioc->fd, 1); in tty_serial_ioctl()
205 ioctl(fioc->fd, TIOCMGET, &sarg); in tty_serial_ioctl()
231 ioctl(fioc->fd, TIOCMGET, &targ); in tty_serial_ioctl()
252 ioctl(fioc->fd, TIOCMSET, &targ); in tty_serial_ioctl()
H A Dchar-pty.c93 QIOChannelFile *fioc = QIO_CHANNEL_FILE(s->ioc); in pty_chr_update_read_handler() local
95 pfd.fd = fioc->fd; in pty_chr_update_read_handler()