Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dfsnotify_backend.h112 struct fsnotify_group;
156 int (*handle_event)(struct fsnotify_group *group, u32 mask,
163 void (*free_group_priv)(struct fsnotify_group *group);
164 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
165 void (*free_event)(struct fsnotify_group *group, struct fsnotify_event *event);
185 struct fsnotify_group { struct
264 static inline void fsnotify_group_lock(struct fsnotify_group *group) in fsnotify_group_lock()
271 static inline void fsnotify_group_unlock(struct fsnotify_group *group) in fsnotify_group_unlock()
278 static inline void fsnotify_group_assert_locked(struct fsnotify_group *group) in fsnotify_group_assert_locked()
402 struct fsnotify_group *current_group;
[all …]
/linux-6.6.21/fs/notify/
Dgroup.c22 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()
119 struct fsnotify_group *group; in __fsnotify_alloc_group()
121 group = kzalloc(sizeof(struct fsnotify_group), gfp); in __fsnotify_alloc_group()
156 struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops, in fsnotify_alloc_group()
168 struct fsnotify_group *group = file->private_data; in fsnotify_fasync()
Dnotification.c50 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()
Dfsnotify.h46 extern void fsnotify_flush_notify(struct fsnotify_group *group);
52 extern int fsnotify_compare_groups(struct fsnotify_group *a,
53 struct fsnotify_group *b);
Dmark.c274 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy()
382 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake()
473 struct fsnotify_group *group = mark->group; in fsnotify_free_mark()
494 struct fsnotify_group *group) in fsnotify_destroy_mark()
522 int fsnotify_compare_groups(struct fsnotify_group *a, struct fsnotify_group *b) in fsnotify_compare_groups()
708 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked()
749 struct fsnotify_group *group = mark->group; in fsnotify_add_mark()
763 struct fsnotify_group *group) in fsnotify_find_mark()
786 void fsnotify_clear_marks_by_group(struct fsnotify_group *group, in fsnotify_clear_marks_by_group()
873 struct fsnotify_group *group) in fsnotify_init_mark()
Dfdinfo.c29 struct fsnotify_group *group = f->private_data; in show_fdinfo()
135 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo()
Dfsnotify.c240 static int fsnotify_handle_inode_event(struct fsnotify_group *group, in fsnotify_handle_inode_event()
267 static int fsnotify_handle_event(struct fsnotify_group *group, __u32 mask, in fsnotify_handle_event()
324 struct fsnotify_group *group = NULL; in send_to_group()
400 struct fsnotify_group *max_prio_group = NULL; in fsnotify_iter_select_report_types()
/linux-6.6.21/fs/notify/inotify/
Dinotify_user.c142 struct fsnotify_group *group = file->private_data; in inotify_poll()
171 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
200 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
253 struct fsnotify_group *group; in inotify_read()
304 struct fsnotify_group *group = file->private_data; in inotify_release()
317 struct fsnotify_group *group; in inotify_ioctl()
415 static struct inotify_inode_mark *inotify_idr_find_locked(struct fsnotify_group *group, in inotify_idr_find_locked()
436 static struct inotify_inode_mark *inotify_idr_find(struct fsnotify_group *group, in inotify_idr_find()
453 static void inotify_remove_from_idr(struct fsnotify_group *group, in inotify_remove_from_idr()
522 struct fsnotify_group *group) in inotify_ignored_and_remove_idr()
[all …]
Dinotify_fsnotify.c49 static int inotify_merge(struct fsnotify_group *group, in inotify_merge()
66 struct fsnotify_group *group = inode_mark->group; in inotify_handle_inode_event()
138 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark()
178 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv()
187 static void inotify_free_event(struct fsnotify_group *group, in inotify_free_event()
Dinotify.h45 struct fsnotify_group *group);
/linux-6.6.21/fs/notify/fanotify/
Dfanotify_user.c195 static void fanotify_unhash_event(struct fsnotify_group *group, in fanotify_unhash_event()
215 static struct fanotify_event *get_one_event(struct fsnotify_group *group, in get_one_event()
252 static int create_fd(struct fsnotify_group *group, const struct path *path, in create_fd()
310 static void finish_permission_event(struct fsnotify_group *group, in finish_permission_event()
331 static int process_access_response(struct fsnotify_group *group, in process_access_response()
657 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user()
776 struct fsnotify_group *group = file->private_data; in fanotify_poll()
791 struct fsnotify_group *group; in fanotify_read()
876 struct fsnotify_group *group; in fanotify_write()
907 struct fsnotify_group *group = file->private_data; in fanotify_release()
[all …]
Dfanotify.c187 static int fanotify_merge(struct fsnotify_group *group, in fanotify_merge()
229 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response()
293 static u32 fanotify_group_event_mask(struct fsnotify_group *group, in fanotify_group_event_mask()
673 struct fsnotify_group *group, in fanotify_alloc_error_event()
711 struct fsnotify_group *group, in fanotify_alloc_event()
874 static void fanotify_insert_event(struct fsnotify_group *group, in fanotify_insert_event()
892 static int fanotify_handle_event(struct fsnotify_group *group, u32 mask, in fanotify_handle_event()
986 static void fanotify_free_group_priv(struct fsnotify_group *group) in fanotify_free_group_priv()
1023 static void fanotify_free_error_event(struct fsnotify_group *group, in fanotify_free_error_event()
1031 static void fanotify_free_event(struct fsnotify_group *group, in fanotify_free_event()
[all …]
Dfanotify.h486 struct fsnotify_group *group, in fanotify_event_hash_bucket()
/linux-6.6.21/kernel/
Daudit_fsnotify.c35 static struct fsnotify_group *audit_fsnotify_group;
Daudit_tree.c90 static struct fsnotify_group *audit_tree_group;
1043 struct fsnotify_group *group) in audit_tree_freeing_mark()
Daudit_watch.c52 static struct fsnotify_group *audit_watch_group;
/linux-6.6.21/fs/notify/dnotify/
Ddnotify.c44 static struct fsnotify_group *dnotify_group __read_mostly;
/linux-6.6.21/fs/nfsd/
Dfilecache.c75 static struct fsnotify_group *nfsd_file_fsnotify_group;