Searched refs:buses (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dbus.c94 descriptor_t **buses; local
98 buses = cache_get_descriptors(DM_BUS, errp);
103 for (i = 0; buses[i]; i++) {
104 if (libdiskmgt_str_eq(name, buses[i]->p.bus->name)) {
105 bus = buses[i];
108 cache_free_descriptor(buses[i]);
111 free(buses);
166 descriptor_t **buses; local
183 buses = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
184 if (buses
[all...]
H A Dcontroller.c206 descriptor_t **buses; local
212 buses = (descriptor_t **)calloc(2, sizeof (descriptor_t *));
213 if (buses == NULL) {
219 buses[pos++] = cache_get_desc(DM_BUS, cp->bus, NULL, NULL, errp);
221 cache_free_descriptors(buses);
225 buses[pos] = NULL;
228 return (buses);
/osnet-11/usr/src/lib/fm/topo/modules/sun4u/hostbridge/common/
H A Dhb_sun4u.c51 * sanity check that we have the correct number of buses/root
52 * complexes in the list to have the same number of buses on
64 topo_mod_dprintf(mod, "%d buses total.\n", bt);
77 topo_mod_dprintf(mod, "No pci buses found.\n");
84 * PCI buses or root complexes. We've sorted them into a
94 * As each node was examined, we then sorted these buses/root
96 * amongst buses/root complexes with the same value for X2.
100 * that sorting by X1 within buses/root complexes with equal
102 * buses/root complexes and bridges.
115 busorrc_t *buses local
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpci.c265 unsigned int devfn, bus, buses; local
288 /* Scan all PCI buses, until we find our card.
289 * We could be smart only scan the required buses but that
291 * By scanning all possible pci buses in order we should find
294 buses=256;
295 for (bus = first_bus; bus < buses; ++bus) {

Completed in 45 milliseconds