MCPcopy Create free account
hub / github.com/F-Stack/f-stack / device_print_child

Function device_print_child

freebsd/kern/subr_bus.c:1830–1841  ·  view source on GitHub ↗

* @internal * @brief Print a description of a device. */

Source from the content-addressed store, hash-verified

1828 * @brief Print a description of a device.
1829 */
1830static int
1831device_print_child(device_t dev, device_t child)
1832{
1833 int retval = 0;
1834
1835 if (device_is_alive(child))
1836 retval += BUS_PRINT_CHILD(dev, child);
1837 else
1838 retval += device_printf(child, " not found\n");
1839
1840 return (retval);
1841}
1842
1843/**
1844 * @brief Create a new device

Callers 1

device_attachFunction · 0.85

Calls 2

device_is_aliveFunction · 0.85
device_printfFunction · 0.85

Tested by

no test coverage detected