Lines Matching refs:wd
262 int wd; member
2452 if (a->wd < b->wd) return -1; in compare_watchers()
2453 if (a->wd > b->wd) return 1; in compare_watchers()
2542 static struct watcher_list* find_watcher(uv_loop_t* loop, int wd) { in find_watcher() argument
2544 w.wd = wd; in find_watcher()
2554 inotify_rm_watch(loop->inotify_fd, w->wd); in maybe_free_watcher_list()
2596 w = find_watcher(loop, e->wd); in uv__inotify_read()
2651 int wd; in uv_fs_event_start() local
2671 wd = inotify_add_watch(loop->inotify_fd, path, events); in uv_fs_event_start()
2672 if (wd == -1) in uv_fs_event_start()
2675 w = find_watcher(loop, wd); in uv_fs_event_start()
2684 w->wd = wd; in uv_fs_event_start()
2695 handle->wd = wd; in uv_fs_event_start()
2707 w = find_watcher(handle->loop, handle->wd); in uv_fs_event_stop()
2710 handle->wd = -1; in uv_fs_event_stop()