Home | History | Annotate | Download | only in inotify

Lines Matching refs:fd_notify

58 static int fd, fd_notify;
93 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
97 fd_notify, EVENT_BUF_LEN);
169 fd_notify = syscall(__NR_inotify_init1, O_NONBLOCK);
170 if (fd_notify < 0) {
180 wd = myinotify_add_watch(fd_notify, fname, IN_ALL_EVENTS);
184 fd_notify, fname);
193 if (fd_notify > 0 && myinotify_rm_watch(fd_notify, wd) == -1) {
195 fd_notify, wd);
199 if (fd_notify > 0 && close(fd_notify) == -1)
200 tst_resm(TWARN, "close(%d) failed", fd_notify);