Home
last modified time | relevance | path

Searched refs:vty_selected (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dkern_cons.c747 static unsigned vty_selected = 0; in vty_enabled()
749 if (vty_selected == 0) { in vty_enabled()
754 vty_selected = VTY_SC; in vty_enabled()
760 vty_selected = VTY_VT;
765 vty_selected = VTY_VT; in vty_set_preferred()
767 vty_selected = VTY_SC; in vty_set_preferred()
771 if (vty_selected == VTY_VT) in vty_set_preferred()
773 else if (vty_selected == VTY_SC)
776 return ((vty_selected & vty) != 0);
724 static unsigned vty_selected = 0; vty_enabled() local
H A Dkern_cons.c747 static unsigned vty_selected = 0; in vty_enabled() local
749 if (vty_selected == 0) { in vty_enabled()
754 vty_selected = VTY_SC; in vty_enabled()
760 vty_selected = VTY_VT; in vty_enabled()
765 vty_selected = VTY_VT; in vty_enabled()
767 vty_selected = VTY_SC; in vty_enabled()
771 if (vty_selected == VTY_VT) in vty_enabled()
773 else if (vty_selected == VTY_SC) in vty_enabled()
776 return ((vty_selected & vty) != 0); in vty_enabled()