Home | History | Annotate | Download | only in fanotify

Lines Matching refs:fd_notify

41 static volatile int fd_notify;
95 close(fd_notify);
96 fd_notify = -1;
115 close(fd_notify);
146 fd_notify = SAFE_FANOTIFY_INIT(FAN_CLASS_CONTENT, O_RDONLY);
148 if (fanotify_mark(fd_notify, FAN_MARK_ADD | mark->flag,
164 fd_notify, mark->name, fname);
199 while (test_num < TST_TOTAL && fd_notify != -1) {
204 ret = read(fd_notify, event_buf + len,
206 if (fd_notify == -1)
211 fd_notify, EVENT_BUF_LEN);
244 SAFE_WRITE(1, fd_notify, &resp,
263 if (fd_notify > 0)
264 SAFE_CLOSE(fd_notify);
275 if (fd_notify > 0)
276 SAFE_CLOSE(fd_notify);