| /dflybsd-src/sys/dev/acpica/ |
| H A D | acpi_pci.c | 252 device_t *devlist; in acpi_pci_save_handle() local 262 if (device_get_children((device_t)context, &devlist, &devcount) != 0) in acpi_pci_save_handle() 265 dinfo = device_get_ivars(devlist[i]); in acpi_pci_save_handle() 269 acpi_pci_update_device(handle, devlist[i]); in acpi_pci_save_handle() 273 kfree(devlist, M_TEMP); in acpi_pci_save_handle() 327 device_t acpi_dev, child, *devlist; in acpi_pci_suspend() local 331 device_get_children(dev, &devlist, &numdevs); in acpi_pci_suspend() 338 child = devlist[i]; in acpi_pci_suspend() 348 kfree(devlist, M_TEMP); in acpi_pci_suspend() 360 child = devlist[i]; in acpi_pci_suspend() [all …]
|
| H A D | acpi.c | 754 device_t child, *devlist; in acpi_suspend() local 767 device_get_children(dev, &devlist, &numdevs); in acpi_suspend() 770 child = devlist[i]; in acpi_suspend() 784 kfree(devlist, M_TEMP); in acpi_suspend() 795 device_t child, *devlist; in acpi_resume() local 801 device_get_children(dev, &devlist, &numdevs); in acpi_resume() 803 child = devlist[i]; in acpi_resume() 810 kfree(devlist, M_TEMP); in acpi_resume() 893 device_t child, *devlist; in acpi_driver_added() local 897 device_get_children(dev, &devlist, &numdevs); in acpi_driver_added() [all …]
|
| /dflybsd-src/sys/dev/pccard/cardbus/ |
| H A D | cardbus.c | 224 device_t *devlist; in cardbus_detach_card() local 228 if (device_get_children(cbdev, &devlist, &numdevs) != 0) in cardbus_detach_card() 232 kfree(devlist, M_TEMP); in cardbus_detach_card() 237 struct cardbus_devinfo *dinfo = device_get_ivars(devlist[tmp]); in cardbus_detach_card() 238 int status = device_get_state(devlist[tmp]); in cardbus_detach_card() 240 if (dinfo->pci.cfg.dev != devlist[tmp]) in cardbus_detach_card() 243 device_detach(devlist[tmp]); in cardbus_detach_card() 245 device_delete_child(cbdev, devlist[tmp]); in cardbus_detach_card() 249 kfree(devlist, M_TEMP); in cardbus_detach_card() 257 device_t *devlist; in cardbus_driver_added() local [all …]
|
| /dflybsd-src/sys/dev/netif/mii_layer/ |
| H A D | mlphy.c | 203 device_t *devlist; in mlphy_service() local 211 device_get_children(msc->ml_mii.mii_dev, &devlist, &devs); in mlphy_service() 213 if (strcmp(device_get_name(devlist[i]), "mlphy")) { in mlphy_service() 214 other = device_get_softc(devlist[i]); in mlphy_service() 218 kfree(devlist, M_TEMP); in mlphy_service() 415 device_t *devlist; in mlphy_status() local 419 device_get_children(msc->ml_mii.mii_dev, &devlist, &devs); in mlphy_status() 421 if (strcmp(device_get_name(devlist[i]), "mlphy")) { in mlphy_status() 422 other = device_get_softc(devlist[i]); in mlphy_status() 426 kfree(devlist, M_TEMP); in mlphy_status()
|
| H A D | tlphy.c | 172 device_t *devlist; in tlphy_attach() local 175 device_get_children(sc->sc_mii.mii_dev, &devlist, &devs); in tlphy_attach() 177 if (strcmp(device_get_name(devlist[i]), "tlphy")) { in tlphy_attach() 178 other = device_get_softc(devlist[i]); in tlphy_attach() 183 kfree(devlist, M_TEMP); in tlphy_attach()
|
| /dflybsd-src/sys/dev/raid/mfi/ |
| H A D | mfi_pci.c | 308 device_t *devlist; in mfi_pci_detach() local 323 if ((error = device_get_children(sc->mfi_dev, &devlist, &devcount)) != 0) { in mfi_pci_detach() 328 device_delete_child(sc->mfi_dev, devlist[i]); in mfi_pci_detach() 329 kfree(devlist, M_TEMP); in mfi_pci_detach()
|
| /dflybsd-src/contrib/tcpdump/ |
| H A D | tcpdump.c | 508 pcap_if_t *dev, *devlist; in show_devices_and_exit() local 512 if (pcap_findalldevs(&devlist, ebuf) < 0) in show_devices_and_exit() 514 for (i = 0, dev = devlist; dev != NULL; i++, dev = dev->next) { in show_devices_and_exit() 564 pcap_freealldevs(devlist); in show_devices_and_exit() 573 pcap_if_t *dev, *devlist; in show_remote_devices_and_exit() local 577 if (pcap_findalldevs_ex(remote_interfaces_source, NULL, &devlist, in show_remote_devices_and_exit() 580 for (i = 0, dev = devlist; dev != NULL; i++, dev = dev->next) { in show_remote_devices_and_exit() 588 pcap_freealldevs(devlist); in show_remote_devices_and_exit() 1168 pcap_if_t *dev, *devlist; in find_interface_by_number() local 1211 status = pcap_findalldevs_ex(host_url, NULL, &devlist, ebuf); in find_interface_by_number() [all …]
|
| /dflybsd-src/sys/dev/sound/pci/ |
| H A D | hdspe.c | 92 device_t *devlist; in hdspe_intr() local 100 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in hdspe_intr() 104 scp = device_get_ivars(devlist[i]); in hdspe_intr() 110 kfree(devlist, M_TEMP); in hdspe_intr()
|
| H A D | hdspe-pcm.c | 196 device_t *devlist; in hdspe_running() local 198 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in hdspe_running() 202 scp = device_get_ivars(devlist[i]); in hdspe_running() 210 kfree(devlist, M_TEMP); in hdspe_running() 218 kfree(devlist, M_TEMP); in hdspe_running()
|
| /dflybsd-src/usr.sbin/ppp/ |
| H A D | physical.c | 198 memcpy(p->cfg.devlist, MODEM_LIST, sizeof MODEM_LIST); in physical_Create() 464 dev = p->cfg.devlist; in physical_ShowStatus() 773 p->cfg.devlist[sizeof p->cfg.devlist - 1] = '\0'; in physical_SetDeviceList() 774 for (f = 0, pos = 0; f < argc && pos < sizeof p->cfg.devlist - 1; f++) { in physical_SetDeviceList() 776 p->cfg.devlist[pos++] = '\0'; in physical_SetDeviceList() 777 strncpy(p->cfg.devlist + pos, argv[f], sizeof p->cfg.devlist - pos - 1); in physical_SetDeviceList() 778 pos += strlen(p->cfg.devlist + pos); in physical_SetDeviceList() 1008 dev = p->cfg.devlist; in physical_Open()
|
| H A D | physical.h | 109 char devlist[LINE_LEN]; /* NUL separated list of devices */ member
|
| /dflybsd-src/sys/bus/mmc/ |
| H A D | mmc.c | 1404 device_t *devlist; in mmc_discover_cards() local 1424 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in mmc_discover_cards() 1427 ivar = device_get_ivars(devlist[i]); in mmc_discover_cards() 1433 kfree(devlist, M_TEMP); in mmc_discover_cards() 1717 device_t *devlist; in mmc_rescan_cards() local 1720 if ((err = device_get_children(sc->dev, &devlist, &devcount)) != 0) in mmc_rescan_cards() 1723 ivar = device_get_ivars(devlist[i]); in mmc_rescan_cards() 1728 device_delete_child(sc->dev, devlist[i]); in mmc_rescan_cards() 1732 kfree(devlist, M_TEMP); in mmc_rescan_cards() 1740 device_t *devlist; in mmc_delete_cards() local [all …]
|
| /dflybsd-src/sys/dev/pccard/pccbb/ |
| H A D | pccbb.c | 284 device_t *devlist; in cbb_detach() local 288 device_get_children(brdev, &devlist, &numdevs); in cbb_detach() 292 if (device_detach(devlist[tmp]) == 0) in cbb_detach() 293 device_delete_child(brdev, devlist[tmp]); in cbb_detach() 297 kfree(devlist, M_TEMP); in cbb_detach() 400 device_t *devlist; in cbb_driver_added() local 407 device_get_children(brdev, &devlist, &numdevs); in cbb_driver_added() 409 dev = devlist[tmp]; in cbb_driver_added() 414 kfree(devlist, M_TEMP); in cbb_driver_added()
|
| /dflybsd-src/sys/dev/disk/nata/ |
| H A D | atapi-cam.c | 912 device_t *devlist; in atapi_cam_event_handler() local 917 if (devclass_get_devices(atapi_cam_devclass, &devlist, &devcount) in atapi_cam_event_handler() 920 if (devlist != NULL) { in atapi_cam_event_handler() 921 while (devlist != NULL && devcount > 0) { in atapi_cam_event_handler() 922 device_t child = devlist[--devcount]; in atapi_cam_event_handler() 929 kfree(devlist, M_TEMP); in atapi_cam_event_handler()
|
| /dflybsd-src/sys/dev/sound/pci/hda/ |
| H A D | hdacc.c | 679 device_t *devlist; in hdacc_pindump() local 682 if (device_get_children(dev, &devlist, &devcount) != 0) in hdacc_pindump() 685 HDAC_PINDUMP(devlist[i]); in hdacc_pindump() 686 kfree(devlist, M_TEMP); in hdacc_pindump()
|
| H A D | hdac.c | 1330 device_t *devlist; in sysctl_hdac_pindump() local 1352 if ((err = device_get_children(dev, &devlist, &devcount)) != 0) in sysctl_hdac_pindump() 1356 HDAC_PINDUMP(devlist[i]); in sysctl_hdac_pindump() 1358 kfree(devlist, M_TEMP); in sysctl_hdac_pindump() 1663 device_t *devlist; in hdac_detach() local 1666 if ((error = device_get_children(dev, &devlist, &devcount)) != 0) in hdac_detach() 1669 cad = (intptr_t)device_get_ivars(devlist[i]); in hdac_detach() 1670 if ((error = device_delete_child(dev, devlist[i])) != 0) { in hdac_detach() 1671 kfree(devlist, M_TEMP); in hdac_detach() 1676 kfree(devlist, M_TEMP); in hdac_detach()
|
| /dflybsd-src/sys/bus/pci/ |
| H A D | pci.c | 276 struct devlist pci_devq; 540 struct devlist *devlist_head; in pci_read_device() 2145 struct devlist *devlist_head; in pci_freecfg() 3156 device_t acpi_dev, child, *devlist; in pci_suspend() local 3166 device_get_children(dev, &devlist, &numdevs); in pci_suspend() 3168 child = devlist[i]; in pci_suspend() 3176 kfree(devlist, M_TEMP); in pci_suspend() 3188 child = devlist[i]; in pci_suspend() 3196 kfree(devlist, M_TEMP); in pci_suspend() 3204 device_t acpi_dev, child, *devlist; in pci_resume() local [all …]
|
| H A D | pcivar.h | 529 STAILQ_HEAD(devlist, pci_devinfo); 531 extern struct devlist pci_devq;
|
| H A D | pci_user.c | 305 struct devlist *devlist_head;
|
| /dflybsd-src/contrib/libpcap/ |
| H A D | pcap.c | 714 pcap_if_list_t devlist; in pcap_findalldevs() local 720 devlist.beginning = NULL; in pcap_findalldevs() 721 if (pcap_platform_finddevs(&devlist, errbuf) == -1) { in pcap_findalldevs() 726 if (devlist.beginning != NULL) in pcap_findalldevs() 727 pcap_freealldevs(devlist.beginning); in pcap_findalldevs() 737 if (capture_source_types[i].findalldevs_op(&devlist, errbuf) == -1) { in pcap_findalldevs() 742 if (devlist.beginning != NULL) in pcap_findalldevs() 743 pcap_freealldevs(devlist.beginning); in pcap_findalldevs() 752 *alldevsp = devlist.beginning; in pcap_findalldevs()
|
| /dflybsd-src/contrib/tcsh-6/ |
| H A D | complete.tcsh | 508 complete camcontrol 'p/1/(cmd debug defects devlist eject inquiry \
|