Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dfsnotify_backend.h77 struct fsnotify_group;
95 int (*handle_event)(struct fsnotify_group *group,
101 void (*free_group_priv)(struct fsnotify_group *group);
102 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
124 struct fsnotify_group { struct
219 struct fsnotify_group *group;
306 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
308 extern void fsnotify_get_group(struct fsnotify_group *group);
310 extern void fsnotify_put_group(struct fsnotify_group *group);
312 extern void fsnotify_destroy_group(struct fsnotify_group *group);
[all …]
/linux-4.4.14/fs/notify/
Dgroup.c34 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group()
48 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group()
71 void fsnotify_get_group(struct fsnotify_group *group) in fsnotify_get_group()
79 void fsnotify_put_group(struct fsnotify_group *group) in fsnotify_put_group()
88 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) in fsnotify_alloc_group()
90 struct fsnotify_group *group; in fsnotify_alloc_group()
92 group = kzalloc(sizeof(struct fsnotify_group), GFP_KERNEL); in fsnotify_alloc_group()
115 struct fsnotify_group *group = file->private_data; in fsnotify_fasync()
Dfsnotify.h12 extern void fsnotify_flush_notify(struct fsnotify_group *group);
21 extern int fsnotify_compare_groups(struct fsnotify_group *a,
22 struct fsnotify_group *b);
32 struct fsnotify_group *group, struct inode *inode,
36 struct fsnotify_group *group, struct vfsmount *mnt,
45 struct fsnotify_group *group);
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()
87 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event()
132 void fsnotify_remove_event(struct fsnotify_group *group, in fsnotify_remove_event()
147 struct fsnotify_event *fsnotify_remove_first_event(struct fsnotify_group *group) in fsnotify_remove_first_event()
171 struct fsnotify_event *fsnotify_peek_first_event(struct fsnotify_group *group) in fsnotify_peek_first_event()
183 void fsnotify_flush_notify(struct fsnotify_group *group) in fsnotify_flush_notify()
Dmark.c133 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark()
178 struct fsnotify_group *group = mark->group; in fsnotify_free_mark()
204 struct fsnotify_group *group) in fsnotify_destroy_mark()
279 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
335 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_mark_locked()
396 int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, in fsnotify_add_mark()
411 struct fsnotify_group *group) in fsnotify_find_mark()
427 void fsnotify_clear_marks_by_group_flags(struct fsnotify_group *group, in fsnotify_clear_marks_by_group_flags()
467 void fsnotify_clear_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_marks_by_group()
Dvfsmount_mark.c32 void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_vfsmount_marks_by_group()
71 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark()
90 struct fsnotify_group *group, struct vfsmount *mnt, in fsnotify_add_vfsmount_mark()
Dinode_mark.c70 void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_inode_marks_by_group()
79 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark()
124 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_inode_mark()
Dfdinfo.c27 struct fsnotify_group *group = f->private_data; in show_fdinfo()
142 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
Dfsnotify.c132 struct fsnotify_group *group = NULL; in send_to_group()
195 struct fsnotify_group *inode_group, *vfsmount_group; in fsnotify()
/linux-4.4.14/fs/notify/inotify/
Dinotify_user.c114 struct fsnotify_group *group = file->private_data; in inotify_poll()
143 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
173 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
226 struct fsnotify_group *group; in inotify_read()
277 struct fsnotify_group *group = file->private_data; in inotify_release()
290 struct fsnotify_group *group; in inotify_ioctl()
366 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
387 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
400 static void do_inotify_remove_from_idr(struct fsnotify_group *group, in do_inotify_remove_from_idr()
419 static void inotify_remove_from_idr(struct fsnotify_group *group, in inotify_remove_from_idr()
[all …]
Dinotify.h24 struct fsnotify_group *group);
25 extern int inotify_handle_event(struct fsnotify_group *group,
Dinotify_fsnotify.c65 int inotify_handle_event(struct fsnotify_group *group, in inotify_handle_event()
123 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
163 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
/linux-4.4.14/fs/notify/fanotify/
Dfanotify_user.c54 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
72 static int create_fd(struct fsnotify_group *group, in create_fd()
114 static int fill_event_metadata(struct fsnotify_group *group, in fill_event_metadata()
146 struct fsnotify_group *group, int fd) in dequeue_event()
167 static int process_access_response(struct fsnotify_group *group, in process_access_response()
203 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
243 struct fsnotify_group *group = file->private_data; in fanotify_poll()
258 struct fsnotify_group *group; in fanotify_read()
332 struct fsnotify_group *group; in fanotify_write()
357 struct fsnotify_group *group = file->private_data; in fanotify_release()
[all …]
Dfanotify.c63 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response()
187 static int fanotify_handle_event(struct fsnotify_group *group, in fanotify_handle_event()
240 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
/linux-4.4.14/kernel/
Daudit_fsnotify.c44 static struct fsnotify_group *audit_fsnotify_group;
167 static int audit_mark_handle_event(struct fsnotify_group *group, in audit_mark_handle_event()
Daudit_watch.c63 static struct fsnotify_group *audit_watch_group;
470 static int audit_watch_handle_event(struct fsnotify_group *group, in audit_watch_handle_event()
Daudit_tree.c72 static struct fsnotify_group *audit_tree_group;
949 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event()
959 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()
/linux-4.4.14/fs/notify/dnotify/
Ddnotify.c33 static struct fsnotify_group *dnotify_group __read_mostly;
84 static int dnotify_handle_event(struct fsnotify_group *group, in dnotify_handle_event()