Lines Matching refs:wds
142 int wd, wds[10];143 int wd_count = sizeof(wds) / sizeof(wds[0]);148 memset(wds, 0, sizeof(wds));150 wds[0] = inotify_add_watch(context->fd, USB_FS_DIR, IN_CREATE | IN_DELETE);151 if (wds[0] < 0) {163 wds[i] = ret;176 if (wd == wds[0]) {183 wds[i] = ret;187 if (wd == wds[i]) {