Lines Matching defs:fsnotify_group
185 struct fsnotify_group { struct
186 const struct fsnotify_ops *ops; /* how this group handles things */
196 refcount_t refcnt; /* things with interest in this group */
199 spinlock_t notification_lock; /* protect the notification_list */
200 …truct list_head notification_list; /* list of event_holder this group needs to send to userspace */
201 wait_queue_head_t notification_waitq; /* read() on the notification file blocks on this waitq */
202 unsigned int q_len; /* events on the queue */
203 unsigned int max_events; /* maximum events allowed on the list */
211 unsigned int priority;
212 bool shutdown; /* group is being shut down, don't queue more events */
217 int flags;
218 unsigned int owner_flags; /* stored flags of mark_mutex owner */
221 struct mutex mark_mutex; /* protect marks_list */
222 atomic_t user_waits; /* Number of tasks waiting for user
224 struct list_head marks_list; /* all inode marks for this group */
226 struct fasync_struct *fsn_fa; /* async notification */
228 struct fsnotify_event *overflow_event; /* Event we queue when the
232 struct mem_cgroup *memcg; /* memcg to charge allocations */
235 union {
624 int (*merge)(struct fsnotify_group *, in fsnotify_add_event()