Home
last modified time | relevance | path

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

/linux-5.15/include/linux/
H A Dfsnotify_backend.h106 struct fsnotify_group;
149 int (*handle_event)(struct fsnotify_group *group, u32 mask,
156 void (*free_group_priv)(struct fsnotify_group *group);
157 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
178 struct fsnotify_group { struct
388 struct fsnotify_group *group;
469 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
470 extern struct fsnotify_group *fsnotify_alloc_user_group(const struct fsnotify_ops *ops);
472 extern void fsnotify_get_group(struct fsnotify_group *group);
474 extern void fsnotify_put_group(struct fsnotify_group *group);
[all …]
/linux-5.15/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()
117 struct fsnotify_group *group; in __fsnotify_alloc_group()
119 group = kzalloc(sizeof(struct fsnotify_group), gfp); in __fsnotify_alloc_group()
143 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) in fsnotify_alloc_group()
152 struct fsnotify_group *fsnotify_alloc_user_group(const struct fsnotify_ops *ops) in fsnotify_alloc_user_group()
[all …]
H A Dnotification.c50 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event()
81 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event()
83 int (*merge)(struct fsnotify_group *, in fsnotify_add_event() argument
85 void (*insert)(struct fsnotify_group *, in fsnotify_add_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.h46 extern void fsnotify_flush_notify(struct fsnotify_group *group);
52 extern int fsnotify_compare_groups(struct fsnotify_group *a,
53 struct fsnotify_group *b);
H A Dmark.c232 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy()
339 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake()
401 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark()
432 struct fsnotify_group *group = mark->group; in fsnotify_free_mark()
453 struct fsnotify_group *group) in fsnotify_destroy_mark()
481 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
671 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked()
712 struct fsnotify_group *group = mark->group; in fsnotify_add_mark()
726 struct fsnotify_group *group) in fsnotify_find_mark()
749 void fsnotify_clear_marks_by_group(struct fsnotify_group *group, in fsnotify_clear_marks_by_group()
[all …]
H A Dfsnotify.c242 static int fsnotify_handle_inode_event(struct fsnotify_group *group, in fsnotify_handle_inode_event()
266 static int fsnotify_handle_event(struct fsnotify_group *group, __u32 mask, in fsnotify_handle_event()
318 struct fsnotify_group *group = NULL; in send_to_group()
400 struct fsnotify_group *max_prio_group = NULL; in fsnotify_iter_select_report_types()
H A Dfdinfo.c28 struct fsnotify_group *group = f->private_data; in show_fdinfo()
144 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
/linux-5.15/fs/notify/inotify/
H A Dinotify_user.c119 struct fsnotify_group *group = file->private_data; in inotify_poll()
148 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
177 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
230 struct fsnotify_group *group; in inotify_read()
281 struct fsnotify_group *group = file->private_data; in inotify_release()
294 struct fsnotify_group *group; in inotify_ioctl()
392 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
413 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
430 static void inotify_remove_from_idr(struct fsnotify_group *group, in inotify_remove_from_idr()
499 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()
131 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
171 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
H A Dinotify.h26 struct fsnotify_group *group);
/linux-5.15/fs/notify/fanotify/
H A Dfanotify_user.c161 static void fanotify_unhash_event(struct fsnotify_group *group, in fanotify_unhash_event()
181 static struct fanotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
219 static int create_fd(struct fsnotify_group *group, struct path *path, in create_fd()
257 static void finish_permission_event(struct fsnotify_group *group, in finish_permission_event()
275 static int process_access_response(struct fsnotify_group *group, in process_access_response()
526 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
641 struct fsnotify_group *group = file->private_data; in fanotify_poll()
656 struct fsnotify_group *group; in fanotify_read()
741 struct fsnotify_group *group; in fanotify_write()
768 struct fsnotify_group *group = file->private_data; in fanotify_release()
[all …]
H A Dfanotify.c155 static int fanotify_merge(struct fsnotify_group *group, in fanotify_merge()
193 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response()
256 static u32 fanotify_group_event_mask(struct fsnotify_group *group, in fanotify_group_event_mask()
566 static struct fanotify_event *fanotify_alloc_event(struct fsnotify_group *group, in fanotify_alloc_event()
696 static void fanotify_insert_event(struct fsnotify_group *group, in fanotify_insert_event()
711 static int fanotify_handle_event(struct fsnotify_group *group, u32 mask, in fanotify_handle_event()
802 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
864 struct fsnotify_group *group) in fanotify_freeing_mark()
H A Dfanotify.h322 struct fsnotify_group *group, in fanotify_event_hash_bucket()
/linux-5.15/kernel/
A Daudit_fsnotify.c35 static struct fsnotify_group *audit_fsnotify_group;
H A Daudit_tree.c90 static struct fsnotify_group *audit_tree_group;
1042 struct fsnotify_group *group) in audit_tree_freeing_mark()
H A Daudit_watch.c52 static struct fsnotify_group *audit_watch_group;
/linux-5.15/fs/notify/dnotify/
H A Ddnotify.c26 static struct fsnotify_group *dnotify_group __read_mostly;
/linux-5.15/fs/nfsd/
A Dfilecache.c62 static struct fsnotify_group *nfsd_file_fsnotify_group;