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

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dbus.c98 descriptor_t **buses; local
102 buses = cache_get_descriptors(DM_BUS, errp);
107 for (i = 0; buses[i]; i++) {
108 if (libdiskmgt_str_eq(name, buses[i]->p.bus->name)) {
109 bus = buses[i];
112 cache_free_descriptor(buses[i]);
115 free(buses);
170 descriptor_t **buses; local
187 buses = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
188 if (buses
[all...]
H A Dcontroller.c210 descriptor_t **buses; local
216 buses = (descriptor_t **)calloc(2, sizeof (descriptor_t *));
217 if (buses == NULL) {
223 buses[pos++] = cache_get_desc(DM_BUS, cp->bus, NULL, NULL, errp);
225 cache_free_descriptors(buses);
229 buses[pos] = NULL;
232 return (buses);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/hostbridge/
H A Dhb_sun4u.c54 * sanity check that we have the correct number of buses/root
55 * complexes in the list to have the same number of buses on
67 topo_mod_dprintf(mod, "%d buses total.\n", bt);
80 topo_mod_dprintf(mod, "No pci buses found.\n");
87 * PCI buses or root complexes. We've sorted them into a
97 * As each node was examined, we then sorted these buses/root
99 * amongst buses/root complexes with the same value for X2.
103 * that sorting by X1 within buses/root complexes with equal
105 * buses/root complexes and bridges.
118 busorrc_t *buses local
[all...]
/illumos-gate/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 60 milliseconds