Searched refs:devname (Results 1 – 3 of 3) sorted by relevance
85 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument92 struct usb_device *device = usb_device_open(devname); in usb_device_added()175 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument176 if (sDevice && !strcmp(usb_device_get_name(sDevice), devname)) { in usb_device_removed()
86 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument91 struct usb_device *device = usb_device_open(devname); in usb_device_added()197 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument200 if (current_device && !strcmp(usb_device_get_name(current_device), devname)) { in usb_device_removed()
1668 char devname[PATH_MAX]; in readNotifyLocked() local1685 strcpy(devname, DEVICE_PATH); in readNotifyLocked()1686 filename = devname + strlen(devname); in readNotifyLocked()1695 openDeviceLocked(devname); in readNotifyLocked()1697 ALOGI("Removing device '%s' due to inotify event\n", devname); in readNotifyLocked()1698 closeDeviceByPathLocked(devname); in readNotifyLocked()1710 char devname[PATH_MAX]; in scanDirLocked() local1717 strcpy(devname, dirname); in scanDirLocked()1718 filename = devname + strlen(devname); in scanDirLocked()1726 openDeviceLocked(devname); in scanDirLocked()