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