Lines Matching refs:newWd
239 int newWd = inotify_add_watch(infos->notifyFd, destPath.c_str(), watchEvents);
240 if (newWd < 0) {
241 LOGE("inotify_add_watch, newWd is unvaild, newWd = %{public}d", newWd);
258 iter->second->wds.push_back({ newWd, receiveInfo });
675 int newWd = inotify_add_watch(infos->notifyFd, infos->destPath.c_str(), IN_MODIFY);
676 if (newWd < 0) {
685 inotify_rm_watch(infos->notifyFd, newWd);
690 callback->wds.push_back({ newWd, receiveInfo });