Lines Matching refs:group
240 static int fsnotify_handle_inode_event(struct fsnotify_group *group,
248 const struct fsnotify_ops *ops = group->ops;
267 static int fsnotify_handle_event(struct fsnotify_group *group, __u32 mask,
293 ret = fsnotify_handle_inode_event(group, parent_mark, mask,
316 return fsnotify_handle_inode_event(group, inode_mark, mask, data, data_type,
324 struct fsnotify_group *group = NULL;
344 /* Are any of the group marks interested in this event? */
346 group = mark->group;
352 pr_debug("%s: group=%p mask=%x marks_mask=%x marks_ignore_mask=%x data=%p data_type=%d dir=%p cookie=%d\n",
353 __func__, group, mask, marks_mask, marks_ignore_mask,
359 if (group->ops->handle_event) {
360 return group->ops->handle_event(group, mask, data, data_type, dir,
364 return fsnotify_handle_event(group, mask, data, data_type, dir,
393 * Pick a subset of marks from queue heads, all with the same group
404 /* Choose max prio group among groups of all queue heads */
408 fsnotify_compare_groups(max_prio_group, mark->group) > 0)
409 max_prio_group = mark->group;
415 /* Set the report mask for marks from same group as max prio group */
420 if (mark && mark->group == iter_info->current_group) {
440 * Pop from iter_info multi head queue, the marks that belong to the group of
455 if (mark && mark->group == iter_info->current_group)