Lines Matching refs:FD_CLOSED
57 #define FD_CLOSED (-1) macro
148 newchan->errfd = FD_CLOSED; /* this isn't always set to start with */ in newchannel()
308 && channel->readfd == FD_CLOSED in check_close()
309 && (ERRFD_IS_WRITE(channel) || channel->errfd == FD_CLOSED)) { in check_close()
315 && channel->readfd == FD_CLOSED in check_close()
316 && (ERRFD_IS_WRITE(channel) || channel->errfd == FD_CLOSED) in check_close()
919 channel->readfd = FD_CLOSED; in close_chan_fd()
922 channel->errfd = FD_CLOSED; in close_chan_fd()
926 channel->writefd = FD_CLOSED; in close_chan_fd()
929 channel->errfd = FD_CLOSED; in close_chan_fd()
934 if (channel->type->sepfds && channel->readfd == FD_CLOSED in close_chan_fd()
935 && channel->writefd == FD_CLOSED && channel->errfd == FD_CLOSED) { in close_chan_fd()