Lines Matching defs:fd_notify
42 static int fd_notify;
128 SAFE_CLOSE(fd_notify);
158 fd_notify = fanotify_init(FANOTIFY_REQUIRED_USER_INIT_FLAGS, O_RDONLY);
160 if (fd_notify < 0) {
172 if (fanotify_mark(fd_notify, FAN_MARK_ADD, FAN_ALL_EVENTS,
177 fd_notify,
195 len = SAFE_READ(0, fd_notify, event_buf + len, EVENT_BUF_LEN - len);
260 SAFE_CLOSE(fd_notify);
276 if (fd_notify > 0)
277 SAFE_CLOSE(fd_notify);