Lines Matching defs:fsnotify_group
131 struct fsnotify_group { struct
132 const struct fsnotify_ops *ops; /* how this group handles things */
142 refcount_t refcnt; /* things with interest in this group */
145 spinlock_t notification_lock; /* protect the notification_list */
146 …truct list_head notification_list; /* list of event_holder this group needs to send to userspace */
147 wait_queue_head_t notification_waitq; /* read() on the notification file blocks on this waitq */
148 unsigned int q_len; /* events on the queue */
149 unsigned int max_events; /* maximum events allowed on the list */
157 unsigned int priority;
158 bool shutdown; /* group is being shut down, don't queue more events */
161 struct mutex mark_mutex; /* protect marks_list */
162 atomic_t num_marks; /* 1 for each mark and 1 for not being
165 atomic_t user_waits; /* Number of tasks waiting for user
167 struct list_head marks_list; /* all inode marks for this group */
169 struct fasync_struct *fsn_fa; /* async notification */
171 struct fsnotify_event *overflow_event; /* Event we queue when the
175 struct mem_cgroup *memcg; /* memcg to charge allocations */
178 union {