Lines Matching refs:resources
206 struct resource *r = hr->resources[i]; in bhndb_host_resource_for_range()
248 return (hr->resources[i]); in bhndb_host_resource_for_regwin()
461 res = r->res->resources[i]; in bhndb_alloc_resources()
648 bhndb_alloc_host_resources(struct bhndb_host_resources **resources, in bhndb_alloc_host_resources() argument
663 hr->resources = NULL; in bhndb_alloc_host_resources()
726 hr->resources = malloc(sizeof(hr->resources[0]) * nres, M_BHND, in bhndb_alloc_host_resources()
731 hr->resources); in bhndb_alloc_host_resources()
738 *resources = hr; in bhndb_alloc_host_resources()
745 if (hr->resources != NULL) in bhndb_alloc_host_resources()
746 free(hr->resources, M_BHND); in bhndb_alloc_host_resources()
767 bus_release_resources(hr->owner, hr->resource_specs, hr->resources); in bhndb_release_host_resources()
772 free(hr->resources, M_BHND); in bhndb_release_host_resources()