Searched refs:FAN_ONDIR (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dfanotify.h111 #define FANOTIFY_EVENT_FLAGS (FAN_EVENT_ON_CHILD | FAN_ONDIR)
116 FAN_Q_OVERFLOW | FAN_ONDIR)
120 FAN_EVENT_ON_CHILD | FAN_ONDIR)
/linux-master/include/uapi/linux/
H A Dfanotify.h33 #define FAN_ONDIR 0x40000000 /* Event occurred against dir */ macro
/linux-master/fs/notify/fanotify/
H A Dfanotify.c144 * mask FAN_CREATE|FAN_DELETE|FAN_ONDIR if it describes mkdir+
301 bool ondir = event_mask & FAN_ONDIR;
343 * the child entry name information, we report FAN_ONDIR for mkdir/rmdir
346 * For backward compatibility and consistency, do not report FAN_ONDIR
347 * to user in legacy fanotify mode (reporting fd) and report FAN_ONDIR
484 return (fid_mode & FAN_REPORT_FID) && !(mask & FAN_ONDIR);
724 bool ondir = mask & FAN_ONDIR;
826 /* Mix event info, FAN_ONDIR flag and pid into event merge key */
908 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR);
H A Dfanotify_user.c172 (event->mask & FAN_ONDIR)) {
595 (event->mask & FAN_ONDIR)) {
605 (event->mask & FAN_ONDIR)) {
1068 * result in any events (e.g. mask == FAN_ONDIR) to support incremenal
1729 * flags FAN_ONDIR and FAN_EVENT_ON_CHILD in mask of non-dir inode,
1806 * Event flags (FAN_ONDIR, FAN_EVENT_ON_CHILD) have no effect with

Completed in 142 milliseconds