Lines Matching refs:mark
50 void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark) in fsnotify_destroy_vfsmount_mark() argument
52 struct vfsmount *mnt = mark->mnt; in fsnotify_destroy_vfsmount_mark()
55 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_vfsmount_mark()
56 assert_spin_locked(&mark->lock); in fsnotify_destroy_vfsmount_mark()
60 hlist_del_init_rcu(&mark->obj_list); in fsnotify_destroy_vfsmount_mark()
61 mark->mnt = NULL; in fsnotify_destroy_vfsmount_mark()
75 struct fsnotify_mark *mark; in fsnotify_find_vfsmount_mark() local
78 mark = fsnotify_find_mark(&m->mnt_fsnotify_marks, group); in fsnotify_find_vfsmount_mark()
81 return mark; in fsnotify_find_vfsmount_mark()
89 int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, in fsnotify_add_vfsmount_mark() argument
96 mark->flags |= FSNOTIFY_MARK_FLAG_VFSMOUNT; in fsnotify_add_vfsmount_mark()
99 assert_spin_locked(&mark->lock); in fsnotify_add_vfsmount_mark()
102 mark->mnt = mnt; in fsnotify_add_vfsmount_mark()
103 ret = fsnotify_add_mark_list(&m->mnt_fsnotify_marks, mark, allow_dups); in fsnotify_add_vfsmount_mark()