Searched refs:fioc (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/io/ |
H A D | channel-file.c | 115 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() 196 QIOChannelFile *fioc = QIO_CHANNEL_FILE(ioc); in qio_channel_file_pwritev() local 200 ret = pwritev(fioc->fd, iov, niov, offset); in qio_channel_file_pwritev() 224 QIOChannelFile *fioc = QIO_CHANNEL_FILE(ioc); in qio_channel_file_set_blocking() 226 if (!g_unix_set_fd_nonblocking(fioc->fd, !enabled, NULL)) { in qio_channel_file_set_blocking() [all …]
|
/openbmc/qemu/migration/ |
H A D | file.c | 99 g_autoptr(QIOChannelFile) fioc = NULL; in file_start_outgoing_migration() 106 fioc = qio_channel_file_new_path(filename, O_CREAT | O_WRONLY, 0600, errp); 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() 155 QIOChannelFile *fioc = qio_channel_file_new_path(filename, flags, 0, errp); in file_create_incoming_channels() local 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() [all …]
|
/openbmc/qemu/chardev/ |
H A D | char-serial.c | 182 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 D | char-pty.c | 93 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()
|