HomeSort by: relevance | last modified time | path
    Searched refs:t_state (Results 1 - 25 of 94) sorted by relevancy

1 2 3 4

  /src/sys/arch/alpha/alpha/
promcons.c 129 if ((tp->t_state & TS_ISOPEN) == 0) {
130 tp->t_state |= TS_CARR_ON;
216 if (tp->t_state & (TS_TTSTOP | TS_BUSY))
219 tp->t_state |= TS_BUSY;
222 tp->t_state &= ~TS_BUSY;
236 if (tp->t_state & TS_BUSY)
237 if ((tp->t_state & TS_TTSTOP) == 0)
238 tp->t_state |= TS_FLUSH;
249 if (tp->t_state & TS_ISOPEN)
  /src/sys/dev/arcbios/
arcbios_tty.c 113 if ((tp->t_state & TS_ISOPEN) == 0) {
114 tp->t_state |= TS_CARR_ON;
198 if (tp->t_state & (TS_TTSTOP | TS_BUSY))
201 tp->t_state |= TS_BUSY;
207 tp->t_state &= ~TS_BUSY;
218 if (tp->t_state & TS_BUSY)
219 if ((tp->t_state & TS_TTSTOP) == 0)
220 tp->t_state |= TS_FLUSH;
250 if (tp->t_state & TS_ISOPEN)
  /src/sys/arch/mips/adm5120/dev/
uart.c 209 if ((tp->t_state & TS_ISOPEN) == 0) {
210 tp->t_state |= TS_CARR_ON;
305 if (tp->t_state & (TS_TTSTOP | TS_BUSY))
308 tp->t_state |= TS_BUSY;
315 tp->t_state &= ~TS_BUSY;
326 if (tp->t_state & TS_BUSY)
327 if ((tp->t_state & TS_TTSTOP) == 0)
328 tp->t_state |= TS_FLUSH;
346 if (tp->t_state & TS_ISOPEN)
  /src/sys/dev/dec/
dz.c 283 if (!(tp->t_state & TS_ISOPEN)) {
340 tp->t_state &= ~TS_BUSY;
345 tp->t_state |= TS_BUSY;
360 if (tp->t_state & TS_FLUSH)
361 tp->t_state &= ~TS_FLUSH;
394 if ((tp->t_state & TS_ISOPEN) == 0) {
409 tp->t_state |= TS_CARR_ON;
412 !(tp->t_state & TS_CARR_ON)) {
439 if ((tp->t_cflag & HUPCL) || tp->t_wopen || !(tp->t_state & TS_ISOPEN))
540 if ((tp->t_state & (TS_BUSY | TS_TTSTOP)) == TS_BUSY
    [all...]
  /src/sys/kern/
tty.c 129 #define CONNECTED(tp) (ISSET(tp->t_state, TS_CARR_ON) || \
395 if (ISSET(tp->t_state, TS_ISOPEN) &&
396 !ISSET(tp->t_state, TS_DIALOUT)) {
400 SET(tp->t_state, TS_DIALOUT);
407 while (ISSET(tp->t_state, TS_DIALOUT) ||
420 if (ISSET(tp->t_state, TS_DIALOUT)) {
441 if (!ISSET(tp->t_state, TS_ISOPEN)) {
442 SET(tp->t_state, TS_ISOPEN);
461 tp->t_state |= TS_CANCEL;
502 tp->t_state = 0
    [all...]
tty_pty.c 383 if (!ISSET(tp->t_state, TS_ISOPEN)) {
398 SET(tp->t_state, TS_CARR_ON);
400 while (!ISSET(tp->t_state, TS_CARR_ON)) {
530 if (ISSET(tp->t_state, TS_TTSTOP))
638 CLR(tp->t_state, TS_CARR_ON);
664 if (ISSET(tp->t_state, TS_ISOPEN)) {
693 if (tp->t_outq.c_cc && !ISSET(tp->t_state, TS_TTSTOP))
696 if (!ISSET(tp->t_state, TS_CARR_ON)) {
713 if (error == 0 && !ISSET(tp->t_state, TS_ISOPEN))
723 if (error == 0 && !ISSET(tp->t_state, TS_ISOPEN)
    [all...]
  /src/sys/dev/rcons/
rcons_kern.c 90 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) {
94 tp->t_state |= TS_BUSY;
100 tp->t_state &= ~TS_BUSY;
103 tp->t_state |= TS_TIMEOUT;
  /src/sys/dev/goldfish/
gftty.c 389 if (ISSET(tp->t_state, TS_ISOPEN)) {
411 if (ISSET(tp->t_state, TS_ISOPEN)) {
449 if (ISSET(tp->t_state, TS_KERN_ONLY)) {
458 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
473 SET(tp->t_state, TS_CARR_ON);
486 !ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
510 if (!ISSET(tp->t_state, TS_ISOPEN)) {
515 if (ISSET(tp->t_state, TS_KERN_ONLY)) {
526 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
675 if (ISSET(tp->t_state, TS_BUSY | TS_TIMEOUT | TS_TTSTOP) |
    [all...]
  /src/sys/arch/news68k/news68k/
romcons.c 154 if ((tp->t_state & TS_ISOPEN) == 0) {
164 tp->t_state |= TS_CARR_ON;
253 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) {
257 tp->t_state |= TS_BUSY;
264 tp->t_state &= ~TS_BUSY;
266 tp->t_state |= TS_TIMEOUT;
291 if (tp && (tp->t_state & TS_ISOPEN))
305 if (tp && (tp->t_state & TS_ISOPEN))
  /src/sys/arch/sun3/dev/
kd.c 166 if ((tp->t_state & TS_ISOPEN) == 0) {
186 tp->t_state |= TS_CARR_ON;
205 if ((tp->t_state & TS_ISOPEN) == 0)
297 if (tp->t_state & (TS_BUSY|TS_TTSTOP|TS_TIMEOUT))
303 tp->t_state |= TS_BUSY;
309 tp->t_state &= ~TS_BUSY;
342 tp->t_state &= ~TS_BUSY;
415 if ((tp->t_state & TS_ISOPEN) == 0)
  /src/sys/dev/hpc/
biconsdev.c 150 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) {
154 tp->t_state |= TS_BUSY;
160 tp->t_state &= ~TS_BUSY;
163 tp->t_state |= TS_TIMEOUT;
179 if ((tp->t_state & TS_ISOPEN) == 0) {
188 tp->t_state = TS_ISOPEN | TS_CARR_ON;
  /src/sys/arch/amiga/dev/
msc.c 395 if ((tp->t_state & TS_ISOPEN) == 0 && tp->t_wopen == 0) {
420 tp->t_state |= TS_CARR_ON;
422 tp->t_state &= ~TS_CARR_ON;
444 while ((tp->t_state & TS_CARR_ON) == 0 && (tp->t_cflag & CLOCAL) == 0) {
465 if ((flag & O_TRUNC) && (tp->t_state & TS_TTSTOP)) {
466 tp->t_state &= ~TS_TTSTOP;
615 (tp->t_state & TS_ISOPEN) && tp->t_wopen == 0) {
638 (tp->t_state & TS_ISOPEN) && tp->t_wopen == 0) {
664 if (tp && (tp->t_state & TS_ISOPEN) && tp->t_wopen == 0) {
696 if (tp->t_state & TS_TBLOCK)
    [all...]
mfc.c 520 if ((tp->t_state & TS_ISOPEN) == 0 && tp->t_wopen == 0) {
547 tp->t_state |= TS_CARR_ON;
549 tp->t_state &= ~TS_CARR_ON;
561 while ((tp->t_state & TS_CARR_ON) == 0 && (tp->t_cflag & CLOCAL) == 0) {
572 if ((flag & O_TRUNC) && (tp->t_state & TS_TTSTOP)) {
573 tp->t_state &= ~TS_TTSTOP;
613 (tp->t_state & TS_ISOPEN) == 0)
827 if ((tp->t_state & TS_ISOPEN) == 0)
833 if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP))
837 if (!ttypull(tp) || (tp->t_state & TS_BUSY)
    [all...]
ser.c 312 if ((tp->t_state & TS_ISOPEN) == 0 && tp->t_wopen == 0) {
367 if (!(tp->t_state & TS_ISOPEN) && tp->t_wopen == 0) {
385 if (!(tp->t_state & TS_ISOPEN))
391 if (!(tp->t_state & TS_ISOPEN) && tp->t_wopen == 0) {
547 while (sbcnt > 0 && (tp->t_state & TS_TBLOCK) == 0) {
569 if (sbcnt == 0 && (tp->t_state & TS_TBLOCK) == 0)
587 if ((tp->t_state & TS_ISOPEN) == 0) {
647 if ((tp->t_state & TS_ISOPEN) == 0 || tp->t_wopen == 0) {
670 if ((istat & CIAB_PRA_CTS) && (tp->t_state & TS_ISOPEN) &&
675 tp->t_state &= ~TS_TTSTOP
    [all...]
  /src/sys/arch/emips/ebus/
dz_ebus.c 155 if ((tp->t_state & TS_ISOPEN) == 0) {
169 tp->t_state |= TS_CARR_ON;
172 !(tp->t_state & TS_CARR_ON)) {
204 if ((tp->t_cflag & HUPCL) || tp->t_wopen || !(tp->t_state & TS_ISOPEN))
301 if (tp->t_state & TS_BUSY)
302 if (!(tp->t_state & TS_TTSTOP))
303 tp->t_state |= TS_FLUSH;
341 if (tp->t_state & (TS_TIMEOUT|TS_BUSY|TS_TTSTOP)) {
352 tp->t_state |= TS_BUSY;
540 if (!(tp->t_state & TS_ISOPEN))
    [all...]
  /src/sys/arch/sparc64/dev/
pcons.c 148 if (!(tp->t_state & TS_ISOPEN)) {
158 tp->t_state |= TS_CARR_ON;
236 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) {
240 tp->t_state |= TS_BUSY;
246 tp->t_state &= ~TS_BUSY;
248 tp->t_state |= TS_TIMEOUT;
272 if (tp && (tp->t_state & TS_ISOPEN))
kd.c 190 if ((tp->t_state & TS_ISOPEN) == 0) {
213 tp->t_state |= TS_CARR_ON;
232 if ((tp->t_state & TS_ISOPEN) == 0)
323 if (tp->t_state & (TS_BUSY|TS_TTSTOP|TS_TIMEOUT))
329 tp->t_state |= TS_BUSY;
335 tp->t_state &= ~TS_BUSY;
369 tp->t_state &= ~TS_BUSY;
432 if ((tp->t_state & TS_ISOPEN) == 0)
  /src/sys/arch/sun2/dev/
pcons.c 146 if ((tp->t_state & TS_ISOPEN) == 0) {
156 tp->t_state |= TS_CARR_ON;
236 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) {
240 tp->t_state |= TS_BUSY;
246 tp->t_state &= ~TS_BUSY;
248 tp->t_state |= TS_TIMEOUT;
275 if (tp && (tp->t_state & TS_ISOPEN))
kd.c 233 if ((tp->t_state & TS_ISOPEN) == 0) {
256 tp->t_state |= TS_CARR_ON;
275 if ((tp->t_state & TS_ISOPEN) == 0)
369 if (tp->t_state & (TS_BUSY|TS_TTSTOP|TS_TIMEOUT))
375 tp->t_state |= TS_BUSY;
381 tp->t_state &= ~TS_BUSY;
414 tp->t_state &= ~TS_BUSY;
477 if ((tp->t_state & TS_ISOPEN) == 0)
  /src/sys/dev/ofw/
ofcons.c 140 if (!(tp->t_state & TS_ISOPEN)) {
150 tp->t_state |= TS_CARR_ON;
226 if (tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP)) {
230 tp->t_state |= TS_BUSY;
235 tp->t_state &= ~TS_BUSY;
237 tp->t_state |= TS_TIMEOUT;
260 if (tp && (tp->t_state & TS_ISOPEN))
  /src/sys/dev/virtio/
viocon.c 356 if (ndone && ISSET(tp->t_state, TS_BUSY)) {
357 CLR(tp->t_state, TS_BUSY);
438 if (ISSET(tp->t_state, TS_BUSY)) {
440 CLR(tp->t_state, TS_BUSY);
444 if (ISSET(tp->t_state, TS_TIMEOUT | TS_TTSTOP))
454 SET(tp->t_state, TS_BUSY);
538 if (!ISSET(tp->t_state, TS_ISOPEN) && tp->t_wopen == 0) {
567 if (!ISSET(tp->t_state, TS_ISOPEN))
575 CLR(tp->t_state, TS_BUSY | TS_FLUSH);
614 if (ISSET(tp->t_state, TS_BUSY)
    [all...]
  /src/sys/arch/sparc/dev/
kd.c 219 if ((tp->t_state & TS_ISOPEN) == 0) {
241 tp->t_state |= TS_CARR_ON;
260 if ((tp->t_state & TS_ISOPEN) == 0)
351 if (tp->t_state & (TS_BUSY|TS_TTSTOP|TS_TIMEOUT))
355 tp->t_state |= TS_BUSY;
361 tp->t_state &= ~TS_BUSY;
385 tp->t_state &= ~TS_BUSY;
429 if ((tp->t_state & TS_ISOPEN) == 0)
  /src/sys/dev/qbus/
dhu.c 342 if (!(tp->t_state & TS_CARR_ON))
345 else if ((tp->t_state & TS_CARR_ON) &&
353 (tp->t_state & TS_ISOPEN) &&
356 tp->t_state &= ~TS_TTSTOP;
359 tp->t_state |= TS_TTSTOP;
366 if (!(tp->t_state & TS_ISOPEN)) {
407 tp->t_state &= ~TS_BUSY;
408 if (tp->t_state & TS_FLUSH)
409 tp->t_state &= ~TS_FLUSH;
461 if ((tp->t_state & TS_ISOPEN) == 0)
    [all...]
  /src/sys/netinet/
tcp_timer.c 348 ostate = tp->t_state;
427 if (tp->t_state == TCPS_SYN_SENT)
470 ostate = tp->t_state;
533 ostate = tp->t_state;
542 if (TCPS_HAVEESTABLISHED(tp->t_state) == 0)
547 tp->t_state <= TCPS_CLOSE_WAIT) {
619 ostate = tp->t_state;
628 if (tp->t_state != TCPS_TIME_WAIT &&
  /src/sys/arch/hp300/dev/
dcm.c 519 if ((tp->t_state & TS_ISOPEN) == 0 && tp->t_wopen == 0) {
547 tp->t_state |= TS_CARR_ON;
556 (tp->t_state & TS_CARR_ON) ? '1' : '0');
566 device_xname(sc->sc_dev), port, tp->t_state, tp->t_flags);
593 (tp->t_state & TS_ISOPEN) == 0)
598 device_xname(sc->sc_dev), port, tp->t_state, tp->t_flags);
822 if ((tp->t_state & TS_ISOPEN) == 0) {
908 if (tp == NULL || (tp->t_state & TS_ISOPEN) == 0)
911 tp->t_state &= ~TS_BUSY;
912 if (tp->t_state & TS_FLUSH
    [all...]

Completed in 24 milliseconds

1 2 3 4