Searched refs:ndevs (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/sys/dev/bhnd/
H A Dbhnd.c98 int ndevs; local
104 if ((error = device_get_children(dev, &devs, &ndevs)))
107 qsort(devs, ndevs, sizeof(*devs), compare_ascending_probe_order);
108 for (int i = 0; i < ndevs; i++) {
128 int ndevs; local
134 if ((error = device_get_children(dev, &devs, &ndevs)))
138 qsort(devs, ndevs, sizeof(*devs), compare_descending_probe_order);
139 for (int i = 0; i < ndevs; i++) {
163 int ndevs; local
169 if ((error = device_get_children(dev, &devs, &ndevs)))
198 int ndevs; local
234 int ndevs; local
[all...]
/freebsd-11-stable/stand/common/
H A Disapnp.c233 int ndevs; local
236 ndevs = 0;
250 ndevs++;
270 return(ndevs);
/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb.c80 int ndevs,
85 device_t *devs, int ndevs,
226 * @param ndevs The length of @p devs.
232 bhndb_initialize_region_cfg(struct bhndb_softc *sc, device_t *devs, int ndevs, argument
250 for (int i = 0; i < ndevs; i++) {
304 for (int i = 0; i < ndevs; i++) {
422 * @param ndevs The length of @p devs.
430 bhndb_find_hwspec(struct bhndb_softc *sc, device_t *devs, int ndevs, argument
438 if (!bhndb_hw_matches(devs, ndevs, next))
592 int ndevs; local
[all...]
/freebsd-11-stable/sys/i386/i386/
H A Dbios.c614 u_int16_t ndevs, bigdev; local
638 if ((error = bios16(&args, PNP_COUNT_DEVNODES, &ndevs, &bigdev)) || (args.r.eax & 0xff)) {
642 ndevs &= 0xff; /* clear high byte garbage */
644 printf("pnpbios: %d devices, largest %d bytes\n", ndevs, bigdev);
655 for (currdev = 0, left = ndevs; (currdev != 0xff) && (left > 0); left--) {
/freebsd-11-stable/sys/dev/bhnd/bcma/
H A Dbcma.c60 int ndevs; local
64 if ((error = device_get_children(dev, &devs, &ndevs)))
70 for (int i = 0; i < ndevs; i++) {
/freebsd-11-stable/sys/dev/bhnd/siba/
H A Dsiba.c60 int ndevs; local
68 if ((error = device_get_children(dev, &devs, &ndevs)))
71 for (int i = 0; i < ndevs; i++) {
/freebsd-11-stable/sys/x86/pci/
H A Dpci_bus.c426 int ndevs, i; local
448 if (device_get_children(parent, &devs, &ndevs) == 0) {
449 for (i = 0; s != NULL && i < ndevs; i++) {
/freebsd-11-stable/sys/mips/adm5120/
H A Dif_admswvar.h134 int ndevs; /* number of IFF_RUNNING interfaces */ member in struct:admsw_softc
H A Dif_admsw.c388 sc->ndevs = 0;
867 if (sc->ndevs == 0)
1090 if (sc->ndevs == 0) {
1109 sc->ndevs++;
1135 if (--sc->ndevs == 0) {
/freebsd-11-stable/usr.sbin/bhyve/
H A Dsmbiostbl.c238 uint16_t ndevs; /* num of slots or sockets */ member in struct:smbios_table_type16
686 type16->ndevs = guest_himem > 0 ? 2 : 1;
/freebsd-11-stable/sys/dev/gpio/
H A Dgpiobus.c467 int i, err, ndevs; local
477 if ((err = device_get_children(dev, &devlist, &ndevs)) != 0)
479 for (i = 0; i < ndevs; i++) {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c4640 spa_set_aux_vdevs(spa_aux_vdev_t *sav, nvlist_t **devs, int ndevs, argument
4658 (ndevs + oldndevs), KM_SLEEP);
4662 for (i = 0; i < ndevs; i++)
4670 config, newdevs, ndevs + oldndevs) == 0);
4671 for (i = 0; i < oldndevs + ndevs; i++)
4673 kmem_free(newdevs, (oldndevs + ndevs) * sizeof (void *));
4681 devs, ndevs) == 0);
/freebsd-11-stable/sys/dev/firewire/
H A Dsbp_targ.c136 int ndevs; member in struct:sbp_targ_softc

Completed in 285 milliseconds