Searched refs:wds (Results 1 – 1 of 1) sorted by relevance
70 int wds[MAX_USBFS_WD_COUNT]; member139 int *wds, int wd_count) in watch_existing_subdirs() argument144 wds[0] = inotify_add_watch(context->fd, USB_FS_DIR, IN_CREATE | IN_DELETE); in watch_existing_subdirs()145 if (wds[0] < 0) in watch_existing_subdirs()153 wds[i] = ret; in watch_existing_subdirs()202 context->wds[i] = -1; in usb_host_load()213 watch_existing_subdirs(context, context->wds, MAX_USBFS_WD_COUNT); in usb_host_load()244 watch_existing_subdirs(context, context->wds, MAX_USBFS_WD_COUNT); in usb_host_read_event()250 watch_existing_subdirs(context, context->wds, MAX_USBFS_WD_COUNT); in usb_host_read_event()254 if (context->wds[i] >= 0) { in usb_host_read_event()[all …]