Searched refs:busdir (Results 1 – 3 of 3) sorted by relevance
308 DIR *busdir; in find_usb_device() local313 busdir = opendir(base); in find_usb_device()314 if(busdir == 0) return 0; in find_usb_device()316 while((de = readdir(busdir)) && (usb == 0)) { in find_usb_device()354 closedir(busdir); in find_usb_device()
137 DIR *busdir , *devdir ; in find_usb_device() local141 busdir = opendir(base); in find_usb_device()142 if(busdir == 0) return; in find_usb_device()144 while((de = readdir(busdir)) != 0) { in find_usb_device()304 closedir(busdir); in find_usb_device()
119 DIR *busdir; in find_existing_devices() local123 busdir = opendir(USB_FS_DIR); in find_existing_devices()124 if(busdir == 0) return 0; in find_existing_devices()126 while ((de = readdir(busdir)) != 0 && !done) { in find_existing_devices()133 closedir(busdir); in find_existing_devices()