Searched refs:fsn_mark (Results 1 – 5 of 5) sorted by relevance
/linux/fs/notify/dnotify/ |
H A D | dnotify.c | 51 struct fsnotify_mark fsn_mark; member 63 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask() argument 67 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_recalc_inode_mask() 69 fsn_mark); in dnotify_recalc_inode_mask() 71 assert_spin_locked(&fsn_mark->lock); in dnotify_recalc_inode_mask() 75 if (fsn_mark->mask == new_mask) in dnotify_recalc_inode_mask() 77 fsn_mark->mask = new_mask; in dnotify_recalc_inode_mask() 79 fsnotify_recalc_mask(fsn_mark->connector); in dnotify_recalc_inode_mask() 104 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event() 129 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark() argument [all …]
|
/linux/fs/notify/inotify/ |
H A D | inotify_fsnotify.c | 81 fsn_mark); in inotify_handle_inode_event() 138 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() argument 140 inotify_ignored_and_remove_idr(fsn_mark, group); in inotify_freeing_mark() 152 struct fsnotify_mark *fsn_mark; in idr_callback() local 160 fsn_mark = p; in idr_callback() 161 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in idr_callback() 172 if (fsn_mark) in idr_callback() 174 fsn_mark->group, i_mark->wd); in idr_callback() 194 static void inotify_free_mark(struct fsnotify_mark *fsn_mark) in inotify_free_mark() argument 198 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark); in inotify_free_mark()
|
H A D | inotify.h | 16 struct fsnotify_mark fsn_mark; member 32 static inline __u32 inotify_mark_user_mask(struct fsnotify_mark *fsn_mark) in inotify_mark_user_mask() argument 34 __u32 mask = fsn_mark->mask & INOTIFY_USER_MASK; in inotify_mark_user_mask() 36 if (fsn_mark->flags & FSNOTIFY_MARK_FLAG_EXCL_UNLINK) in inotify_mark_user_mask() 38 if (fsn_mark->flags & FSNOTIFY_MARK_FLAG_IN_ONESHOT) in inotify_mark_user_mask() 44 extern void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
|
/linux/fs/notify/fanotify/ |
H A D | fanotify.h | 493 struct fsnotify_mark fsn_mark; member 499 return container_of(mark, struct fanotify_mark, fsn_mark); in FANOTIFY_MARK()
|
H A D | fanotify.c | 1053 static void fanotify_free_mark(struct fsnotify_mark *fsn_mark) in fanotify_free_mark() argument 1055 kmem_cache_free(fanotify_mark_cache, FANOTIFY_MARK(fsn_mark)); in fanotify_free_mark()
|