• 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/inotify/

Lines Matching refs:fsn_mark

383 			fsnotify_get_mark(&i_mark->fsn_mark);
402 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark;
404 fsnotify_get_mark(fsn_mark);
406 BUG_ON(atomic_read(&fsn_mark->refcnt) < 2);
437 fsnotify_put_mark(&i_mark->fsn_mark);
461 i_mark->fsn_mark.group, i_mark->fsn_mark.i.inode);
470 i_mark->fsn_mark.group, i_mark->fsn_mark.i.inode);
483 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group,
484 i_mark->fsn_mark.i.inode, found_i_mark, found_i_mark->wd,
485 found_i_mark->fsn_mark.group,
486 found_i_mark->fsn_mark.i.inode);
495 if (unlikely(atomic_read(&i_mark->fsn_mark.refcnt) < 3)) {
498 i_mark->fsn_mark.group, i_mark->fsn_mark.i.inode);
507 fsnotify_put_mark(&found_i_mark->fsn_mark);
515 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
530 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark);
562 static void inotify_free_mark(struct fsnotify_mark *fsn_mark)
566 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark);
575 struct fsnotify_mark *fsn_mark;
587 fsn_mark = fsnotify_find_inode_mark(group, inode);
588 if (!fsn_mark)
591 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark);
593 spin_lock(&fsn_mark->lock);
595 old_mask = fsn_mark->mask;
597 fsnotify_set_mark_mask_locked(fsn_mark, (fsn_mark->mask | mask));
599 fsnotify_set_mark_mask_locked(fsn_mark, mask);
600 new_mask = fsn_mark->mask;
602 spin_unlock(&fsn_mark->lock);
607 /* more bits in this fsn_mark than the inode's mask? */
610 /* update the inode with this new fsn_mark */
620 fsnotify_put_mark(fsn_mark);
644 fsnotify_init_mark(&tmp_i_mark->fsn_mark, inotify_free_mark);
645 tmp_i_mark->fsn_mark.mask = mask;
658 ret = fsnotify_add_mark(&tmp_i_mark->fsn_mark, group, inode, NULL, 0);
673 fsnotify_put_mark(&tmp_i_mark->fsn_mark);
832 fsnotify_destroy_mark(&i_mark->fsn_mark);
835 fsnotify_put_mark(&i_mark->fsn_mark);