Lines Matching refs:writefd
51 qio_channel_command_new_pid(int writefd, in qio_channel_command_new_pid() argument
60 ioc->writefd = writefd; in qio_channel_command_new_pid()
63 trace_qio_channel_command_new_pid(ioc, writefd, readfd, in qio_channel_command_new_pid()
164 ioc->writefd = -1; in qio_channel_command_init()
174 if (ioc->writefd != -1 && in qio_channel_command_finalize()
175 ioc->writefd != ioc->readfd) { in qio_channel_command_finalize()
176 close(ioc->writefd); in qio_channel_command_finalize()
178 ioc->writefd = ioc->readfd = -1; in qio_channel_command_finalize()
249 if (!cioc->blocking && !win32_fd_poll(cioc->writefd, G_IO_OUT)) { in qio_channel_command_writev()
255 ret = writev(cioc->writefd, iov, niov); in qio_channel_command_writev()
280 if ((cioc->writefd >= 0 && !g_unix_set_fd_nonblocking(cioc->writefd, !enabled, NULL)) || in qio_channel_command_set_blocking()
306 if (cioc->writefd != -1 && in qio_channel_command_close()
307 cioc->writefd != cioc->readfd && in qio_channel_command_close()
308 close(cioc->writefd) < 0) { in qio_channel_command_close()
311 cioc->writefd = cioc->readfd = -1; in qio_channel_command_close()
344 cioc->writefd, write_ctx, io_write, in qio_channel_command_set_aio_fd_handler()
355 cioc->writefd, in qio_channel_command_create_watch()