Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dfsnotify_backend.h96 struct fsnotify_group;
117 int (*handle_event)(struct fsnotify_group *group,
122 void (*free_group_priv)(struct fsnotify_group *group);
123 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
146 struct fsnotify_group { struct
330 struct fsnotify_group *group;
396 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
398 extern void fsnotify_get_group(struct fsnotify_group *group);
400 extern void fsnotify_put_group(struct fsnotify_group *group);
402 extern void fsnotify_group_stop_queueing(struct fsnotify_group *group);
[all …]
/Linux-v5.4/fs/notify/
Dgroup.c22 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group()
36 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing()
49 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group()
98 void fsnotify_get_group(struct fsnotify_group *group) in fsnotify_get_group()
106 void fsnotify_put_group(struct fsnotify_group *group) in fsnotify_put_group()
116 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) in fsnotify_alloc_group()
118 struct fsnotify_group *group; in fsnotify_alloc_group()
120 group = kzalloc(sizeof(struct fsnotify_group), GFP_KERNEL); in fsnotify_alloc_group()
145 struct fsnotify_group *group = file->private_data; in fsnotify_fasync()
Dnotification.c51 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty()
57 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event()
84 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event()
131 void fsnotify_remove_queued_event(struct fsnotify_group *group, in fsnotify_remove_queued_event()
147 struct fsnotify_event *fsnotify_remove_first_event(struct fsnotify_group *group) in fsnotify_remove_first_event()
165 struct fsnotify_event *fsnotify_peek_first_event(struct fsnotify_group *group) in fsnotify_peek_first_event()
177 void fsnotify_flush_notify(struct fsnotify_group *group) in fsnotify_flush_notify()
Dfsnotify.h31 extern void fsnotify_flush_notify(struct fsnotify_group *group);
37 extern int fsnotify_compare_groups(struct fsnotify_group *a,
38 struct fsnotify_group *b);
Dmark.c201 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy()
315 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake()
373 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark()
406 struct fsnotify_group *group = mark->group; in fsnotify_free_mark()
427 struct fsnotify_group *group) in fsnotify_destroy_mark()
455 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
640 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked()
683 struct fsnotify_group *group = mark->group; in fsnotify_add_mark()
697 struct fsnotify_group *group) in fsnotify_find_mark()
720 void fsnotify_clear_marks_by_group(struct fsnotify_group *group, in fsnotify_clear_marks_by_group()
[all …]
Dfdinfo.c29 struct fsnotify_group *group = f->private_data; in show_fdinfo()
145 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
Dfsnotify.c188 struct fsnotify_group *group = NULL; in send_to_group()
266 struct fsnotify_group *max_prio_group = NULL; in fsnotify_iter_select_report_types()
/Linux-v5.4/fs/notify/inotify/
Dinotify_user.c103 struct fsnotify_group *group = file->private_data; in inotify_poll()
132 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
162 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
215 struct fsnotify_group *group; in inotify_read()
266 struct fsnotify_group *group = file->private_data; in inotify_release()
279 struct fsnotify_group *group; in inotify_ioctl()
377 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
398 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
415 static void inotify_remove_from_idr(struct fsnotify_group *group, in inotify_remove_from_idr()
484 struct fsnotify_group *group) in inotify_ignored_and_remove_idr()
[all …]
Dinotify.h26 struct fsnotify_group *group);
27 extern int inotify_handle_event(struct fsnotify_group *group,
Dinotify_fsnotify.c58 int inotify_handle_event(struct fsnotify_group *group, in inotify_handle_event()
141 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
181 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
/Linux-v5.4/fs/notify/fanotify/
Dfanotify_user.c70 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
99 static int create_fd(struct fsnotify_group *group, in create_fd()
145 static void finish_permission_event(struct fsnotify_group *group, in finish_permission_event()
163 static int process_access_response(struct fsnotify_group *group, in process_access_response()
259 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
322 struct fsnotify_group *group = file->private_data; in fanotify_poll()
337 struct fsnotify_group *group; in fanotify_read()
417 struct fsnotify_group *group; in fanotify_write()
442 struct fsnotify_group *group = file->private_data; in fanotify_release()
495 struct fsnotify_group *group; in fanotify_ioctl()
[all …]
Dfanotify.c87 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response()
147 static u32 fanotify_group_event_mask(struct fsnotify_group *group, in fanotify_group_event_mask()
279 struct fanotify_event *fanotify_alloc_event(struct fsnotify_group *group, in fanotify_alloc_event()
374 static int fanotify_handle_event(struct fsnotify_group *group, in fanotify_handle_event()
464 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
Dfanotify.h142 struct fanotify_event *fanotify_alloc_event(struct fsnotify_group *group,
/Linux-v5.4/kernel/
Daudit_fsnotify.c35 static struct fsnotify_group *audit_fsnotify_group;
155 static int audit_mark_handle_event(struct fsnotify_group *group, in audit_mark_handle_event()
Daudit_watch.c52 static struct fsnotify_group *audit_watch_group;
469 static int audit_watch_handle_event(struct fsnotify_group *group, in audit_watch_handle_event()
Daudit_tree.c90 static struct fsnotify_group *audit_tree_group;
1040 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event()
1050 struct fsnotify_group *group) in audit_tree_freeing_mark()
/Linux-v5.4/fs/notify/dnotify/
Ddnotify.c26 static struct fsnotify_group *dnotify_group __read_mostly;
73 static int dnotify_handle_event(struct fsnotify_group *group, in dnotify_handle_event()
/Linux-v5.4/fs/nfsd/
Dfilecache.c52 static struct fsnotify_group *nfsd_file_fsnotify_group;
537 nfsd_file_fsnotify_handle_event(struct fsnotify_group *group, in nfsd_file_fsnotify_handle_event()