Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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)
/kernel/linux/linux-5.10/include/linux/
H A Dfanotify.h67 #define FANOTIFY_EVENT_FLAGS (FAN_EVENT_ON_CHILD | FAN_ONDIR)
72 FAN_Q_OVERFLOW | FAN_ONDIR)
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dfanotify.h17 #define FAN_ONDIR 0x40000000 macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dfanotify.h30 #define FAN_ONDIR 0x40000000 /* Event occurred against dir */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dfanotify.h33 #define FAN_ONDIR 0x40000000 /* Event occurred against dir */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dfanotify.h40 #define FAN_ONDIR 0x40000000 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dfanotify.h40 #define FAN_ONDIR 0x40000000 macro
/kernel/linux/linux-6.6/fs/notify/fanotify/
H A Dfanotify.c150 * mask FAN_CREATE|FAN_DELETE|FAN_ONDIR if it describes mkdir+ in fanotify_should_merge()
305 bool ondir = event_mask & FAN_ONDIR; in fanotify_group_event_mask()
347 * the child entry name information, we report FAN_ONDIR for mkdir/rmdir in fanotify_group_event_mask()
350 * For backward compatibility and consistency, do not report FAN_ONDIR in fanotify_group_event_mask()
351 * to user in legacy fanotify mode (reporting fd) and report FAN_ONDIR in fanotify_group_event_mask()
488 return (fid_mode & FAN_REPORT_FID) && !(mask & FAN_ONDIR); in fanotify_report_child_fid()
728 bool ondir = mask & FAN_ONDIR; in fanotify_alloc_event()
830 /* Mix event info, FAN_ONDIR flag and pid into event merge key */ in fanotify_alloc_event()
920 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR); in fanotify_handle_event()
H A Dfanotify_user.c173 (event->mask & FAN_ONDIR)) { in fanotify_event_len()
596 (event->mask & FAN_ONDIR)) { in copy_info_records_to_user()
606 (event->mask & FAN_ONDIR)) { in copy_info_records_to_user()
1069 * result in any events (e.g. mask == FAN_ONDIR) to support incremenal in fanotify_mark_remove_from_mask()
1650 * flags FAN_ONDIR and FAN_EVENT_ON_CHILD in mask of non-dir inode, in fanotify_events_supported()
1727 * Event flags (FAN_ONDIR, FAN_EVENT_ON_CHILD) have no effect with in do_fanotify_mark()
/kernel/linux/linux-5.10/fs/notify/fanotify/
H A Dfanotify.c109 * mask FAN_CREATE|FAN_DELETE|FAN_ONDIR if it describes mkdir+ in fanotify_should_merge()
291 * the child entry name information, we report FAN_ONDIR for mkdir/rmdir in fanotify_group_event_mask()
294 * For backward compatibility and consistency, do not report FAN_ONDIR in fanotify_group_event_mask()
295 * to user in legacy fanotify mode (reporting fd) and report FAN_ONDIR in fanotify_group_event_mask()
550 id != dirid && !(mask & FAN_ONDIR)) in fanotify_alloc_event()
572 !(mask & FAN_ONDIR)) { in fanotify_alloc_event()
681 BUILD_BUG_ON(FAN_ONDIR != FS_ISDIR); in fanotify_handle_event()
H A Dfanotify_user.c78 } else if ((fid_mode & FAN_REPORT_NAME) && (event->mask & FAN_ONDIR)) { in fanotify_event_info_len()
395 (event->mask & FAN_ONDIR)) { in copy_event_to_user()
405 (event->mask & FAN_ONDIR)) { in copy_event_to_user()
736 * result in any events (e.g. mask == FAN_ONDIR) to support incremenal in fanotify_mark_remove_from_mask()

Completed in 10 milliseconds