Lines Matching refs:mask
156 int (*handle_event)(struct fsnotify_group *group, u32 mask,
160 int (*handle_inode_event)(struct fsnotify_mark *mark, u32 mask,
504 __u32 mask; member
541 extern int fsnotify(__u32 mask, const void *data, int data_type,
544 extern int __fsnotify_parent(struct dentry *dentry, __u32 mask, const void *data,
551 static inline __u32 fsnotify_parent_needed_mask(__u32 mask) in fsnotify_parent_needed_mask() argument
554 if (!(mask & FS_EVENT_ON_CHILD)) in fsnotify_parent_needed_mask()
561 return mask & FS_EVENTS_POSS_TO_PARENT; in fsnotify_parent_needed_mask()
636 static inline bool fsnotify_is_overflow_event(u32 mask) in fsnotify_is_overflow_event() argument
638 return mask & FS_Q_OVERFLOW; in fsnotify_is_overflow_event()
682 ignore_mask |= mark->mask & FS_EVENT_ON_CHILD; in fsnotify_ignore_mask()
697 static inline bool fsnotify_mask_applicable(__u32 mask, bool is_dir, in fsnotify_mask_applicable() argument
701 if (is_dir && !(mask & FS_ISDIR)) in fsnotify_mask_applicable()
706 !(mask & FS_EVENT_ON_CHILD)) in fsnotify_mask_applicable()
738 __u32 mask = mark->mask; in fsnotify_calc_mask() local
741 return mask; in fsnotify_calc_mask()
745 mask |= FS_MODIFY; in fsnotify_calc_mask()
751 return mask | mark->ignore_mask; in fsnotify_calc_mask()
828 static inline int fsnotify(__u32 mask, const void *data, int data_type, in fsnotify() argument
835 static inline int __fsnotify_parent(struct dentry *dentry, __u32 mask, in __fsnotify_parent() argument