Lines Matching refs:mnt
43 struct vfsmount mnt;
84 static inline struct mount *real_mount(struct vfsmount *mnt)
86 return container_of(mnt, struct mount, mnt);
89 static inline int mnt_has_parent(struct mount *mnt)
91 return mnt != mnt->mnt_parent;
94 static inline int is_mounted(struct vfsmount *mnt)
97 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns);
106 struct mount *m = __lookup_mnt(path->mnt, path->dentry);
107 return m && likely(!(m->mnt.mnt_flags & MNT_SYNC_UMOUNT));