Lines Matching refs:mask
89 int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in __fsnotify_parent() argument
106 else if (p_inode->i_fsnotify_mask & mask) { in __fsnotify_parent()
109 mask |= FS_EVENT_ON_CHILD; in __fsnotify_parent()
112 ret = fsnotify(p_inode, mask, path, FSNOTIFY_EVENT_PATH, in __fsnotify_parent()
115 ret = fsnotify(p_inode, mask, dentry->d_inode, FSNOTIFY_EVENT_INODE, in __fsnotify_parent()
128 __u32 mask, void *data, in send_to_group() argument
142 if (mask & FS_MODIFY) { in send_to_group()
154 inode_test_mask = (mask & ~FS_EVENT_ON_CHILD); in send_to_group()
155 inode_test_mask &= inode_mark->mask; in send_to_group()
161 vfsmount_test_mask = (mask & ~FS_EVENT_ON_CHILD); in send_to_group()
163 vfsmount_test_mask &= vfsmount_mark->mask; in send_to_group()
172 __func__, group, to_tell, mask, inode_mark, in send_to_group()
180 vfsmount_mark, mask, data, data_is, in send_to_group()
190 int fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is, in fsnotify() argument
199 __u32 test_mask = (mask & ~FS_EVENT_ON_CHILD); in fsnotify()
221 if (!(mask & FS_MODIFY) && in fsnotify()
228 if ((mask & FS_MODIFY) || in fsnotify()
233 if (mnt && ((mask & FS_MODIFY) || in fsnotify()
275 ret = send_to_group(to_tell, inode_mark, vfsmount_mark, mask, in fsnotify()
278 if (ret && (mask & ALL_FSNOTIFY_PERM_EVENTS)) in fsnotify()