Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dfsnotify_backend.h78 struct fsnotify_group;
96 bool (*should_send_event)(struct fsnotify_group *group, struct inode *inode,
100 int (*handle_event)(struct fsnotify_group *group,
104 void (*free_group_priv)(struct fsnotify_group *group);
105 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
115 struct fsnotify_group { struct
199 struct fsnotify_group *group;
283 struct fsnotify_group *group; /* group this mark is for */
364 extern struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops);
366 extern void fsnotify_put_group(struct fsnotify_group *group);
[all …]
/linux-3.4.99/fs/notify/
Dgroup.c34 void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group()
53 static void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group()
68 void fsnotify_put_group(struct fsnotify_group *group) in fsnotify_put_group()
77 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) in fsnotify_alloc_group()
79 struct fsnotify_group *group; in fsnotify_alloc_group()
81 group = kzalloc(sizeof(struct fsnotify_group), GFP_KERNEL); in fsnotify_alloc_group()
Dfsnotify.h10 extern void fsnotify_flush_notify(struct fsnotify_group *group);
19 struct fsnotify_group *group, struct inode *inode,
23 struct fsnotify_group *group, struct vfsmount *mnt,
27 extern void fsnotify_final_destroy_group(struct fsnotify_group *group);
Dvfsmount_mark.c54 void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_vfsmount_marks_by_group()
104 static struct fsnotify_mark *fsnotify_find_vfsmount_mark_locked(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark_locked()
126 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark()
144 struct fsnotify_group *group, struct vfsmount *mnt, in fsnotify_add_vfsmount_mark()
Dnotification.c73 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty()
118 struct fsnotify_event_private_data *fsnotify_remove_priv_from_event(struct fsnotify_group *group, s… in fsnotify_remove_priv_from_event()
140 struct fsnotify_event *fsnotify_add_notify_event(struct fsnotify_group *group, struct fsnotify_even… in fsnotify_add_notify_event()
236 struct fsnotify_event *fsnotify_remove_notify_event(struct fsnotify_group *group) in fsnotify_remove_notify_event()
266 struct fsnotify_event *fsnotify_peek_notify_event(struct fsnotify_group *group) in fsnotify_peek_notify_event()
283 void fsnotify_flush_notify(struct fsnotify_group *group) in fsnotify_flush_notify()
Dmark.c123 struct fsnotify_group *group; in fsnotify_destroy_mark()
218 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_mark()
285 void fsnotify_clear_marks_by_group_flags(struct fsnotify_group *group, in fsnotify_clear_marks_by_group_flags()
310 void fsnotify_clear_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_marks_by_group()
Dinode_mark.c110 void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_inode_marks_by_group()
119 struct fsnotify_mark *fsnotify_find_inode_mark_locked(struct fsnotify_group *group, in fsnotify_find_inode_mark_locked()
140 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark()
185 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_inode_mark()
Dfsnotify.c134 struct fsnotify_group *group = NULL; in send_to_group()
207 struct fsnotify_group *inode_group, *vfsmount_group; in fsnotify()
/linux-3.4.99/fs/notify/inotify/
Dinotify_user.c114 struct fsnotify_group *group = file->private_data; in inotify_poll()
133 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
165 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
233 struct fsnotify_group *group; in inotify_read()
285 struct fsnotify_group *group = file->private_data; in inotify_fasync()
292 struct fsnotify_group *group = file->private_data; in inotify_release()
307 struct fsnotify_group *group; in inotify_ioctl()
389 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
410 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
423 static void do_inotify_remove_from_idr(struct fsnotify_group *group, in do_inotify_remove_from_idr()
[all …]
Dinotify_fsnotify.c92 static int inotify_handle_event(struct fsnotify_group *group, in inotify_handle_event()
139 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
144 static bool inotify_should_send_event(struct fsnotify_group *group, struct inode *inode, in inotify_should_send_event()
195 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
Dinotify.h18 struct fsnotify_group *group);
/linux-3.4.99/fs/notify/fanotify/
Dfanotify_user.c43 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
61 static int create_fd(struct fsnotify_group *group, struct fsnotify_event *event) in create_fd()
111 static int fill_event_metadata(struct fsnotify_group *group, in fill_event_metadata()
138 static struct fanotify_response_event *dequeue_re(struct fsnotify_group *group, in dequeue_re()
159 static int process_access_response(struct fsnotify_group *group, in process_access_response()
197 static int prepare_for_access_response(struct fsnotify_group *group, in prepare_for_access_response()
228 static void remove_access_response(struct fsnotify_group *group, in remove_access_response()
248 static int prepare_for_access_response(struct fsnotify_group *group, in prepare_for_access_response()
255 static void remove_access_response(struct fsnotify_group *group, in remove_access_response()
263 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
[all …]
Dfanotify.c95 static int fanotify_get_response_from_access(struct fsnotify_group *group, in fanotify_get_response_from_access()
128 static int fanotify_handle_event(struct fsnotify_group *group, in fanotify_handle_event()
168 static bool fanotify_should_send_event(struct fsnotify_group *group, in fanotify_should_send_event()
220 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
/linux-3.4.99/fs/notify/dnotify/
Ddnotify.c33 static struct fsnotify_group *dnotify_group __read_mostly;
85 static int dnotify_handle_event(struct fsnotify_group *group, in dnotify_handle_event()
130 static bool dnotify_should_send_event(struct fsnotify_group *group, in dnotify_should_send_event()
/linux-3.4.99/kernel/
Daudit_watch.c63 static struct fsnotify_group *audit_watch_group;
484 static bool audit_watch_should_send_event(struct fsnotify_group *group, struct inode *inode, in audit_watch_should_send_event()
493 static int audit_watch_handle_event(struct fsnotify_group *group, in audit_watch_handle_event()
Daudit_tree.c71 static struct fsnotify_group *audit_tree_group;
904 static int audit_tree_handle_event(struct fsnotify_group *group, in audit_tree_handle_event()
913 static void audit_tree_freeing_mark(struct fsnotify_mark *entry, struct fsnotify_group *group) in audit_tree_freeing_mark()
921 static bool audit_tree_send_event(struct fsnotify_group *group, struct inode *inode, in audit_tree_send_event()