Lines Matching refs:fsn_mark

371 		fsnotify_get_mark(&i_mark->fsn_mark);
390 struct fsnotify_mark *fsn_mark = &i_mark->fsn_mark;
392 fsnotify_get_mark(fsn_mark);
394 BUG_ON(refcount_read(&fsn_mark->refcnt) < 2);
434 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group);
442 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group);
455 i_mark->wd, i_mark->fsn_mark.group, found_i_mark,
456 found_i_mark->wd, found_i_mark->fsn_mark.group);
464 if (unlikely(refcount_read(&i_mark->fsn_mark.refcnt) < 2)) {
466 __func__, i_mark, i_mark->wd, i_mark->fsn_mark.group);
473 fsnotify_put_mark(&i_mark->fsn_mark);
479 fsnotify_put_mark(&found_i_mark->fsn_mark);
485 void inotify_ignored_and_remove_idr(struct fsnotify_mark *fsn_mark,
491 inotify_handle_inode_event(fsn_mark, FS_IN_IGNORED, NULL, NULL, NULL,
494 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark);
505 struct fsnotify_mark *fsn_mark;
515 fsn_mark = fsnotify_find_mark(&inode->i_fsnotify_marks, group);
516 if (!fsn_mark)
523 i_mark = container_of(fsn_mark, struct inotify_inode_mark, fsn_mark);
525 spin_lock(&fsn_mark->lock);
526 old_mask = fsn_mark->mask;
528 fsn_mark->mask |= mask;
530 fsn_mark->mask = mask;
531 new_mask = fsn_mark->mask;
532 spin_unlock(&fsn_mark->lock);
537 /* more bits in this fsn_mark than the inode's mask? */
540 /* update the inode with this new fsn_mark */
551 fsnotify_put_mark(fsn_mark);
572 fsnotify_init_mark(&tmp_i_mark->fsn_mark, group);
573 tmp_i_mark->fsn_mark.mask = mask;
588 ret = fsnotify_add_inode_mark_locked(&tmp_i_mark->fsn_mark, inode, 0);
601 fsnotify_put_mark(&tmp_i_mark->fsn_mark);
783 fsnotify_destroy_mark(&i_mark->fsn_mark, group);
786 fsnotify_put_mark(&i_mark->fsn_mark);