| /freebsd-12.1/stand/common/ |
| H A D | isapnp.c | 233 int ndevs; in isapnp_isolation_protocol() local 236 ndevs = 0; in isapnp_isolation_protocol() 250 ndevs++; in isapnp_isolation_protocol() 270 return(ndevs); in isapnp_isolation_protocol()
|
| /freebsd-12.1/sys/dev/bhnd/ |
| H A D | bhnd.c | 133 int ndevs; in bhnd_delete_children() local 143 for (int i = 0; i < ndevs; i++) { in bhnd_delete_children() 191 int ndevs; in bhnd_generic_shutdown() local 198 error = bhnd_bus_get_children(dev, &devs, &ndevs, in bhnd_generic_shutdown() 204 for (int i = 0; i < ndevs; i++) { in bhnd_generic_shutdown() 228 int ndevs; in bhnd_generic_resume() local 235 error = bhnd_bus_get_children(dev, &devs, &ndevs, in bhnd_generic_resume() 241 for (int i = 0; i < ndevs; i++) { in bhnd_generic_resume() 267 int ndevs; in bhnd_generic_suspend() local 274 error = bhnd_bus_get_children(dev, &devs, &ndevs, in bhnd_generic_suspend() [all …]
|
| H A D | bhnd_subr.c | 565 int ndevs; in bhnd_bus_probe_children() local 569 error = bhnd_bus_get_children(bus, &devs, &ndevs, in bhnd_bus_probe_children() 575 for (int i = 0; i < ndevs; i++) { in bhnd_bus_probe_children()
|
| /freebsd-12.1/usr.sbin/bsdconfig/share/media/ |
| H A D | dos.subr | 57 local devs ndevs 59 f_count ndevs $devs 61 if [ ${ndevs:=0} -eq 0 ]; then 64 elif [ $ndevs -eq 1 ]; then
|
| H A D | usb.subr | 58 local devs ndevs 60 f_count ndevs $devs 62 if [ ${ndevs:=0} -eq 0 ]; then 65 elif [ $ndevs -eq 1 ]; then
|
| H A D | ufs.subr | 68 local devs ndevs 70 f_count ndevs $devs 72 if [ ${ndevs:=0} -eq 0 ]; then 92 elif [ $ndevs -eq 1 ]; then
|
| H A D | cdrom.subr | 59 local devs ndevs 61 f_count ndevs $devs 63 if [ ${ndevs:=0} -eq 0 ]; then 66 elif [ $ndevs -eq 1 ]; then
|
| H A D | floppy.subr | 58 local devs ndevs 60 f_count ndevs $devs 62 if [ ${ndevs:=0} -eq 0 ]; then 65 elif [ $ndevs -eq 1 ]; then
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | bios.c | 596 u_int16_t ndevs, bigdev; in pnpbios_identify() local 620 if ((error = bios16(&args, PNP_COUNT_DEVNODES, &ndevs, &bigdev)) || (args.r.eax & 0xff)) { in pnpbios_identify() 624 ndevs &= 0xff; /* clear high byte garbage */ in pnpbios_identify() 626 printf("pnpbios: %d devices, largest %d bytes\n", ndevs, bigdev); in pnpbios_identify() 637 for (currdev = 0, left = ndevs; (currdev != 0xff) && (left > 0); left--) { in pnpbios_identify()
|
| /freebsd-12.1/sys/x86/pci/ |
| H A D | pci_bus.c | 428 int ndevs, i; in legacy_pcib_identify() local 450 if (device_get_children(parent, &devs, &ndevs) == 0) { in legacy_pcib_identify() 451 for (i = 0; s != NULL && i < ndevs; i++) { in legacy_pcib_identify()
|
| /freebsd-12.1/sys/dev/gpio/ |
| H A D | gpiobus.c | 469 int i, err, ndevs; in gpiobus_detach() local 479 if ((err = device_get_children(dev, &devlist, &ndevs)) != 0) in gpiobus_detach() 481 for (i = 0; i < ndevs; i++) { in gpiobus_detach()
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | smbiostbl.c | 238 uint16_t ndevs; /* num of slots or sockets */ member 686 type16->ndevs = guest_himem > 0 ? 2 : 1; in smbios_type16_initializer()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | spa.c | 4648 spa_set_aux_vdevs(spa_aux_vdev_t *sav, nvlist_t **devs, int ndevs, argument 4666 (ndevs + oldndevs), KM_SLEEP); 4670 for (i = 0; i < ndevs; i++) 4678 config, newdevs, ndevs + oldndevs) == 0); 4679 for (i = 0; i < oldndevs + ndevs; i++) 4681 kmem_free(newdevs, (oldndevs + ndevs) * sizeof (void *)); 4689 devs, ndevs) == 0);
|
| /freebsd-12.1/sys/dev/firewire/ |
| H A D | sbp_targ.c | 138 int ndevs; member
|