• Home
  • Raw
  • Download

Lines Matching refs:mask

147 					__u32 mask)  in fsnotify_event_needs_parent()  argument
152 if (mask & FS_ISDIR) in fsnotify_event_needs_parent()
169 return mask & marks_mask; in fsnotify_event_needs_parent()
180 int __fsnotify_parent(struct dentry *dentry, __u32 mask, const void *data, in __fsnotify_parent() argument
204 parent_needed = fsnotify_event_needs_parent(inode, mnt, mask); in __fsnotify_parent()
219 parent_interested = mask & p_mask & ALL_FSNOTIFY_EVENTS; in __fsnotify_parent()
228 mask |= FS_EVENT_ON_CHILD; in __fsnotify_parent()
232 ret = fsnotify(mask, data, data_type, p_inode, file_name, inode, 0); in __fsnotify_parent()
244 u32 mask, const void *data, int data_type, in fsnotify_handle_inode_event() argument
255 if ((inode_mark->mask & FS_EXCL_UNLINK) && in fsnotify_handle_inode_event()
260 if (!(mask & inode_mark->mask & ALL_FSNOTIFY_EVENTS)) in fsnotify_handle_inode_event()
263 return ops->handle_inode_event(inode_mark, mask, inode, dir, name, cookie); in fsnotify_handle_inode_event()
266 static int fsnotify_handle_event(struct fsnotify_group *group, __u32 mask, in fsnotify_handle_event() argument
286 if (parent_mark->mask & FS_EVENT_ON_CHILD) { in fsnotify_handle_event()
287 ret = fsnotify_handle_inode_event(group, parent_mark, mask, in fsnotify_handle_event()
296 if (mask & FS_EVENT_ON_CHILD) { in fsnotify_handle_event()
305 mask &= ~FS_EVENT_ON_CHILD; in fsnotify_handle_event()
310 return fsnotify_handle_inode_event(group, inode_mark, mask, data, data_type, in fsnotify_handle_event()
314 static int send_to_group(__u32 mask, const void *data, int data_type, in send_to_group() argument
319 __u32 test_mask = (mask & ALL_FSNOTIFY_EVENTS); in send_to_group()
329 if (mask & FS_MODIFY) { in send_to_group()
347 marks_mask |= mark->mask; in send_to_group()
353 __func__, group, mask, marks_mask, marks_ignored_mask, in send_to_group()
360 return group->ops->handle_event(group, mask, data, data_type, dir, in send_to_group()
364 return fsnotify_handle_event(group, mask, data, data_type, dir, in send_to_group()
462 int fsnotify(__u32 mask, const void *data, int data_type, struct inode *dir, in fsnotify() argument
479 } else if (mask & FS_EVENT_ON_CHILD) { in fsnotify()
514 test_mask = (mask & ALL_FSNOTIFY_EVENTS); in fsnotify()
515 if (!(mask & FS_MODIFY) && !(test_mask & marks_mask)) in fsnotify()
541 ret = send_to_group(mask, data, data_type, dir, file_name, in fsnotify()
544 if (ret && (mask & ALL_FSNOTIFY_PERM_EVENTS)) in fsnotify()