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

Function bus_deactivate_resource

freebsd/kern/subr_bus.c:4657–4663  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4655 * parent of @p dev.
4656 */
4657int
4658bus_deactivate_resource(device_t dev, int type, int rid, struct resource *r)
4659{
4660 if (dev->parent == NULL)
4661 return (EINVAL);
4662 return (BUS_DEACTIVATE_RESOURCE(dev->parent, dev, type, rid, r));
4663}
4664
4665/**
4666 * @brief Wrapper function for BUS_MAP_RESOURCE().

Callers 7

nexus_release_resourceFunction · 0.85
nexus_release_resourceFunction · 0.85
nexus_release_resourceFunction · 0.85
resource_list_releaseFunction · 0.85
nexus_release_resourceFunction · 0.85
dmar_release_resourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected