| /linux/include/linux/ |
| H A D | fsnotify_backend.h | 131 struct fsnotify_mark; 177 int (*handle_inode_event)(struct fsnotify_mark *mark, u32 mask, 181 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group); 184 void (*free_mark)(struct fsnotify_mark *mark); 479 struct fsnotify_mark *marks[FSNOTIFY_ITER_TYPE_COUNT]; 497 static inline struct fsnotify_mark *fsnotify_iter_mark( in fsnotify_iter_mark() 506 struct fsnotify_mark **markp) in fsnotify_iter_step() 518 static inline struct fsnotify_mark *fsnotify_iter_##name##_mark( \ 607 struct fsnotify_mark { struct 779 static inline __u32 fsnotify_ignore_mask(struct fsnotify_mark *mark) in fsnotify_ignore_mask() [all …]
|
| /linux/fs/notify/ |
| H A D | mark.c | 95 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark() 177 struct fsnotify_mark *first_mark = NULL; in fsnotify_update_sb_watchers() 182 struct fsnotify_mark, obj_list); in fsnotify_update_sb_watchers() 245 struct fsnotify_mark *mark; in __fsnotify_recalc_mask() 370 static void fsnotify_final_mark_destroy(struct fsnotify_mark *mark) in fsnotify_final_mark_destroy() 391 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark() 458 static bool fsnotify_get_mark_safe(struct fsnotify_mark *mark) in fsnotify_get_mark_safe() 482 static void fsnotify_put_mark_wake(struct fsnotify_mark *mark) in fsnotify_put_mark_wake() 545 void fsnotify_detach_mark(struct fsnotify_mark *mark) in fsnotify_detach_mark() 574 void fsnotify_free_mark(struct fsnotify_mark *mark) in fsnotify_free_mark() [all …]
|
| H A D | fsnotify.c | 249 struct fsnotify_mark *inode_mark, in fsnotify_handle_inode_event() 280 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event() 281 struct fsnotify_mark *parent_mark = fsnotify_iter_parent_mark(iter_info); in fsnotify_handle_event() 340 struct fsnotify_mark *mark; in send_to_group() 379 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector *const *connp) in fsnotify_first_mark() 388 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark() 391 static struct fsnotify_mark *fsnotify_next_mark(struct fsnotify_mark *mark) in fsnotify_next_mark() 399 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark() 412 struct fsnotify_mark *mark; in fsnotify_iter_select_report_types() 456 struct fsnotify_mark *mark; in fsnotify_iter_next()
|
| H A D | fdinfo.c | 28 struct fsnotify_mark *mark)) in show_fdinfo() 31 struct fsnotify_mark *mark; in show_fdinfo() 76 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo() 105 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo()
|
| /linux/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/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/kernel/ |
| H A D | audit_tree.c | 28 struct fsnotify_mark *mark; 41 struct fsnotify_mark mark; 163 static inline struct audit_tree_mark *audit_mark(struct fsnotify_mark *mark) in audit_mark() 168 static struct audit_chunk *mark_chunk(struct fsnotify_mark *mark) in mark_chunk() 173 static void audit_tree_destroy_watch(struct fsnotify_mark *mark) in audit_tree_destroy_watch() 178 static struct fsnotify_mark *alloc_mark(void) in alloc_mark() 281 static void replace_mark_chunk(struct fsnotify_mark *mark, in replace_mark_chunk() 351 static void untag_chunk(struct audit_chunk *chunk, struct fsnotify_mark *mark) in untag_chunk() 401 struct fsnotify_mark *mark; in create_chunk() 462 struct fsnotify_mark *mark; in tag_chunk() [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() 157 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() 471 static int audit_watch_handle_event(struct fsnotify_mark *inode_mark, u32 mask, in audit_watch_handle_event()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 1241 static __u32 fanotify_mark_remove_from_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_remove_from_mask() 1273 struct fsnotify_mark *fsn_mark = NULL; in fanotify_remove_mark() 1299 static bool fanotify_mark_update_flags(struct fsnotify_mark *fsn_mark, in fanotify_mark_update_flags() 1341 static bool fanotify_mark_add_to_mask(struct fsnotify_mark *fsn_mark, in fanotify_mark_add_to_mask() 1368 struct fsnotify_mark *mark, in fanotify_set_mark_fsid() 1372 struct fsnotify_mark *old; in fanotify_set_mark_fsid() 1418 static struct fsnotify_mark *fanotify_add_new_mark(struct fsnotify_group *group, in fanotify_add_new_mark() 1426 struct fsnotify_mark *mark; in fanotify_add_new_mark() 1483 static int fanotify_may_update_existing_mark(struct fsnotify_mark *fsn_mark, in fanotify_may_update_existing_mark() 1524 struct fsnotify_mark *fsn_mark; in fanotify_add_mark()
|
| H A D | fanotify.h | 522 struct fsnotify_mark fsn_mark; 526 static inline struct fanotify_mark *FANOTIFY_MARK(struct fsnotify_mark *mark) in FANOTIFY_MARK() 537 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() 887 struct fsnotify_mark *mark; in fanotify_get_fsid() 1101 static void fanotify_freeing_mark(struct fsnotify_mark *mark, in fanotify_freeing_mark() 1108 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark()
|
| /linux/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() 744 nfsd_file_fsnotify_handle_event(struct fsnotify_mark *mark, u32 mask, in nfsd_file_fsnotify_handle_event()
|