Lines Matching refs:fsn_mark

42 	struct fsnotify_mark fsn_mark;  member
54 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark) in dnotify_recalc_inode_mask() argument
58 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_recalc_inode_mask()
60 fsn_mark); in dnotify_recalc_inode_mask()
62 assert_spin_locked(&fsn_mark->lock); in dnotify_recalc_inode_mask()
66 if (fsn_mark->mask == new_mask) in dnotify_recalc_inode_mask()
68 fsn_mark->mask = new_mask; in dnotify_recalc_inode_mask()
70 fsnotify_recalc_mask(fsn_mark->connector); in dnotify_recalc_inode_mask()
101 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); in dnotify_handle_event()
126 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark) in dnotify_free_mark() argument
128 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_free_mark()
130 fsn_mark); in dnotify_free_mark()
151 struct fsnotify_mark *fsn_mark; in dnotify_flush() local
162 fsn_mark = fsnotify_find_mark(&inode->i_fsnotify_marks, dnotify_group); in dnotify_flush()
163 if (!fsn_mark) in dnotify_flush()
165 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in dnotify_flush()
169 spin_lock(&fsn_mark->lock); in dnotify_flush()
175 dnotify_recalc_inode_mask(fsn_mark); in dnotify_flush()
181 spin_unlock(&fsn_mark->lock); in dnotify_flush()
186 fsnotify_detach_mark(fsn_mark); in dnotify_flush()
193 fsnotify_free_mark(fsn_mark); in dnotify_flush()
194 fsnotify_put_mark(fsn_mark); in dnotify_flush()
260 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify() local
309 new_fsn_mark = &new_dn_mark->fsn_mark; in fcntl_dirnotify()
318 fsn_mark = fsnotify_find_mark(&inode->i_fsnotify_marks, dnotify_group); in fcntl_dirnotify()
319 if (fsn_mark) { in fcntl_dirnotify()
320 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in fcntl_dirnotify()
321 spin_lock(&fsn_mark->lock); in fcntl_dirnotify()
329 fsn_mark = new_fsn_mark; in fcntl_dirnotify()
368 dnotify_recalc_inode_mask(fsn_mark); in fcntl_dirnotify()
370 spin_unlock(&fsn_mark->lock); in fcntl_dirnotify()
373 fsnotify_detach_mark(fsn_mark); in fcntl_dirnotify()
376 fsnotify_free_mark(fsn_mark); in fcntl_dirnotify()
377 fsnotify_put_mark(fsn_mark); in fcntl_dirnotify()