/freebsd-11-stable/sys/dev/bhnd/ |
H A D | bhnd.c | 98 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 D | isapnp.c | 233 int ndevs; local 236 ndevs = 0; 250 ndevs++; 270 return(ndevs);
|
/freebsd-11-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndb.c | 80 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 D | bios.c | 614 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 D | bcma.c | 60 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 D | siba.c | 60 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 D | pci_bus.c | 426 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 D | if_admswvar.h | 134 int ndevs; /* number of IFF_RUNNING interfaces */ member in struct:admsw_softc
|
H A D | if_admsw.c | 388 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 D | smbiostbl.c | 238 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 D | gpiobus.c | 467 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 D | spa.c | 4640 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 D | sbp_targ.c | 136 int ndevs; member in struct:sbp_targ_softc
|