Lines Matching refs:fsn_mark

51 	struct fsnotify_mark fsn_mark;
63 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark)
67 struct dnotify_mark *dn_mark = container_of(fsn_mark,
69 fsn_mark);
71 assert_spin_locked(&fsn_mark->lock);
75 if (fsn_mark->mask == new_mask)
77 fsn_mark->mask = new_mask;
79 fsnotify_recalc_mask(fsn_mark->connector);
104 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark);
129 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark)
131 struct dnotify_mark *dn_mark = container_of(fsn_mark,
133 fsn_mark);
154 struct fsnotify_mark *fsn_mark;
165 fsn_mark = fsnotify_find_inode_mark(inode, dnotify_group);
166 if (!fsn_mark)
168 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
172 spin_lock(&fsn_mark->lock);
178 dnotify_recalc_inode_mask(fsn_mark);
184 spin_unlock(&fsn_mark->lock);
189 fsnotify_detach_mark(fsn_mark);
196 fsnotify_free_mark(fsn_mark);
197 fsnotify_put_mark(fsn_mark);
263 struct fsnotify_mark *new_fsn_mark, *fsn_mark;
324 new_fsn_mark = &new_dn_mark->fsn_mark;
333 fsn_mark = fsnotify_find_inode_mark(inode, dnotify_group);
334 if (fsn_mark) {
335 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
336 spin_lock(&fsn_mark->lock);
344 fsn_mark = new_fsn_mark;
356 * the dnotify_groups mark_mutex and fsn_mark->lock. Since closing the
361 * the flush actually did shoot this fsn_mark. That's fine too
383 dnotify_recalc_inode_mask(fsn_mark);
385 spin_unlock(&fsn_mark->lock);
388 fsnotify_detach_mark(fsn_mark);
391 fsnotify_free_mark(fsn_mark);
392 fsnotify_put_mark(fsn_mark);