Home
last modified time | relevance | path

Searched refs:curdev (Results 1 – 9 of 9) sorted by relevance

/netbsd/sys/kern/
H A Dkern_pmf.c206 device_t curdev; in pmf_check_system_drivers() local
211 for (curdev = deviter_first(&di, 0); curdev != NULL; in pmf_check_system_drivers()
232 device_t curdev; in pmf_system_bus_resume() local
303 device_t curdev; in pmf_system_suspend() local
352 device_t curdev; in shutdown_all() local
356 for (curdev = shutdown_first(&s); curdev != NULL; in shutdown_all()
769 device_t curdev; in pmf_device_recursive_suspend() local
775 for (curdev = deviter_first(&di, 0); curdev != NULL; in pmf_device_recursive_suspend()
821 device_t curdev; in pmf_device_descendants_release() local
824 for (curdev = deviter_first(&di, 0); curdev != NULL; in pmf_device_descendants_release()
[all …]
H A Dsubr_autoconf.c2404 device_t curdev; in config_detach_all() local
2418 for (curdev = shutdown_first(&s); curdev != NULL; in config_detach_all()
2419 curdev = shutdown_next(&s)) { in config_detach_all()
2420 aprint_debug(" detaching %s, ", device_xname(curdev)); in config_detach_all()
2421 if (config_detach(curdev, flags) == 0) { in config_detach_all()
/netbsd/external/bsd/libpcap/dist/
H A Dpcap.c949 pcap_if_t *curdev;
1105 pcap_if_t *curdev;
1115 return (curdev);
1145 pcap_if_t *curdev;
1150 for (curdev = devlistp->beginning; curdev != NULL;
1151 curdev = curdev->next) {
1198 free(curdev);
1215 free(curdev);
1293 return (curdev);
1305 for (curdev = alldevs; curdev != NULL; curdev = nextdev) {
[all …]
H A Dpcap-npf.c1426 pcap_if_t *curdev; in pcap_add_if_npf() local
1436 curdev = add_dev(devlistp, name, flags, description, errbuf); in pcap_add_if_npf()
1437 if (curdev == NULL) { in pcap_add_if_npf()
1468 res = add_addr_to_dev(curdev, in pcap_add_if_npf()
H A Dpcap-dos.c563 pcap_if_t *curdev; in pcap_platform_finddevs() local
588 if ((curdev = add_dev(devlistp, dev->name, 0, in pcap_platform_finddevs()
607 if (add_addr_to_dev(curdev, addr, sizeof(*addr), in pcap_platform_finddevs()
/netbsd/sys/dev/acpi/
H A Dthinkpad_acpi.c216 device_t curdev; in thinkpad_attach() local
232 for (curdev = deviter_first(&di, DEVITER_F_ROOT_FIRST); in thinkpad_attach()
233 curdev != NULL; curdev = deviter_next(&di)) in thinkpad_attach()
234 if (device_is_a(curdev, "acpiecdt") || in thinkpad_attach()
235 device_is_a(curdev, "acpiec")) { in thinkpad_attach()
236 sc->sc_ecdev = curdev; in thinkpad_attach()
/netbsd/sys/arch/powerpc/pci/
H A Dpci_machdep_ofw.c197 int curdev, foundirqs=0; in genofw_setup_pciintr_map() local
226 curdev = -1; in genofw_setup_pciintr_map()
237 if (curdev != dev) in genofw_setup_pciintr_map()
248 if (curdev != dev) { in genofw_setup_pciintr_map()
250 curdev = dev; in genofw_setup_pciintr_map()
/netbsd/usr.bin/find/
H A Dfunction.c1056 static dev_t curdev; /* need a guaranteed illegal dev value */ in f_fstype() local
1066 if (first || curdev != entry->fts_statp->st_dev) { in f_fstype()
1067 curdev = entry->fts_statp->st_dev; in f_fstype()
/netbsd/sys/dev/hdaudio/
H A Dhdafg.c998 uint32_t conn, defdev, curdev, curport; in hdafg_assoc_dump() local
1030 for (curdev = 0; curdev < 16; curdev++) { in hdafg_assoc_dump()
1032 if ((devmask & (1 << curdev)) == 0) in hdafg_assoc_dump()
1039 hdafg_default_device[curdev]); in hdafg_assoc_dump()
1056 if (conn != curport || defdev != curdev) in hdafg_assoc_dump()
1077 if (conn != curport || defdev != curdev) in hdafg_assoc_dump()