Home | History | Annotate | Download | only in fanotify

Lines Matching full:fd_notify

55 static int fd, fd_notify;
67 if (fanotify_mark(fd_notify, FAN_MARK_ADD, FAN_ACCESS | FAN_MODIFY |
72 "failed", fd_notify, fname);
94 ret = SAFE_READ(0, fd_notify, event_buf, EVENT_BUF_LEN);
112 ret = SAFE_READ(0, fd_notify, event_buf + len,
121 if (fanotify_mark(fd_notify,
127 "AT_FDCWD, %s) failed", fd_notify, fname);
140 ret = SAFE_READ(0, fd_notify, event_buf + len,
163 ret = SAFE_READ(0, fd_notify, event_buf + len,
171 if (fanotify_mark(fd_notify,
178 "FAN_CLOSE, AT_FDCWD, %s) failed", fd_notify,
196 ret = SAFE_READ(0, fd_notify, event_buf + len,
201 if (fanotify_mark(fd_notify,
207 "FAN_CLOSE, AT_FDCWD, %s) failed", fd_notify,
216 ret = SAFE_READ(0, fd_notify, event_buf + len,
303 if (fanotify_mark(fd_notify, FAN_MARK_REMOVE, FAN_ACCESS | FAN_MODIFY |
308 "failed", fd_notify, fname);
320 fd_notify = SAFE_FANOTIFY_INIT(FAN_CLASS_NOTIF, O_RDONLY);
325 if (fd_notify > 0)
326 SAFE_CLOSE(fd_notify);