Searched refs:constty (Results 1 - 8 of 8) sorted by relevance

/src/sys/arch/luna68k/stand/boot/
H A Dcons.c97 struct tty *constty = 0; /* virtual console output device */ variable in typeref:struct:tty *
/src/sys/dev/
H A Dcons.c94 struct tty *volatile constty; /* virtual console output device */ variable in typeref:struct:tty * volatile
254 tp = atomic_load_relaxed(&constty);
262 atomic_store_relaxed(&constty, NULL);
491 if ((ctp = atomic_load_consume(&constty)) != NULL && minor(dev) == 0 &&
/src/etc/rc.d/
H A Dwscons166 ttyE*|constty|console)
/src/sys/sys/
H A Dtty.h152 volatile unsigned t_refcnt; /* reference count for constty */
257 extern struct tty *volatile constty;
/src/sys/rump/librump/rumpkern/
H A Demul.c71 struct tty *constty; variable in typeref:struct:tty *
/src/sys/kern/
H A Dsubr_prf.c406 * Ensure whatever constty points to can't go away while we're
413 atomic_store_relaxed(&constty, NULL);
416 (ctp = atomic_load_consume(&constty)) != NULL &&
424 atomic_cas_ptr(&constty, tp, NULL);
H A Dtty.c478 * Make sure this is not the constty. Without constty_lock it
481 (void)atomic_cas_ptr(&constty, tp, NULL);
484 * We don't know if this has _ever_ been the constty: another
485 * thread may have kicked it out as constty before we started
529 * closed, e.g. by obtaining tp from constty during a pserialize
1137 ctp = atomic_load_relaxed(&constty);
1162 KASSERT(atomic_load_relaxed(&constty) == ctp ||
1163 atomic_load_relaxed(&constty) == NULL);
1164 atomic_store_release(&constty, tp);
1166 atomic_store_relaxed(&constty, NUL
[all...]
/src/etc/
H A DMAKEDEV.tmpl962 mkdev constty c %cons_chr% 1 600

Completed in 19 milliseconds