Lines Matching defs:watchers
38 QUEUE watchers;
87 /* Open the inotify_fd, and re-arm all the inotify watchers. */
103 QUEUE_INIT(&tmp_watcher_list.watchers);
112 QUEUE_MOVE(&watcher_list->watchers, &queue);
115 handle = QUEUE_DATA(q, uv_fs_event_t, watchers);
123 QUEUE_INSERT_TAIL(&watcher_list->watchers, q);
126 QUEUE_INSERT_TAIL(&tmp_watcher_list.watchers, &handle->watchers);
133 QUEUE_MOVE(&tmp_watcher_list.watchers, &queue);
137 handle = QUEUE_DATA(q, uv_fs_event_t, watchers);
158 /* if the watcher_list->watchers is being iterated over, we can't free it. */
159 if ((!w->iterating) && QUEUE_EMPTY(&w->watchers)) {
160 /* No watchers left for this path. Clean up. */
205 continue; /* Stale event, no watchers left. */
225 QUEUE_MOVE(&w->watchers, &queue);
228 h = QUEUE_DATA(q, uv_fs_event_t, watchers);
231 QUEUE_INSERT_TAIL(&w->watchers, q);
290 QUEUE_INIT(&w->watchers);
296 QUEUE_INSERT_TAIL(&w->watchers, &handle->watchers);
317 QUEUE_REMOVE(&handle->watchers);