Lines Matching refs:mnt_sb
272 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
312 if (mnt->mnt_sb->s_readonly_remount) in mnt_is_readonly()
394 sb_start_write(m->mnt_sb); in mnt_want_write()
397 sb_end_write(m->mnt_sb); in mnt_want_write()
472 sb_end_write(mnt->mnt_sb); in mnt_drop_write()
1021 mnt->mnt.mnt_sb = fc->root->d_sb; in vfs_create_mount()
1027 list_add_tail(&mnt->mnt_instance, &mnt->mnt.mnt_sb->s_mounts); in vfs_create_mount()
1092 struct super_block *sb = old->mnt.mnt_sb; in clone_mnt()
1117 mnt->mnt.mnt_sb = sb; in clone_mnt()
1177 deactivate_super(mnt->mnt.mnt_sb); in cleanup_mnt()
1632 struct super_block *sb = mnt->mnt.mnt_sb; in do_umount()
2332 if (mnt->mnt.mnt_sb->s_flags & SB_NOUSER) in graft_tree()
2613 struct super_block *sb = mnt->mnt_sb; in mnt_warn_timestamp_expiry()
2642 struct super_block *sb = path->mnt->mnt_sb; in do_reconfigure_mnt()
2681 struct super_block *sb = path->mnt->mnt_sb; in do_remount()
2784 if (from->mnt.mnt_sb != to->mnt.mnt_sb) in do_set_group()
2943 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && in do_add_mount()
3068 if (m->mnt_sb == path->mnt->mnt_sb && in finish_automount()
3561 s = path.mnt->mnt_sb; in mount_subtree()
3985 struct user_namespace *fs_userns = m->mnt_sb->s_user_ns; in can_idmap_mount()
3994 if (!check_fsmapping(kattr->mnt_idmap, m->mnt_sb)) in can_idmap_mount()
4006 if (!(m->mnt_sb->s_type->fs_flags & FS_ALLOW_IDMAP)) in can_idmap_mount()
4539 if (mnt->mnt.mnt_sb->s_type != sb->s_type) in mnt_already_visible()
4545 if (mnt->mnt.mnt_root != mnt->mnt.mnt_sb->s_root) in mnt_already_visible()
4552 if (sb_rdonly(mnt->mnt.mnt_sb)) in mnt_already_visible()
4624 current_in_userns(mnt->mnt_sb->s_user_ns); in mnt_may_suid()