Lines Matching full:connected
43 int connected; member
52 static void pty_chr_state(Chardev *chr, int connected);
69 if (!s->connected) { in pty_chr_timer()
114 if (s->connected) { in char_pty_chr_write()
119 * The other side might already be re-connected, but the timer might in char_pty_chr_write()
137 if (!s->connected) { in pty_chr_add_watch()
178 static void pty_chr_state(Chardev *chr, int connected) in pty_chr_state() argument
182 if (!connected) { in pty_chr_state()
184 if (s->connected) { in pty_chr_state()
187 s->connected = 0; in pty_chr_state()
194 if (!s->connected) { in pty_chr_state()
195 s->connected = 1; in pty_chr_state()