Lines Matching refs:mnt
64 static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
79 if (mnt->mnt_flags & fs_infop->flag)
83 if (is_idmapped_mnt(mnt))
101 static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt)
104 struct mount *r = real_mount(mnt);
105 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
123 seq_puts(m, __mnt_is_readonly(mnt) ? " ro" : " rw");
127 show_mnt_opts(m, mnt);
135 static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
138 struct mount *r = real_mount(mnt);
139 struct super_block *sb = mnt->mnt_sb;
140 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
146 err = sb->s_op->show_path(m, mnt->mnt_root);
150 seq_dentry(m, mnt->mnt_root, " \t\n\\");
159 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw");
160 show_mnt_opts(m, mnt);
180 err = sb->s_op->show_devname(m, mnt->mnt_root);
191 err = sb->s_op->show_options(m, mnt->mnt_root);
197 static int show_vfsstat(struct seq_file *m, struct vfsmount *mnt)
200 struct mount *r = real_mount(mnt);
201 struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
287 p->cursor.mnt.mnt_flags = MNT_CURSOR;