Lines Matching refs:fid_mode
303 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in fanotify_group_event_mask() local
311 if (!fid_mode) { in fanotify_group_event_mask()
318 } else if (!(fid_mode & FAN_REPORT_FID)) { in fanotify_group_event_mask()
358 if (fid_mode) { in fanotify_group_event_mask()
483 static inline bool fanotify_report_child_fid(unsigned int fid_mode, u32 mask) in fanotify_report_child_fid() argument
486 return (fid_mode & FAN_REPORT_TARGET_FID); in fanotify_report_child_fid()
488 return (fid_mode & FAN_REPORT_FID) && !(mask & FAN_ONDIR); in fanotify_report_child_fid()
507 unsigned int fid_mode) in fanotify_fid_inode() argument
510 !(fid_mode & FAN_REPORT_TARGET_FID)) in fanotify_fid_inode()
718 unsigned int fid_mode = FAN_GROUP_FLAG(group, FANOTIFY_FID_BITS); in fanotify_alloc_event() local
720 fid_mode); in fanotify_alloc_event()
731 if ((fid_mode & FAN_REPORT_DIR_FID) && dirid) { in fanotify_alloc_event()
736 if (fanotify_report_child_fid(fid_mode, mask) && id != dirid) in fanotify_alloc_event()
754 if (!(fid_mode & FAN_REPORT_NAME)) { in fanotify_alloc_event()
816 } else if (fid_mode) { in fanotify_alloc_event()