Lines Matching refs:mnt
44 struct vfsmount mnt;
85 static inline struct mount *real_mount(struct vfsmount *mnt)
87 return container_of(mnt, struct mount, mnt);
90 static inline int mnt_has_parent(struct mount *mnt)
92 return mnt != mnt->mnt_parent;
95 static inline int is_mounted(struct vfsmount *mnt)
98 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns);
108 struct mount *m = __lookup_mnt(path->mnt, path->dentry);
109 return m && likely(!(m->mnt.mnt_flags & MNT_SYNC_UMOUNT));