Searched refs:devdir (Results 1 – 3 of 3) sorted by relevance
251 DIR *busdir, *devdir; in find_usb_device() local263 devdir = opendir(busname); in find_usb_device()264 if(devdir == 0) continue; in find_usb_device()267 while((de = readdir(devdir)) && (usb == 0)) { in find_usb_device()304 closedir(devdir); in find_usb_device()
137 DIR *busdir , *devdir ; in find_usb_device() local148 devdir = opendir(busname); in find_usb_device()149 if(devdir == 0) continue; in find_usb_device()152 while((de = readdir(devdir))) { in find_usb_device()302 closedir(devdir); in find_usb_device()
96 DIR *devdir; in find_existing_devices_bus() local100 devdir = opendir(busname); in find_existing_devices_bus()101 if(devdir == 0) return 0; in find_existing_devices_bus()103 while ((de = readdir(devdir)) && !done) { in find_existing_devices_bus()109 closedir(devdir); in find_existing_devices_bus()