Lines Matching refs:wd
41 int wd;
52 if (a->wd < b->wd) return -1;
53 if (a->wd > b->wd) return 1;
151 static struct watcher_list* find_watcher(uv_loop_t* loop, int wd) {
153 w.wd = wd;
162 inotify_rm_watch(loop->inotify_fd, w->wd);
203 w = find_watcher(loop, e->wd);
257 int wd;
275 wd = inotify_add_watch(handle->loop->inotify_fd, path, events);
276 if (wd == -1)
279 w = find_watcher(handle->loop, wd);
288 w->wd = wd;
299 handle->wd = wd;
311 w = find_watcher(handle->loop, handle->wd);
314 handle->wd = -1;