Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dfsnotify_backend.h80 struct fsnotify_group;
101 int (*handle_event)(struct fsnotify_group *group,
106 void (*free_group_priv)(struct fsnotify_group *group);
107 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
131 struct fsnotify_group { struct
309 struct fsnotify_group *group;
374 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
376 extern void fsnotify_get_group(struct fsnotify_group *group);
378 extern void fsnotify_put_group(struct fsnotify_group *group);
380 extern void fsnotify_group_stop_queueing(struct fsnotify_group *group);
[all …]
/Linux-v4.19/fs/notify/
Dgroup.c35 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group()
49 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing()
62 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group()
111 void fsnotify_get_group(struct fsnotify_group *group) in fsnotify_get_group()
119 void fsnotify_put_group(struct fsnotify_group *group) in fsnotify_put_group()
128 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) in fsnotify_alloc_group()
130 struct fsnotify_group *group; in fsnotify_alloc_group()
132 group = kzalloc(sizeof(struct fsnotify_group), GFP_KERNEL); in fsnotify_alloc_group()
156 struct fsnotify_group *group = file->private_data; in fsnotify_fasync()
Dnotification.c64 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty()
70 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event()
97 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event()
148 struct fsnotify_event *fsnotify_remove_first_event(struct fsnotify_group *group) in fsnotify_remove_first_event()
172 struct fsnotify_event *fsnotify_peek_first_event(struct fsnotify_group *group) in fsnotify_peek_first_event()
184 void fsnotify_flush_notify(struct fsnotify_group *group) in fsnotify_flush_notify()
Dfsnotify.h25 extern void fsnotify_flush_notify(struct fsnotify_group *group);
31 extern int fsnotify_compare_groups(struct fsnotify_group *a,
32 struct fsnotify_group *b);
Dmark.c206 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy()
301 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake()
359 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark()
392 struct fsnotify_group *group = mark->group; in fsnotify_free_mark()
413 struct fsnotify_group *group) in fsnotify_destroy_mark()
440 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
585 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked()
628 struct fsnotify_group *group = mark->group; in fsnotify_add_mark()
641 struct fsnotify_group *group) in fsnotify_find_mark()
663 void fsnotify_clear_marks_by_group(struct fsnotify_group *group, in fsnotify_clear_marks_by_group()
[all …]
Dfdinfo.c28 struct fsnotify_group *group = f->private_data; in show_fdinfo()
139 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
Dfsnotify.c192 struct fsnotify_group *group = NULL; in send_to_group()
270 struct fsnotify_group *max_prio_group = NULL; in fsnotify_iter_select_report_types()
/Linux-v4.19/fs/notify/inotify/
Dinotify_user.c113 struct fsnotify_group *group = file->private_data; in inotify_poll()
142 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
172 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
225 struct fsnotify_group *group; in inotify_read()
276 struct fsnotify_group *group = file->private_data; in inotify_release()
289 struct fsnotify_group *group; in inotify_ioctl()
379 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
400 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
417 static void inotify_remove_from_idr(struct fsnotify_group *group, in inotify_remove_from_idr()
486 struct fsnotify_group *group) in inotify_ignored_and_remove_idr()
[all …]
Dinotify.h25 struct fsnotify_group *group);
26 extern int inotify_handle_event(struct fsnotify_group *group,
Dinotify_fsnotify.c67 int inotify_handle_event(struct fsnotify_group *group, in inotify_handle_event()
136 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
176 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
/Linux-v4.19/fs/notify/fanotify/
Dfanotify_user.c57 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
75 static int create_fd(struct fsnotify_group *group, in create_fd()
117 static int fill_event_metadata(struct fsnotify_group *group, in fill_event_metadata()
148 struct fsnotify_group *group, int fd) in dequeue_event()
169 static int process_access_response(struct fsnotify_group *group, in process_access_response()
207 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
245 struct fsnotify_group *group = file->private_data; in fanotify_poll()
260 struct fsnotify_group *group; in fanotify_read()
341 struct fsnotify_group *group; in fanotify_write()
366 struct fsnotify_group *group = file->private_data; in fanotify_release()
[all …]
Dfanotify.c60 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response()
141 struct fanotify_event_info *fanotify_alloc_event(struct fsnotify_group *group, in fanotify_alloc_event()
187 static int fanotify_handle_event(struct fsnotify_group *group, in fanotify_handle_event()
256 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
Dfanotify.h55 struct fanotify_event_info *fanotify_alloc_event(struct fsnotify_group *group,
/Linux-v4.19/kernel/
Daudit_fsnotify.c44 static struct fsnotify_group *audit_fsnotify_group;
166 static int audit_mark_handle_event(struct fsnotify_group *group, in audit_mark_handle_event()
Daudit_watch.c65 static struct fsnotify_group *audit_watch_group;
484 static int audit_watch_handle_event(struct fsnotify_group *group, in audit_watch_handle_event()
Daudit_tree.c74 static struct fsnotify_group *audit_tree_group;
993 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event()
1002 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()
/Linux-v4.19/fs/notify/dnotify/
Ddnotify.c34 static struct fsnotify_group *dnotify_group __read_mostly;
81 static int dnotify_handle_event(struct fsnotify_group *group, in dnotify_handle_event()