sys/kern/subr_bus.c
/* the _short versions avoid iteration by not calling anything that prints
 * more than oneliners. I love oneliners.
 */
the _short versions avoid iteration by not calling anything that prints
more than oneliners. I love oneliners.
the _short versions avoid iteration by not calling anything that prints more than oneliners . I love oneliners .
static void
print_device_short(device_t dev, int indent)
{
	if (!dev)
		return;
	indentprintf(("device %d: <%s> %sparent,%schildren,%s%s%s%s%s,%sivars,%ssoftc,busy=%d\n",
	    dev->unit, dev->desc,
	    (dev->parent? "":"no "),
	    (TAILQ_EMPTY(&dev->children)? "no ":""),
	    (dev->flags&DF_ENABLED? "enabled,":"disabled,"),
	    (dev->flags&DF_FIXEDCLASS? "fixed,":""),
	    (dev->flags&DF_WILDCARD? "wildcard,":""),
	    (dev->flags&DF_DESCMALLOCED? "descmalloced,":""),
	    (dev->flags&DF_REBID? "rebiddable,":""),
	    (dev->ivars? "":"no "),
	    (dev->softc? "":"no "),
	    dev->busy));
}
static void print_device_short ( device_t dev , int indent ) { if ( ! dev ) return ; indentprintf ( ( " \n " , dev -> unit , dev -> desc , ( dev -> parent ? " " : " " ) , ( TAILQ_EMPTY ( & dev -> children ) ? " " : " " ) , ( dev -> flags & DF_ENABLED ? " " : " " ) , ( dev -> flags & DF_FIXEDCLASS ? " " : " " ) , ( dev -> flags & DF_WILDCARD ? " " : " " ) , ( dev -> flags & DF_DESCMALLOCED ? " " : " " ) , ( dev -> flags & DF_REBID ? " " : " " ) , ( dev -> ivars ? " " : " " ) , ( dev -> softc ? " " : " " ) , dev -> busy ) ) ; }
the _short versions avoid iteration by not calling anything that prints
 more than oneliners.
the _short versions avoid iteration by not calling anything that prints more than oneliners .