/linux/include/linux/ |
A D | fsnotify_backend.h | 114 struct fsnotify_group; 158 int (*handle_event)(struct fsnotify_group *group, u32 mask, 165 void (*free_group_priv)(struct fsnotify_group *group); 187 struct fsnotify_group { struct 452 struct fsnotify_group *group; 551 int (*merge)(struct fsnotify_group *, 553 void (*insert)(struct fsnotify_group *, 558 int (*merge)(struct fsnotify_group *, in fsnotify_add_event() argument 598 struct fsnotify_group *group); 601 struct fsnotify_group *group); [all …]
|
/linux/fs/notify/ |
A D | group.c | 22 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group() 37 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing() 50 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group() 99 void fsnotify_get_group(struct fsnotify_group *group) in fsnotify_get_group() 107 void fsnotify_put_group(struct fsnotify_group *group) in fsnotify_put_group() 114 static struct fsnotify_group *__fsnotify_alloc_group( in __fsnotify_alloc_group() 117 struct fsnotify_group *group; in __fsnotify_alloc_group() 119 group = kzalloc(sizeof(struct fsnotify_group), gfp); in __fsnotify_alloc_group() 143 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) in fsnotify_alloc_group() 152 struct fsnotify_group *fsnotify_alloc_user_group(const struct fsnotify_ops *ops) in fsnotify_alloc_user_group() [all …]
|
A D | notification.c | 50 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() 81 int fsnotify_insert_event(struct fsnotify_group *group, in fsnotify_insert_event() 83 int (*merge)(struct fsnotify_group *, in fsnotify_insert_event() argument 85 void (*insert)(struct fsnotify_group *, in fsnotify_insert_event() argument 132 void fsnotify_remove_queued_event(struct fsnotify_group *group, in fsnotify_remove_queued_event() 148 struct fsnotify_event *fsnotify_peek_first_event(struct fsnotify_group *group) in fsnotify_peek_first_event() 163 struct fsnotify_event *fsnotify_remove_first_event(struct fsnotify_group *group) in fsnotify_remove_first_event() 181 void fsnotify_flush_notify(struct fsnotify_group *group) in fsnotify_flush_notify()
|
A D | mark.c | 232 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy() 339 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake() 401 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark() 432 struct fsnotify_group *group = mark->group; in fsnotify_free_mark() 453 struct fsnotify_group *group) in fsnotify_destroy_mark() 481 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups() 671 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked() 712 struct fsnotify_group *group = mark->group; in fsnotify_add_mark() 726 struct fsnotify_group *group) in fsnotify_find_mark() 749 void fsnotify_clear_marks_by_group(struct fsnotify_group *group, in fsnotify_clear_marks_by_group() [all …]
|
A D | fsnotify.h | 46 extern void fsnotify_flush_notify(struct fsnotify_group *group); 52 extern int fsnotify_compare_groups(struct fsnotify_group *a, 53 struct fsnotify_group *b);
|
A D | fsnotify.c | 242 static int fsnotify_handle_inode_event(struct fsnotify_group *group, in fsnotify_handle_inode_event() 269 static int fsnotify_handle_event(struct fsnotify_group *group, __u32 mask, in fsnotify_handle_event() 321 struct fsnotify_group *group = NULL; in send_to_group() 403 struct fsnotify_group *max_prio_group = NULL; in fsnotify_iter_select_report_types()
|
A D | fdinfo.c | 28 struct fsnotify_group *group = f->private_data; in show_fdinfo() 144 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
|
/linux/fs/notify/inotify/ |
A D | inotify_user.c | 119 struct fsnotify_group *group = file->private_data; in inotify_poll() 177 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user() 230 struct fsnotify_group *group; in inotify_read() 281 struct fsnotify_group *group = file->private_data; in inotify_release() 294 struct fsnotify_group *group; in inotify_ioctl() 499 struct fsnotify_group *group) in inotify_ignored_and_remove_idr() 569 static int inotify_new_watch(struct fsnotify_group *group, in inotify_new_watch() 636 struct fsnotify_group *group; in inotify_new_group() 676 struct fsnotify_group *group; in do_inotify_init() 712 struct fsnotify_group *group; in SYSCALL_DEFINE3() [all …]
|
A D | inotify_fsnotify.c | 49 static int inotify_merge(struct fsnotify_group *group, in inotify_merge() 66 struct fsnotify_group *group = inode_mark->group; in inotify_handle_inode_event() 131 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() 171 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv() 180 static void inotify_free_event(struct fsnotify_group *group, in inotify_free_event()
|
A D | inotify.h | 26 struct fsnotify_group *group);
|
/linux/fs/notify/fanotify/ |
A D | fanotify_user.c | 175 static void fanotify_unhash_event(struct fsnotify_group *group, in fanotify_unhash_event() 686 struct fsnotify_group *group = file->private_data; in fanotify_poll() 701 struct fsnotify_group *group; in fanotify_read() 786 struct fsnotify_group *group; in fanotify_write() 813 struct fsnotify_group *group = file->private_data; in fanotify_release() 868 struct fsnotify_group *group; in fanotify_ioctl() 984 static int fanotify_remove_mark(struct fsnotify_group *group, in fanotify_remove_mark() 1107 static int fanotify_add_mark(struct fsnotify_group *group, in fanotify_add_mark() 1155 static int fanotify_add_sb_mark(struct fsnotify_group *group, in fanotify_add_sb_mark() 1214 struct fsnotify_group *group; in SYSCALL_DEFINE2() [all …]
|
A D | fanotify.c | 168 static int fanotify_merge(struct fsnotify_group *group, in fanotify_merge() 210 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response() 273 static u32 fanotify_group_event_mask(struct fsnotify_group *group, in fanotify_group_event_mask() 605 struct fsnotify_group *group, in fanotify_alloc_error_event() 642 static struct fanotify_event *fanotify_alloc_event(struct fsnotify_group *group, in fanotify_alloc_event() 775 static void fanotify_insert_event(struct fsnotify_group *group, in fanotify_insert_event() 793 static int fanotify_handle_event(struct fsnotify_group *group, u32 mask, in fanotify_handle_event() 884 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv() 921 static void fanotify_free_error_event(struct fsnotify_group *group, in fanotify_free_error_event() 929 static void fanotify_free_event(struct fsnotify_group *group, in fanotify_free_event() [all …]
|
A D | fanotify.h | 368 struct fsnotify_group *group, in fanotify_event_hash_bucket()
|
/linux/kernel/ |
A D | audit_fsnotify.c | 35 static struct fsnotify_group *audit_fsnotify_group;
|
A D | audit_tree.c | 90 static struct fsnotify_group *audit_tree_group; 1043 struct fsnotify_group *group) in audit_tree_freeing_mark()
|
A D | audit_watch.c | 52 static struct fsnotify_group *audit_watch_group;
|
/linux/fs/notify/dnotify/ |
A D | dnotify.c | 26 static struct fsnotify_group *dnotify_group __read_mostly;
|
/linux/fs/nfsd/ |
A D | filecache.c | 62 static struct fsnotify_group *nfsd_file_fsnotify_group;
|