Lines Matching refs:mnt
60 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt) in show_mnt_opts() argument
74 if (mnt->mnt_flags & fs_infop->flag) in show_mnt_opts()
93 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt) in show_vfsmnt() argument
96 struct mount *r = real_mount(mnt); in show_vfsmnt()
98 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsmnt()
115 seq_puts(m, __mnt_is_readonly(mnt) ? " ro" : " rw"); in show_vfsmnt()
119 show_mnt_opts(m, mnt); in show_vfsmnt()
127 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt) in show_mountinfo() argument
130 struct mount *r = real_mount(mnt); in show_mountinfo()
131 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
132 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_mountinfo()
138 err = sb->s_op->show_path(m, mnt->mnt_root); in show_mountinfo()
140 seq_dentry(m, mnt->mnt_root, " \t\n\\"); in show_mountinfo()
150 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
151 show_mnt_opts(m, mnt); in show_mountinfo()
171 err = sb->s_op->show_devname(m, mnt->mnt_root); in show_mountinfo()
181 err = sb->s_op->show_options(m, mnt->mnt_root); in show_mountinfo()
187 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt) in show_vfsstat() argument
190 struct mount *r = real_mount(mnt); in show_vfsstat()
191 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt }; in show_vfsstat()