Home
last modified time | relevance | path

Searched refs:fsnotify_group (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Dfsnotify_backend.h129 struct fsnotify_group;
173 int (*handle_event)(struct fsnotify_group *group, u32 mask,
180 void (*free_group_priv)(struct fsnotify_group *group);
181 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
182 void (*free_event)(struct fsnotify_group *group, struct fsnotify_event *event);
213 struct fsnotify_group { struct
287 static inline void fsnotify_group_lock(struct fsnotify_group *group) in fsnotify_group_lock()
293 static inline void fsnotify_group_unlock(struct fsnotify_group *group) in fsnotify_group_unlock()
299 static inline void fsnotify_group_assert_locked(struct fsnotify_group *group) in fsnotify_group_assert_locked()
480 struct fsnotify_group *current_group;
[all …]
/linux/fs/notify/
H A Dgroup.c22 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group()
37 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing()
50 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group()
99 void fsnotify_get_group(struct fsnotify_group *group) in fsnotify_get_group()
107 void fsnotify_put_group(struct fsnotify_group *group) in fsnotify_put_group()
114 static struct fsnotify_group *__fsnotify_alloc_group( in __fsnotify_alloc_group()
118 struct fsnotify_group *group; in __fsnotify_alloc_group()
120 group = kzalloc_obj(struct fsnotify_group, gfp); in __fsnotify_alloc_group()
145 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops, in fsnotify_alloc_group()
157 struct fsnotify_group *group = file->private_data; in fsnotify_fasync()
H A Dnotification.c50 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event()
81 int fsnotify_insert_event(struct fsnotify_group *group, in fsnotify_insert_event()
83 int (*merge)(struct fsnotify_group *, in fsnotify_insert_event() argument
85 void (*insert)(struct fsnotify_group *, in fsnotify_insert_event() argument
132 void fsnotify_remove_queued_event(struct fsnotify_group *group, in fsnotify_remove_queued_event()
148 struct fsnotify_event *fsnotify_peek_first_event(struct fsnotify_group *group) in fsnotify_peek_first_event()
163 struct fsnotify_event *fsnotify_remove_first_event(struct fsnotify_group *group) in fsnotify_remove_first_event()
181 void fsnotify_flush_notify(struct fsnotify_group *group) in fsnotify_flush_notify()
H A Dfsnotify.h71 extern void fsnotify_flush_notify(struct fsnotify_group *group);
77 extern int fsnotify_compare_groups(struct fsnotify_group *a,
78 struct fsnotify_group *b);
H A Dmark.c372 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy()
485 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake()
576 struct fsnotify_group *group = mark->group; in fsnotify_free_mark()
597 struct fsnotify_group *group) in fsnotify_destroy_mark()
625 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
913 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked()
953 struct fsnotify_group *group = mark->group; in fsnotify_add_mark()
967 struct fsnotify_group *group) in fsnotify_find_mark()
994 void fsnotify_clear_marks_by_group(struct fsnotify_group *group, in fsnotify_clear_marks_by_group()
1081 struct fsnotify_group *group) in fsnotify_init_mark()
H A Dfdinfo.c30 struct fsnotify_group *group = f->private_data; in show_fdinfo()
140 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
H A Dfsnotify.c248 static int fsnotify_handle_inode_event(struct fsnotify_group *group, in fsnotify_handle_inode_event()
275 static int fsnotify_handle_event(struct fsnotify_group *group, __u32 mask, in fsnotify_handle_event()
335 struct fsnotify_group *group = NULL; in send_to_group()
411 struct fsnotify_group *max_prio_group = NULL; in fsnotify_iter_select_report_types()
/linux/fs/notify/inotify/
H A Dinotify_user.c141 struct fsnotify_group *group = file->private_data; in inotify_poll()
170 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
199 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
252 struct fsnotify_group *group; in inotify_read()
303 struct fsnotify_group *group = file->private_data; in inotify_release()
316 struct fsnotify_group *group; in inotify_ioctl()
414 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
435 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
452 static void inotify_remove_from_idr(struct fsnotify_group *group, in inotify_remove_from_idr()
521 struct fsnotify_group *group) in inotify_ignored_and_remove_idr()
[all …]
H A Dinotify_fsnotify.c49 static int inotify_merge(struct fsnotify_group *group, in inotify_merge()
66 struct fsnotify_group *group = 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()
178 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
187 static void inotify_free_event(struct fsnotify_group *group, in inotify_free_event()
H A Dinotify.h45 struct fsnotify_group *group);
/linux/fs/notify/fanotify/
H A Dfanotify_user.c119 struct fsnotify_group *group; in perm_group_watchdog()
167 static void fanotify_perm_watchdog_group_remove(struct fsnotify_group *group) in fanotify_perm_watchdog_group_remove()
177 static void fanotify_perm_watchdog_group_add(struct fsnotify_group *group) in fanotify_perm_watchdog_group_add()
293 static void fanotify_unhash_event(struct fsnotify_group *group, in fanotify_unhash_event()
313 static struct fanotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
350 static int create_fd(struct fsnotify_group *group, const struct path *path, in create_fd()
400 static void finish_permission_event(struct fsnotify_group *group, in finish_permission_event()
421 static int process_access_response(struct fsnotify_group *group, in process_access_response()
833 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
977 struct fsnotify_group *group = file->private_data; in fanotify_poll()
[all …]
H A Dfanotify.c182 static int fanotify_merge(struct fsnotify_group *group, in fanotify_merge()
224 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response()
299 static u32 fanotify_group_event_mask(struct fsnotify_group *group, in fanotify_group_event_mask()
709 struct fsnotify_group *group, in fanotify_alloc_error_event()
747 struct fsnotify_group *group, in fanotify_alloc_event()
907 static void fanotify_insert_event(struct fsnotify_group *group, in fanotify_insert_event()
925 static int fanotify_handle_event(struct fsnotify_group *group, u32 mask, in fanotify_handle_event()
1016 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
1054 static void fanotify_free_error_event(struct fsnotify_group *group, in fanotify_free_error_event()
1067 static void fanotify_free_event(struct fsnotify_group *group, in fanotify_free_event()
[all …]
H A Dfanotify.h515 struct fsnotify_group *group, in fanotify_event_hash_bucket()
/linux/kernel/
H A Daudit_fsnotify.c35 static struct fsnotify_group *audit_fsnotify_group;
H A Daudit_tree.c90 static struct fsnotify_group *audit_tree_group __ro_after_init;
1050 struct fsnotify_group *group) in audit_tree_freeing_mark()
H A Daudit_watch.c52 static struct fsnotify_group *audit_watch_group;
/linux/fs/notify/dnotify/
H A Ddnotify.c42 static struct fsnotify_group *dnotify_group __ro_after_init;
/linux/fs/nfsd/
H A Dfilecache.c74 static struct fsnotify_group *nfsd_file_fsnotify_group;