SB_RDONLY 130 drivers/staging/exfat/exfat_core.c sb->s_flags |= SB_RDONLY; SB_RDONLY 457 fs/affs/amigaffs.c sb->s_flags |= SB_RDONLY; SB_RDONLY 253 fs/affs/bitmap.c if (*flags & SB_RDONLY) SB_RDONLY 258 fs/affs/bitmap.c *flags |= SB_RDONLY; SB_RDONLY 291 fs/affs/bitmap.c *flags |= SB_RDONLY; SB_RDONLY 470 fs/affs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 595 fs/affs/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 598 fs/affs/super.c if (*flags & SB_RDONLY) SB_RDONLY 836 fs/befs/linuxvfs.c sb->s_flags |= SB_RDONLY; SB_RDONLY 945 fs/befs/linuxvfs.c if (!(*flags & SB_RDONLY)) SB_RDONLY 2644 fs/btrfs/ctree.h return fs_info->sb->s_flags & SB_RDONLY || btrfs_fs_closing(fs_info); SB_RDONLY 2190 fs/btrfs/extent_io.c ASSERT(!(fs_info->sb->s_flags & SB_RDONLY)); SB_RDONLY 150 fs/btrfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 868 fs/btrfs/super.c if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { SB_RDONLY 1488 fs/btrfs/super.c if (!(flags & SB_RDONLY)) SB_RDONLY 1538 fs/btrfs/super.c if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { SB_RDONLY 1554 fs/btrfs/super.c if ((flags ^ s->s_flags) & SB_RDONLY) SB_RDONLY 1623 fs/btrfs/super.c if (flags & SB_RDONLY) { SB_RDONLY 1625 fs/btrfs/super.c flags & ~SB_RDONLY, device_name, data); SB_RDONLY 1628 fs/btrfs/super.c flags | SB_RDONLY, device_name, data); SB_RDONLY 1696 fs/btrfs/super.c (flags & SB_RDONLY))) { SB_RDONLY 1700 fs/btrfs/super.c if (flags & SB_RDONLY) SB_RDONLY 1754 fs/btrfs/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 1757 fs/btrfs/super.c if (*flags & SB_RDONLY) { SB_RDONLY 1769 fs/btrfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1846 fs/btrfs/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 1858 fs/btrfs/super.c old_flags |= SB_RDONLY; SB_RDONLY 2674 fs/btrfs/volumes.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 2796 fs/btrfs/volumes.c sb->s_flags |= SB_RDONLY; SB_RDONLY 166 fs/cifs/cifsfs.c sb->s_flags |= SB_RDONLY; SB_RDONLY 637 fs/cifs/cifsglob.h #define CIFS_MS_MASK (SB_RDONLY | SB_MANDLOCK | SB_NOEXEC | SB_NOSUID | \ SB_RDONLY 513 fs/cramfs/inode.c fc->sb_flags |= SB_RDONLY; SB_RDONLY 601 fs/cramfs/inode.c sb->s_flags |= SB_RDONLY; SB_RDONLY 558 fs/ecryptfs/main.c s->s_flags |= SB_RDONLY; SB_RDONLY 113 fs/efs/super.c *flags |= SB_RDONLY; SB_RDONLY 310 fs/efs/super.c s->s_flags |= SB_RDONLY; SB_RDONLY 374 fs/erofs/super.c sb->s_flags |= SB_RDONLY | SB_NOATIME; SB_RDONLY 593 fs/erofs/super.c *flags |= SB_RDONLY; SB_RDONLY 80 fs/ext2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 655 fs/ext2/super.c res = SB_RDONLY; SB_RDONLY 1196 fs/ext2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1355 fs/ext2/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 1357 fs/ext2/super.c if (*flags & SB_RDONLY) { SB_RDONLY 1393 fs/ext2/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 483 fs/ext4/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 698 fs/ext4/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2654 fs/ext4/super.c if (es->s_last_orphan && !(s_flags & SB_RDONLY)) { SB_RDONLY 2663 fs/ext4/super.c if (s_flags & SB_RDONLY) { SB_RDONLY 2665 fs/ext4/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 2675 fs/ext4/super.c if (ext4_has_feature_quota(sb) && (s_flags & SB_RDONLY)) { SB_RDONLY 2971 fs/ext4/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 4548 fs/ext4/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 5043 fs/ext4/super.c if (!(sb->s_flags & SB_RDONLY)) SB_RDONLY 5412 fs/ext4/super.c if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { SB_RDONLY 5418 fs/ext4/super.c if (*flags & SB_RDONLY) { SB_RDONLY 5430 fs/ext4/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 5498 fs/ext4/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 5522 fs/ext4/super.c if (sbi->s_journal == NULL && !(old_sb_flags & SB_RDONLY)) { SB_RDONLY 682 fs/f2fs/checkpoint.c if (s_flags & SB_RDONLY) { SB_RDONLY 684 fs/f2fs/checkpoint.c sbi->sb->s_flags &= ~SB_RDONLY; SB_RDONLY 695 fs/f2fs/checkpoint.c quota_enabled = f2fs_enable_quota_files(sbi, s_flags & SB_RDONLY); SB_RDONLY 730 fs/f2fs/recovery.c if (s_flags & SB_RDONLY) { SB_RDONLY 732 fs/f2fs/recovery.c sbi->sb->s_flags &= ~SB_RDONLY; SB_RDONLY 739 fs/f2fs/recovery.c quota_enabled = f2fs_enable_quota_files(sbi, s_flags & SB_RDONLY); SB_RDONLY 1514 fs/f2fs/super.c if (s_flags & SB_RDONLY) { SB_RDONLY 1617 fs/f2fs/super.c if (!(*flags & SB_RDONLY) && is_sbi_flag_set(sbi, SBI_NEED_SB_WRITE)) { SB_RDONLY 1638 fs/f2fs/super.c if (f2fs_readonly(sb) && (*flags & SB_RDONLY)) SB_RDONLY 1642 fs/f2fs/super.c if (!f2fs_readonly(sb) && (*flags & SB_RDONLY)) { SB_RDONLY 1646 fs/f2fs/super.c } else if (f2fs_readonly(sb) && !(*flags & SB_RDONLY)) { SB_RDONLY 1648 fs/f2fs/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 1671 fs/f2fs/super.c if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { SB_RDONLY 1682 fs/f2fs/super.c if ((*flags & SB_RDONLY) || !test_opt(sbi, BG_GC)) { SB_RDONLY 1694 fs/f2fs/super.c if (*flags & SB_RDONLY || SB_RDONLY 1719 fs/f2fs/super.c if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { SB_RDONLY 3675 fs/f2fs/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 811 fs/fat/inode.c new_rdonly = *flags & SB_RDONLY; SB_RDONLY 1376 fs/fat/inode.c sb->s_flags |= SB_RDONLY; SB_RDONLY 38 fs/fat/misc.c sb->s_flags |= SB_RDONLY; SB_RDONLY 119 fs/freevxfs/vxfs_super.c *flags |= SB_RDONLY; SB_RDONLY 216 fs/freevxfs/vxfs_super.c sbp->s_flags |= SB_RDONLY; SB_RDONLY 46 fs/fs_context.c { "ro", SB_RDONLY }, SB_RDONLY 54 fs/fs_context.c { "rw", SB_RDONLY }, SB_RDONLY 1058 fs/gfs2/ops_fstype.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1491 fs/gfs2/ops_fstype.c fc->sb_flags |= SB_RDONLY; SB_RDONLY 1493 fs/gfs2/ops_fstype.c if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { SB_RDONLY 1494 fs/gfs2/ops_fstype.c if (fc->sb_flags & SB_RDONLY) { SB_RDONLY 1599 fs/gfs2/ops_fstype.c if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { SB_RDONLY 207 fs/hfs/mdb.c sb->s_flags |= SB_RDONLY; SB_RDONLY 211 fs/hfs/mdb.c sb->s_flags |= SB_RDONLY; SB_RDONLY 118 fs/hfs/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 120 fs/hfs/super.c if (!(*flags & SB_RDONLY)) { SB_RDONLY 123 fs/hfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 124 fs/hfs/super.c *flags |= SB_RDONLY; SB_RDONLY 127 fs/hfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 128 fs/hfs/super.c *flags |= SB_RDONLY; SB_RDONLY 333 fs/hfsplus/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 335 fs/hfsplus/super.c if (!(*flags & SB_RDONLY)) { SB_RDONLY 344 fs/hfsplus/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 345 fs/hfsplus/super.c *flags |= SB_RDONLY; SB_RDONLY 351 fs/hfsplus/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 352 fs/hfsplus/super.c *flags |= SB_RDONLY; SB_RDONLY 356 fs/hfsplus/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 357 fs/hfsplus/super.c *flags |= SB_RDONLY; SB_RDONLY 459 fs/hfsplus/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 464 fs/hfsplus/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 468 fs/hfsplus/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 291 fs/hpfs/map.c if (((31 + de->namelen + de->down*4 + 3) & ~3) < le16_to_cpu(de->length) && s->s_flags & SB_RDONLY) goto ok; SB_RDONLY 82 fs/hpfs/super.c s->s_flags |= SB_RDONLY; SB_RDONLY 485 fs/hpfs/super.c if (!(*flags & SB_RDONLY)) mark_dirty(s, 1); SB_RDONLY 116 fs/isofs/inode.c if (!(*flags & SB_RDONLY)) SB_RDONLY 413 fs/jffs2/fs.c if (!(fc->sb_flags & SB_RDONLY)) SB_RDONLY 63 fs/jffs2/os-linux.h #define jffs2_is_readonly(c) (OFNI_BS_2SFFJ(c)->s_flags & SB_RDONLY) SB_RDONLY 77 fs/jfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 451 fs/jfs/super.c if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { SB_RDONLY 462 fs/jfs/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 467 fs/jfs/super.c if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { SB_RDONLY 123 fs/minix/inode.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 125 fs/minix/inode.c if (*flags & SB_RDONLY) { SB_RDONLY 1491 fs/namespace.c fc = fs_context_for_reconfigure(sb->s_root, SB_RDONLY, SB_RDONLY 1492 fs/namespace.c SB_RDONLY); SB_RDONLY 3121 fs/namespace.c sb_flags = flags & (SB_RDONLY | SB_RDONLY 13 fs/nfs/internal.h #define NFS_MS_MASK (SB_RDONLY|SB_NOSUID|SB_NODEV|SB_NOEXEC|SB_SYNCHRONOUS) SB_RDONLY 135 fs/nilfs2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1130 fs/nilfs2/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 1132 fs/nilfs2/super.c if (*flags & SB_RDONLY) { SB_RDONLY 1135 fs/nilfs2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1165 fs/nilfs2/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 1199 fs/nilfs2/super.c if (!(sd->flags & SB_RDONLY)) { SB_RDONLY 1273 fs/nilfs2/super.c if (!(flags & SB_RDONLY)) SB_RDONLY 1321 fs/nilfs2/super.c if ((flags ^ s->s_flags) & SB_RDONLY) { SB_RDONLY 214 fs/nilfs2/the_nilfs.c if (s_flags & SB_RDONLY) { SB_RDONLY 280 fs/nilfs2/the_nilfs.c if (s_flags & SB_RDONLY) { SB_RDONLY 303 fs/nilfs2/the_nilfs.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 462 fs/ntfs/super.c *flags |= SB_RDONLY; SB_RDONLY 476 fs/ntfs/super.c if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { SB_RDONLY 537 fs/ntfs/super.c } else if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { SB_RDONLY 1788 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1926 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1963 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2008 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2031 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2044 fs/ntfs/super.c if (!(sb->s_flags & SB_RDONLY) && (vol->major_ver > 1) && SB_RDONLY 2058 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2076 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2117 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2139 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2160 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2183 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2717 fs/ntfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 647 fs/ocfs2/super.c if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { SB_RDONLY 649 fs/ocfs2/super.c if (*flags & SB_RDONLY) { SB_RDONLY 663 fs/ocfs2/super.c if (*flags & SB_RDONLY) { SB_RDONLY 664 fs/ocfs2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 681 fs/ocfs2/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 688 fs/ocfs2/super.c if (!ret && !(*flags & SB_RDONLY)) { SB_RDONLY 696 fs/ocfs2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 2532 fs/ocfs2/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 373 fs/overlayfs/super.c if (!(*flags & SB_RDONLY) && ovl_force_readonly(ofs)) SB_RDONLY 1626 fs/overlayfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1639 fs/overlayfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1650 fs/overlayfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 51 fs/qnx4/inode.c *flags |= SB_RDONLY; SB_RDONLY 203 fs/qnx4/inode.c s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ SB_RDONLY 60 fs/qnx6/inode.c *flags |= SB_RDONLY; SB_RDONLY 431 fs/qnx6/inode.c s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ SB_RDONLY 4387 fs/reiserfs/journal.c sb->s_flags |= SB_RDONLY; SB_RDONLY 414 fs/reiserfs/prints.c sb->s_flags |= SB_RDONLY; SB_RDONLY 433 fs/reiserfs/prints.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1519 fs/reiserfs/super.c if (*mount_flags & SB_RDONLY) { SB_RDONLY 1565 fs/reiserfs/super.c s->s_flags &= ~SB_RDONLY; SB_RDONLY 1573 fs/reiserfs/super.c s->s_flags &= ~SB_RDONLY; SB_RDONLY 1588 fs/reiserfs/super.c if (!(*mount_flags & SB_RDONLY)) { SB_RDONLY 2058 fs/reiserfs/super.c s->s_flags |= SB_RDONLY; SB_RDONLY 1002 fs/reiserfs/xattr.c if (d_really_is_negative(privroot) && !(mount_flags & SB_RDONLY)) { SB_RDONLY 429 fs/romfs/super.c fc->sb_flags |= SB_RDONLY; SB_RDONLY 479 fs/romfs/super.c sb->s_flags |= SB_RDONLY | SB_NOATIME; SB_RDONLY 191 fs/squashfs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 354 fs/squashfs/super.c fc->sb_flags |= SB_RDONLY; SB_RDONLY 42 fs/statfs.c if (s_flags & SB_RDONLY) SB_RDONLY 919 fs/super.c if (fc->sb_flags_mask & SB_RDONLY) { SB_RDONLY 921 fs/super.c if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) SB_RDONLY 925 fs/super.c remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); SB_RDONLY 998 fs/super.c SB_RDONLY | SB_FORCE, SB_RDONLY); SB_RDONLY 1286 fs/super.c if (!(fc->sb_flags & SB_RDONLY)) SB_RDONLY 1321 fs/super.c if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { SB_RDONLY 1372 fs/super.c if (!(flags & SB_RDONLY)) SB_RDONLY 1397 fs/super.c if ((flags ^ s->s_flags) & SB_RDONLY) { SB_RDONLY 66 fs/sysv/inode.c *flags |= SB_RDONLY; SB_RDONLY 336 fs/sysv/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 75 fs/ubifs/io.c c->vfs_sb->s_flags |= SB_RDONLY; SB_RDONLY 1968 fs/ubifs/super.c if (c->ro_mount && !(*flags & SB_RDONLY)) { SB_RDONLY 1980 fs/ubifs/super.c } else if (!c->ro_mount && (*flags & SB_RDONLY)) { SB_RDONLY 2266 fs/ubifs/super.c if (!!(flags & SB_RDONLY) != c1->ro_mount) { SB_RDONLY 609 fs/udf/super.c if (!(*flags & SB_RDONLY) && UDF_QUERY_FLAG(sb, UDF_FLAG_RW_INCOMPAT)) SB_RDONLY 634 fs/udf/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) SB_RDONLY 637 fs/udf/super.c if (*flags & SB_RDONLY) SB_RDONLY 287 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 325 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 919 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 935 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 951 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 967 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 982 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1139 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1143 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1148 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1153 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1342 fs/ufs/super.c if ((bool)(*mount_flags & SB_RDONLY) == sb_rdonly(sb)) { SB_RDONLY 1351 fs/ufs/super.c if (*mount_flags & SB_RDONLY) { SB_RDONLY 1360 fs/ufs/super.c sb->s_flags |= SB_RDONLY; SB_RDONLY 1384 fs/ufs/super.c sb->s_flags &= ~SB_RDONLY; SB_RDONLY 1290 fs/xfs/xfs_super.c if ((mp->m_flags & XFS_MOUNT_RDONLY) && !(*flags & SB_RDONLY)) { SB_RDONLY 1346 fs/xfs/xfs_super.c if (!(mp->m_flags & XFS_MOUNT_RDONLY) && (*flags & SB_RDONLY)) { SB_RDONLY 2018 include/linux/fs.h static inline bool sb_rdonly(const struct super_block *sb) { return sb->s_flags & SB_RDONLY; } SB_RDONLY 2025 include/linux/fs.h #define IS_NOATIME(inode) __IS_FLG(inode, SB_RDONLY|SB_NOATIME) SB_RDONLY 79 include/uapi/linux/bfs_fs.h ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY)) SB_RDONLY 445 init/do_mounts.c if (!(flags & SB_RDONLY)) { SB_RDONLY 446 init/do_mounts.c flags |= SB_RDONLY;