Lines Matching refs:mask
90 int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in __fsnotify_parent() argument
107 else if (p_inode->i_fsnotify_mask & mask) { in __fsnotify_parent()
110 mask |= FS_EVENT_ON_CHILD; in __fsnotify_parent()
113 ret = fsnotify(p_inode, mask, path, FSNOTIFY_EVENT_PATH, in __fsnotify_parent()
116 ret = fsnotify(p_inode, mask, dentry->d_inode, FSNOTIFY_EVENT_INODE, in __fsnotify_parent()
129 __u32 mask, void *data, in send_to_group() argument
143 if (mask & FS_MODIFY) { in send_to_group()
155 inode_test_mask = (mask & ~FS_EVENT_ON_CHILD); in send_to_group()
156 inode_test_mask &= inode_mark->mask; in send_to_group()
162 vfsmount_test_mask = (mask & ~FS_EVENT_ON_CHILD); in send_to_group()
164 vfsmount_test_mask &= vfsmount_mark->mask; in send_to_group()
173 __func__, group, to_tell, mask, inode_mark, in send_to_group()
181 vfsmount_mark, mask, data, data_is, in send_to_group()
191 int fsnotify(struct inode *to_tell, __u32 mask, void *data, int data_is, in fsnotify() argument
200 __u32 test_mask = (mask & ~FS_EVENT_ON_CHILD); in fsnotify()
212 if (!(mask & FS_MODIFY) && in fsnotify()
219 if ((mask & FS_MODIFY) || in fsnotify()
224 if (mnt && ((mask & FS_MODIFY) || in fsnotify()
266 ret = send_to_group(to_tell, inode_mark, vfsmount_mark, mask, in fsnotify()
269 if (ret && (mask & ALL_FSNOTIFY_PERM_EVENTS)) in fsnotify()