Lines Matching refs:watch_task
118 WatchTask& watch_task = it.second; in UpdateWatchTasksLocked() local
120 if (!watch_task.pending) in UpdateWatchTasksLocked()
123 watch_task.poll_fd_index = poll_fds_.size(); in UpdateWatchTasksLocked()
213 WatchTask& watch_task = it->second; in RunFileDescriptorWatch() local
223 PERFETTO_DCHECK(watch_task.pending); in RunFileDescriptorWatch()
224 watch_task.pending = false; in RunFileDescriptorWatch()
226 size_t fd_index = watch_task.poll_fd_index; in RunFileDescriptorWatch()
231 task = watch_task.callback; in RunFileDescriptorWatch()
275 WatchTask& watch_task = watch_tasks_[fd]; in AddFileDescriptorWatch() local
276 watch_task.callback = std::move(task); in AddFileDescriptorWatch()
278 watch_task.pending = false; in AddFileDescriptorWatch()
280 watch_task.poll_fd_index = SIZE_MAX; in AddFileDescriptorWatch()