Lines Matching refs:wd
264 int wd; member
2408 if (a->wd < b->wd) return -1; in compare_watchers()
2409 if (a->wd > b->wd) return 1; in compare_watchers()
2498 static struct watcher_list* find_watcher(uv_loop_t* loop, int wd) { in find_watcher() argument
2500 w.wd = wd; in find_watcher()
2510 inotify_rm_watch(loop->inotify_fd, w->wd); in maybe_free_watcher_list()
2552 w = find_watcher(loop, e->wd); in uv__inotify_read()
2607 int wd; in uv_fs_event_start() local
2627 wd = inotify_add_watch(loop->inotify_fd, path, events); in uv_fs_event_start()
2628 if (wd == -1) in uv_fs_event_start()
2631 w = find_watcher(loop, wd); in uv_fs_event_start()
2640 w->wd = wd; in uv_fs_event_start()
2651 handle->wd = wd; in uv_fs_event_start()
2663 w = find_watcher(handle->loop, handle->wd); in uv_fs_event_stop()
2666 handle->wd = -1; in uv_fs_event_stop()