Searched refs:notifyFd (Results 1 – 2 of 2) sorted by relevance
76 int notifyFd = inotify_init(); in EvsHotplugThread() local77 if (notifyFd < 0) { in EvsHotplugThread()82 auto watchFd = inotify_add_watch(notifyFd, kDevicePath.data(), IN_CREATE | IN_DELETE); in EvsHotplugThread()92 size_t len = read(notifyFd, eventBuf, sizeof(eventBuf)); in EvsHotplugThread()
87 auto notifyFd = inotify_init(); in EvsHotplugThread() local88 if (notifyFd < 0) { in EvsHotplugThread()93 int watchFd = inotify_add_watch(notifyFd, kDevicePath.data(), IN_CREATE | IN_DELETE); in EvsHotplugThread()103 size_t len = read(notifyFd, eventBuf, sizeof(eventBuf)); in EvsHotplugThread()