| /linux-6.15/include/linux/ |
| H A D | fsnotify_backend.h | 131 struct fsnotify_mark; 184 void (*free_mark)(struct fsnotify_mark *mark); 476 struct fsnotify_mark *marks[FSNOTIFY_ITER_TYPE_COUNT]; 494 static inline struct fsnotify_mark *fsnotify_iter_mark( in fsnotify_iter_mark() 503 struct fsnotify_mark **markp) in fsnotify_iter_step() 601 struct fsnotify_mark { struct 864 extern void fsnotify_init_mark(struct fsnotify_mark *mark, 870 int fsnotify_add_mark(struct fsnotify_mark *mark, void *obj, 904 extern void fsnotify_free_mark(struct fsnotify_mark *mark); 910 extern void fsnotify_get_mark(struct fsnotify_mark *mark); [all …]
|
| /linux-6.15/fs/notify/ |
| H A D | mark.c | 94 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark() 176 struct fsnotify_mark *first_mark = NULL; in fsnotify_update_sb_watchers() 181 struct fsnotify_mark, obj_list); in fsnotify_update_sb_watchers() 244 struct fsnotify_mark *mark; in __fsnotify_recalc_mask() 387 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark() 570 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark() 721 struct fsnotify_mark *lmark, *last = NULL; in fsnotify_add_mark_list() 861 struct fsnotify_mark *mark; in fsnotify_find_mark() 887 struct fsnotify_mark *lmark, *mark; in fsnotify_clear_marks_by_group() 932 struct fsnotify_mark *mark, *old_mark = NULL; in fsnotify_destroy_marks() [all …]
|
| H A D | fsnotify.c | 298 struct fsnotify_mark *inode_mark, in fsnotify_handle_inode_event() 329 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event() 330 struct fsnotify_mark *parent_mark = fsnotify_iter_parent_mark(iter_info); in fsnotify_handle_event() 389 struct fsnotify_mark *mark; in send_to_group() 428 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector *const *connp) in fsnotify_first_mark() 437 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark() 440 static struct fsnotify_mark *fsnotify_next_mark(struct fsnotify_mark *mark) in fsnotify_next_mark() 448 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark() 461 struct fsnotify_mark *mark; in fsnotify_iter_select_report_types() 505 struct fsnotify_mark *mark; in fsnotify_iter_next()
|
| H A D | fdinfo.c | 27 struct fsnotify_mark *mark)) in show_fdinfo() 30 struct fsnotify_mark *mark; in show_fdinfo() 70 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo() 99 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
|
| /linux-6.15/fs/notify/inotify/ |
| H A D | inotify.h | 16 struct fsnotify_mark fsn_mark; 32 static inline __u32 inotify_mark_user_mask(struct fsnotify_mark *fsn_mark) in inotify_mark_user_mask() 44 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, 46 extern int inotify_handle_inode_event(struct fsnotify_mark *inode_mark,
|
| H A D | inotify_fsnotify.c | 59 int inotify_handle_inode_event(struct fsnotify_mark *inode_mark, u32 mask, in inotify_handle_inode_event() 138 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() 152 struct fsnotify_mark *fsn_mark; in idr_callback() 194 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark()
|
| H A D | inotify_user.c | 425 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark; in inotify_idr_find_locked() 520 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark, in inotify_ignored_and_remove_idr() 540 struct fsnotify_mark *fsn_mark; in inotify_update_existing_watch()
|
| /linux-6.15/fs/notify/dnotify/ |
| H A D | dnotify.c | 50 struct fsnotify_mark fsn_mark; 62 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask() 89 static int dnotify_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in dnotify_handle_event() 128 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark() 153 struct fsnotify_mark *fsn_mark; in dnotify_flush() 262 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify()
|
| /linux-6.15/kernel/ |
| H A D | audit_tree.c | 28 struct fsnotify_mark *mark; 41 struct fsnotify_mark mark; 166 static struct audit_chunk *mark_chunk(struct fsnotify_mark *mark) in mark_chunk() 171 static void audit_tree_destroy_watch(struct fsnotify_mark *mark) in audit_tree_destroy_watch() 176 static struct fsnotify_mark *alloc_mark(void) in alloc_mark() 279 static void replace_mark_chunk(struct fsnotify_mark *mark, in replace_mark_chunk() 399 struct fsnotify_mark *mark; in create_chunk() 460 struct fsnotify_mark *mark; in tag_chunk() 575 struct fsnotify_mark *mark; in prune_tree_chunks() 1035 static int audit_tree_handle_event(struct fsnotify_mark *mark, u32 mask, in audit_tree_handle_event() [all …]
|
| H A D | audit_fsnotify.c | 30 struct fsnotify_mark mark; /* fsnotify mark on the inode */ 47 static void audit_fsnotify_free_mark(struct fsnotify_mark *mark) in audit_fsnotify_free_mark() 156 static int audit_mark_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_mark_handle_event()
|
| H A D | audit_watch.c | 48 struct fsnotify_mark mark; /* fsnotify mark on the inode */ 64 static void audit_watch_free_mark(struct fsnotify_mark *entry) in audit_watch_free_mark() 91 struct fsnotify_mark *entry; in audit_find_parent() 472 static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_watch_handle_event()
|
| /linux-6.15/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 1144 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask() 1176 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark() 1202 static bool fanotify_mark_update_flags(struct fsnotify_mark *fsn_mark, in fanotify_mark_update_flags() 1244 static bool fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask() 1271 struct fsnotify_mark *mark, in fanotify_set_mark_fsid() 1275 struct fsnotify_mark *old; in fanotify_set_mark_fsid() 1321 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark() 1329 struct fsnotify_mark *mark; in fanotify_add_new_mark() 1385 static int fanotify_may_update_existing_mark(struct fsnotify_mark *fsn_mark, in fanotify_may_update_existing_mark() 1426 struct fsnotify_mark *fsn_mark; in fanotify_add_mark()
|
| H A D | fanotify.h | 521 struct fsnotify_mark fsn_mark; 525 static inline struct fanotify_mark *FANOTIFY_MARK(struct fsnotify_mark *mark) in FANOTIFY_MARK() 536 static inline unsigned int fanotify_mark_user_flags(struct fsnotify_mark *mark) in fanotify_mark_user_flags()
|
| H A D | fanotify.c | 310 struct fsnotify_mark *mark; in fanotify_group_event_mask() 881 struct fsnotify_mark *mark; in fanotify_get_fsid() 1094 static void fanotify_freeing_mark(struct fsnotify_mark *mark, in fanotify_freeing_mark() 1101 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()
|
| /linux-6.15/fs/nfsd/ |
| H A D | filecache.h | 27 struct fsnotify_mark nfm_mark;
|
| H A D | filecache.c | 130 nfsd_file_mark_free(struct fsnotify_mark *mark) in nfsd_file_mark_free() 159 struct fsnotify_mark *mark; in nfsd_file_mark_find_or_create() 736 nfsd_file_fsnotify_handle_event(struct fsnotify_mark *mark, u32 mask, in nfsd_file_fsnotify_handle_event()
|