Lines Matching refs:fsn_mark

41 	struct fsnotify_mark fsn_mark;  member
53 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask() argument
57 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_recalc_inode_mask()
59 fsn_mark); in dnotify_recalc_inode_mask()
61 assert_spin_locked(&fsn_mark->lock); in dnotify_recalc_inode_mask()
63 old_mask = fsn_mark->mask; in dnotify_recalc_inode_mask()
67 fsnotify_set_mark_mask_locked(fsn_mark, new_mask); in dnotify_recalc_inode_mask()
72 if (fsn_mark->inode) in dnotify_recalc_inode_mask()
73 fsnotify_recalc_inode_mask(fsn_mark->inode); in dnotify_recalc_inode_mask()
103 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event()
128 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark() argument
130 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_free_mark()
132 fsn_mark); in dnotify_free_mark()
152 struct fsnotify_mark *fsn_mark; in dnotify_flush() local
163 fsn_mark = fsnotify_find_inode_mark(dnotify_group, inode); in dnotify_flush()
164 if (!fsn_mark) in dnotify_flush()
166 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in dnotify_flush()
170 spin_lock(&fsn_mark->lock); in dnotify_flush()
176 dnotify_recalc_inode_mask(fsn_mark); in dnotify_flush()
182 spin_unlock(&fsn_mark->lock); in dnotify_flush()
187 fsnotify_detach_mark(fsn_mark); in dnotify_flush()
194 fsnotify_free_mark(fsn_mark); in dnotify_flush()
195 fsnotify_put_mark(fsn_mark); in dnotify_flush()
261 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify() local
310 new_fsn_mark = &new_dn_mark->fsn_mark; in fcntl_dirnotify()
319 fsn_mark = fsnotify_find_inode_mark(dnotify_group, inode); in fcntl_dirnotify()
320 if (fsn_mark) { in fcntl_dirnotify()
321 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in fcntl_dirnotify()
322 spin_lock(&fsn_mark->lock); in fcntl_dirnotify()
327 fsn_mark = new_fsn_mark; in fcntl_dirnotify()
365 dnotify_recalc_inode_mask(fsn_mark); in fcntl_dirnotify()
367 spin_unlock(&fsn_mark->lock); in fcntl_dirnotify()
370 fsnotify_detach_mark(fsn_mark); in fcntl_dirnotify()
373 fsnotify_free_mark(fsn_mark); in fcntl_dirnotify()
374 fsnotify_put_mark(fsn_mark); in fcntl_dirnotify()