Home | History | Annotate | Download | only in inotify

Lines Matching refs:fd_notify

70 static int fd_notify, reap_wd;
110 int len = read(fd_notify, event_buf, EVENT_BUF_LEN);
114 fd_notify, EVENT_BUF_LEN);
178 fd_notify = myinotify_init1(O_NONBLOCK);
179 if (fd_notify < 0) {
190 if ((wd = myinotify_add_watch(fd_notify, FILE_PATH,
195 fd_notify);
217 if (reap_wd && myinotify_rm_watch(fd_notify, wd) < 0) {
219 "inotify_rm_watch (%d, %d) failed,", fd_notify, wd);
223 if (fd_notify > 0)
224 SAFE_CLOSE(fd_notify);