Lines Matching refs:fsn_mark

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
131 struct dnotify_mark *dn_mark = container_of(fsn_mark, in dnotify_free_mark()
133 fsn_mark); in dnotify_free_mark()
154 struct fsnotify_mark *fsn_mark; in dnotify_flush() local
165 fsn_mark = fsnotify_find_inode_mark(inode, dnotify_group); in dnotify_flush()
166 if (!fsn_mark) in dnotify_flush()
168 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in dnotify_flush()
172 spin_lock(&fsn_mark->lock); in dnotify_flush()
178 dnotify_recalc_inode_mask(fsn_mark); in dnotify_flush()
184 spin_unlock(&fsn_mark->lock); in dnotify_flush()
189 fsnotify_detach_mark(fsn_mark); in dnotify_flush()
196 fsnotify_free_mark(fsn_mark); in dnotify_flush()
197 fsnotify_put_mark(fsn_mark); in dnotify_flush()
263 struct fsnotify_mark *new_fsn_mark, *fsn_mark; in fcntl_dirnotify() local
324 new_fsn_mark = &new_dn_mark->fsn_mark; in fcntl_dirnotify()
333 fsn_mark = fsnotify_find_inode_mark(inode, dnotify_group); in fcntl_dirnotify()
334 if (fsn_mark) { in fcntl_dirnotify()
335 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); in fcntl_dirnotify()
336 spin_lock(&fsn_mark->lock); in fcntl_dirnotify()
344 fsn_mark = new_fsn_mark; in fcntl_dirnotify()
383 dnotify_recalc_inode_mask(fsn_mark); in fcntl_dirnotify()
385 spin_unlock(&fsn_mark->lock); in fcntl_dirnotify()
388 fsnotify_detach_mark(fsn_mark); in fcntl_dirnotify()
391 fsnotify_free_mark(fsn_mark); in fcntl_dirnotify()
392 fsnotify_put_mark(fsn_mark); in fcntl_dirnotify()