Lines Matching refs:fd_notify
50 static int fd, fd_notify;
80 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
84 fd_notify, EVENT_BUF_LEN);
146 fd_notify = myinotify_init1(O_NONBLOCK);
147 if (fd_notify < 0) {
157 wd = myinotify_add_watch(fd_notify, fname, IN_ALL_EVENTS);
161 fd_notify, fname);
170 if (fd_notify > 0 && myinotify_rm_watch(fd_notify, wd) == -1) {
172 fd_notify, wd);
176 if (fd_notify > 0)
177 SAFE_CLOSE(fd_notify);