Lines Matching defs:fsnotify_group
178 struct fsnotify_group { struct
179 const struct fsnotify_ops *ops; /* how this group handles things */
189 refcount_t refcnt; /* things with interest in this group */
192 spinlock_t notification_lock; /* protect the notification_list */
193 …truct list_head notification_list; /* list of event_holder this group needs to send to userspace */
194 wait_queue_head_t notification_waitq; /* read() on the notification file blocks on this waitq */
195 unsigned int q_len; /* events on the queue */
196 unsigned int max_events; /* maximum events allowed on the list */
204 unsigned int priority;
205 bool shutdown; /* group is being shut down, don't queue more events */
208 struct mutex mark_mutex; /* protect marks_list */
209 atomic_t num_marks; /* 1 for each mark and 1 for not being
212 atomic_t user_waits; /* Number of tasks waiting for user
214 struct list_head marks_list; /* all inode marks for this group */
216 struct fasync_struct *fsn_fa; /* async notification */
218 struct fsnotify_event *overflow_event; /* Event we queue when the
222 struct mem_cgroup *memcg; /* memcg to charge allocations */
225 union {