Lines Matching refs:group
49 static int inotify_merge(struct fsnotify_group *group,
52 struct list_head *list = &group->notification_list;
66 struct fsnotify_group *group = inode_mark->group;
77 pr_debug("%s: group=%p mark=%p mask=%x\n", __func__, group, inode_mark,
95 old_memcg = set_active_memcg(group->memcg);
104 fsnotify_queue_overflow(group);
126 ret = fsnotify_add_event(group, fsn_event, inotify_merge);
129 fsnotify_destroy_event(group, fsn_event);
133 fsnotify_destroy_mark(inode_mark, group);
138 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group)
140 inotify_ignored_and_remove_idr(fsn_mark, group);
163 WARN(1, "inotify closing but id=%d for fsn_mark=%p in group=%p still in "
173 printk(KERN_WARNING "fsn_mark->group=%p wd=%d\n",
174 fsn_mark->group, i_mark->wd);
178 static void inotify_free_group_priv(struct fsnotify_group *group)
181 idr_for_each(&group->inotify_data.idr, idr_callback, group);
182 idr_destroy(&group->inotify_data.idr);
183 if (group->inotify_data.ucounts)
184 dec_inotify_instances(group->inotify_data.ucounts);
187 static void inotify_free_event(struct fsnotify_group *group,