Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dfsnotify_backend.h77 struct fsnotify_group;
97 int (*handle_event)(struct fsnotify_group *group,
103 void (*free_group_priv)(struct fsnotify_group *group);
104 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
126 struct fsnotify_group { struct
214 struct fsnotify_group *group; /* group this mark is for */
299 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
301 extern void fsnotify_get_group(struct fsnotify_group *group);
303 extern void fsnotify_put_group(struct fsnotify_group *group);
305 extern void fsnotify_destroy_group(struct fsnotify_group *group);
[all …]
/linux-4.1.27/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.h10 extern void fsnotify_flush_notify(struct fsnotify_group *group);
19 extern int fsnotify_compare_groups(struct fsnotify_group *a,
20 struct fsnotify_group *b);
30 struct fsnotify_group *group, struct inode *inode,
34 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.c130 struct fsnotify_group *group) in fsnotify_destroy_mark_locked()
199 struct fsnotify_group *group) in fsnotify_destroy_mark()
213 struct fsnotify_group *group; in fsnotify_destroy_marks()
263 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
319 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_mark_locked()
380 int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, in fsnotify_add_mark()
395 struct fsnotify_group *group) in fsnotify_find_mark()
411 void fsnotify_clear_marks_by_group_flags(struct fsnotify_group *group, in fsnotify_clear_marks_by_group_flags()
450 void fsnotify_clear_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_marks_by_group()
Dvfsmount_mark.c51 void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_vfsmount_marks_by_group()
90 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark()
109 struct fsnotify_group *group, struct vfsmount *mnt, in fsnotify_add_vfsmount_mark()
Dinode_mark.c90 void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_inode_marks_by_group()
99 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark()
144 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_inode_mark()
Dfdinfo.c27 struct fsnotify_group *group = f->private_data; in show_fdinfo()
134 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
Dfsnotify.c133 struct fsnotify_group *group = NULL; in send_to_group()
196 struct fsnotify_group *inode_group, *vfsmount_group; in fsnotify()
/linux-4.1.27/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.1.27/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.1.27/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()
/linux-4.1.27/kernel/
Daudit_watch.c63 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.c72 static struct fsnotify_group *audit_tree_group;
947 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event()
957 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()