• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/notify/dnotify/

Lines Matching refs:fsn_mark

42 	struct fsnotify_mark fsn_mark;
54 static void dnotify_recalc_inode_mask(struct fsnotify_mark *fsn_mark)
58 struct dnotify_mark *dn_mark = container_of(fsn_mark,
60 fsn_mark);
62 assert_spin_locked(&fsn_mark->lock);
64 old_mask = fsn_mark->mask;
68 fsnotify_set_mark_mask_locked(fsn_mark, new_mask);
73 if (fsn_mark->i.inode)
74 fsnotify_recalc_inode_mask(fsn_mark->i.inode);
101 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark);
143 static void dnotify_free_mark(struct fsnotify_mark *fsn_mark)
145 struct dnotify_mark *dn_mark = container_of(fsn_mark,
147 fsn_mark);
171 struct fsnotify_mark *fsn_mark;
181 fsn_mark = fsnotify_find_inode_mark(dnotify_group, inode);
182 if (!fsn_mark)
184 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
188 spin_lock(&fsn_mark->lock);
194 dnotify_recalc_inode_mask(fsn_mark);
200 spin_unlock(&fsn_mark->lock);
204 fsnotify_destroy_mark(fsn_mark);
208 fsnotify_put_mark(fsn_mark);
274 struct fsnotify_mark *new_fsn_mark, *fsn_mark;
323 new_fsn_mark = &new_dn_mark->fsn_mark;
332 fsn_mark = fsnotify_find_inode_mark(dnotify_group, inode);
333 if (fsn_mark) {
334 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
335 spin_lock(&fsn_mark->lock);
339 fsn_mark = new_fsn_mark;
351 * the dnotify_mark_mutex and fsn_mark->lock. Since closing the fd is the
356 * 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_destroy_mark(fsn_mark);
391 fsnotify_put_mark(fsn_mark);