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

Function bus_get_domain

freebsd/kern/subr_bus.c:5066–5070  ·  view source on GitHub ↗

* @brief Wrapper function for BUS_GET_DOMAIN(). * * This function simply calls the BUS_GET_DOMAIN() method of the * parent of @p dev. */

Source from the content-addressed store, hash-verified

5064 * parent of @p dev.
5065 */
5066int
5067bus_get_domain(device_t dev, int *domain)
5068{
5069 return (BUS_GET_DOMAIN(device_get_parent(dev), dev, domain));
5070}
5071
5072/* Resume all devices and then notify userland that we're up again. */
5073static int

Callers 7

device_sysctl_initFunction · 0.70
device_set_driverFunction · 0.70
gicv3_its_attachFunction · 0.50
msi_allocFunction · 0.50
msix_allocFunction · 0.50
nexus_setup_intrFunction · 0.50
if_alloc_devFunction · 0.50

Calls 1

device_get_parentFunction · 0.85

Tested by

no test coverage detected