Home | History | Annotate | Download | only in inotify

Lines Matching refs:fd_notify

68 static int fd_notify, reap_wd;
111 int len = read(fd_notify, event_buf, EVENT_BUF_LEN);
115 fd_notify, EVENT_BUF_LEN);
186 fd_notify = myinotify_init1(O_NONBLOCK);
187 if (fd_notify < 0) {
198 if ((wd = myinotify_add_watch(fd_notify, DIR_PATH, IN_ALL_EVENTS)) < 0) {
201 fd_notify);
221 if (reap_wd && myinotify_rm_watch(fd_notify, wd) < 0) {
223 "inotify_rm_watch (%d, %d) failed,", fd_notify, wd);
227 if (fd_notify > 0)
228 SAFE_CLOSE(fd_notify);