sb_rdonly 129 drivers/staging/exfat/exfat_core.c } else if ((opts->errors == EXFAT_ERRORS_RO) && !sb_rdonly(sb)) { sb_rdonly 3476 drivers/staging/exfat/exfat_super.c if (!sb_rdonly(sb)) sb_rdonly 455 fs/affs/amigaffs.c if (!sb_rdonly(sb)) sb_rdonly 23 fs/affs/bitmap.c if (sb_rdonly(sb)) sb_rdonly 85 fs/affs/super.c if (sb_rdonly(sb)) sb_rdonly 468 fs/affs/super.c || chksum == MUFS_DCOFS) && !sb_rdonly(sb)) { sb_rdonly 595 fs/affs/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 833 fs/befs/linuxvfs.c if (!sb_rdonly(sb)) { sb_rdonly 807 fs/btrfs/dev-replace.c if (sb_rdonly(fs_info->sb)) sb_rdonly 2288 fs/btrfs/disk-io.c if (sb_rdonly(fs_info->sb)) { sb_rdonly 2949 fs/btrfs/disk-io.c if (!sb_rdonly(sb) && features) { sb_rdonly 3131 fs/btrfs/disk-io.c if (!sb_rdonly(sb) && !btrfs_check_rw_degradable(fs_info, NULL)) { sb_rdonly 3194 fs/btrfs/disk-io.c if (!sb_rdonly(sb)) { sb_rdonly 3222 fs/btrfs/disk-io.c if (sb_rdonly(sb)) sb_rdonly 4013 fs/btrfs/disk-io.c if (!sb_rdonly(fs_info->sb)) { sb_rdonly 2267 fs/btrfs/extent_io.c if (sb_rdonly(fs_info->sb)) sb_rdonly 2317 fs/btrfs/extent_io.c if (sb_rdonly(fs_info->sb)) sb_rdonly 5998 fs/btrfs/inode.c if (!sb_rdonly(inode->i_sb)) sb_rdonly 4349 fs/btrfs/ioctl.c if (sb_rdonly(fs_info->sb)) { sb_rdonly 114 fs/btrfs/super.c if (errno == -EROFS && sb_rdonly(sb)) sb_rdonly 146 fs/btrfs/super.c if (sb_rdonly(sb)) sb_rdonly 1713 fs/btrfs/super.c (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || sb_rdonly(fs_info->sb))) { sb_rdonly 1754 fs/btrfs/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 1857 fs/btrfs/super.c if (sb_rdonly(sb)) sb_rdonly 173 fs/btrfs/sysfs.c if (sb_rdonly(fs_info->sb)) sb_rdonly 497 fs/btrfs/sysfs.c if (sb_rdonly(fs_info->sb)) sb_rdonly 2608 fs/btrfs/volumes.c if (sb_rdonly(sb) && !fs_devices->seeding) sb_rdonly 4422 fs/btrfs/volumes.c if (sb_rdonly(fs_info->sb)) { sb_rdonly 132 fs/cachefiles/bind.c if (sb_rdonly(root->d_sb)) sb_rdonly 557 fs/ecryptfs/main.c if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) sb_rdonly 306 fs/efs/super.c if (!sb_rdonly(s)) { sb_rdonly 583 fs/erofs/super.c DBG_BUGON(!sb_rdonly(sb)); sb_rdonly 57 fs/ext2/super.c if (!sb_rdonly(sb)) { sb_rdonly 77 fs/ext2/super.c if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) { sb_rdonly 155 fs/ext2/super.c if (!sb_rdonly(sb)) { sb_rdonly 959 fs/ext2/super.c if (!sb_rdonly(sb) && (features = EXT2_HAS_RO_COMPAT_FEATURE(sb, ~EXT2_FEATURE_RO_COMPAT_SUPP))){ sb_rdonly 1195 fs/ext2/super.c if (ext2_setup_super (sb, es, sb_rdonly(sb))) sb_rdonly 1326 fs/ext2/super.c if (!sb_rdonly(sb)) sb_rdonly 1355 fs/ext2/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 51 fs/ext4/ext4_jbd2.c if (sb_rdonly(sb)) sb_rdonly 409 fs/ext4/file.c if (sb_rdonly(sb) || !sb_start_intwrite_trylock(sb)) sb_rdonly 111 fs/ext4/fsync.c if (sb_rdonly(inode->i_sb)) { sb_rdonly 1358 fs/ext4/ialloc.c if (sb_rdonly(sb)) { sb_rdonly 5426 fs/ext4/inode.c sb_rdonly(inode->i_sb)) sb_rdonly 189 fs/ext4/mmp.c if (sb_rdonly(sb)) sb_rdonly 461 fs/ext4/super.c if (sb_rdonly(sb)) sb_rdonly 650 fs/ext4/super.c if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) sb_rdonly 690 fs/ext4/super.c if (sb_rdonly(sb) == 0) { sb_rdonly 999 fs/ext4/super.c if (!sb_rdonly(sb) && !aborted) { sb_rdonly 1003 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2281 fs/ext4/super.c seq_puts(seq, sb_rdonly(sb) ? "ro" : "rw"); sb_rdonly 2526 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2534 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2548 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2556 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2570 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2578 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 2594 fs/ext4/super.c if (!sb_rdonly(sb)) { sb_rdonly 3351 fs/ext4/super.c if (first_not_zeroed == ngroups || sb_rdonly(sb) || sb_rdonly 3987 fs/ext4/super.c if (silent && ext4_feature_set_ok(sb, sb_rdonly(sb))) sb_rdonly 4004 fs/ext4/super.c if (silent && ext4_feature_set_ok(sb, sb_rdonly(sb))) sb_rdonly 4017 fs/ext4/super.c if (!ext4_feature_set_ok(sb, (sb_rdonly(sb)))) sb_rdonly 4134 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 4139 fs/ext4/super.c if (!sb_rdonly(sb)) sb_rdonly 4352 fs/ext4/super.c if (ext4_has_feature_mmp(sb) && !sb_rdonly(sb)) sb_rdonly 4364 fs/ext4/super.c } else if (test_opt(sb, NOLOAD) && !sb_rdonly(sb) && sb_rdonly 4486 fs/ext4/super.c if (DUMMY_ENCRYPTION_ENABLED(sbi) && !sb_rdonly(sb) && sb_rdonly 4546 fs/ext4/super.c ret = ext4_setup_super(sb, es, sb_rdonly(sb)); sb_rdonly 4615 fs/ext4/super.c if (ext4_has_feature_quota(sb) && !sb_rdonly(sb)) { sb_rdonly 4952 fs/ext4/super.c if (sb_rdonly(sb)) { sb_rdonly 5113 fs/ext4/super.c if (ext4_has_feature_journal_needs_recovery(sb) && sb_rdonly(sb)) { sb_rdonly 5169 fs/ext4/super.c if (sb_rdonly(sb)) sb_rdonly 5234 fs/ext4/super.c if (sb_rdonly(sb)) sb_rdonly 5269 fs/ext4/super.c if (sb_rdonly(sb) || ext4_forced_shutdown(EXT4_SB(sb))) sb_rdonly 5412 fs/ext4/super.c if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { sb_rdonly 5513 fs/ext4/super.c if (sb_rdonly(sb) || !test_opt(sb, INIT_INODE_TABLE)) sb_rdonly 6108 fs/ext4/super.c if (sb_rdonly(sb)) sb_rdonly 6139 fs/ext4/super.c if (sb_rdonly(sb)) sb_rdonly 2752 fs/f2fs/f2fs.h return sb_rdonly(sb); sb_rdonly 311 fs/fat/fatent.c if (sb_rdonly(sb) || !is_fat32(sbi)) sb_rdonly 673 fs/fat/inode.c if (sb_rdonly(sb) && !force) sb_rdonly 812 fs/fat/inode.c if (new_rdonly != sb_rdonly(sb)) { sb_rdonly 37 fs/fat/misc.c else if (opts->errors == FAT_ERRORS_RO && !sb_rdonly(sb)) { sb_rdonly 599 fs/gfs2/glops.c if (!remote || sb_rdonly(sdp->sd_vfs)) sb_rdonly 1029 fs/gfs2/ops_fstype.c sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); sb_rdonly 1171 fs/gfs2/ops_fstype.c if (!sb_rdonly(sb)) { sb_rdonly 452 fs/gfs2/quota.c if (sb_rdonly(sdp->sd_vfs)) sb_rdonly 371 fs/gfs2/recovery.c if (sb_rdonly(sdp->sd_vfs)) { sb_rdonly 661 fs/gfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 1254 fs/gfs2/super.c if (inode->i_nlink || sb_rdonly(sb)) sb_rdonly 652 fs/gfs2/sys.c sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); sb_rdonly 213 fs/hfs/mdb.c if (!sb_rdonly(sb)) { sb_rdonly 262 fs/hfs/mdb.c if (sb_rdonly(sb)) sb_rdonly 337 fs/hfs/mdb.c if (sb_rdonly(sb)) sb_rdonly 74 fs/hfs/super.c if (sb_rdonly(sb)) sb_rdonly 118 fs/hfs/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 268 fs/hfsplus/super.c if (sb_rdonly(sb)) sb_rdonly 288 fs/hfsplus/super.c if (!sb_rdonly(sb) && sbi->s_vhdr) { sb_rdonly 333 fs/hfsplus/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 466 fs/hfsplus/super.c !sb_rdonly(sb)) { sb_rdonly 541 fs/hfsplus/super.c if (!sb_rdonly(sb)) { sb_rdonly 542 fs/hpfs/alloc.c if (sb_rdonly(s)) { sb_rdonly 563 fs/hpfs/alloc.c if (sb_rdonly(s)) { sb_rdonly 268 fs/hpfs/dir.c if (de->has_acl || de->has_xtd_perm) if (!sb_rdonly(dir->i_sb)) { sb_rdonly 25 fs/hpfs/super.c if (hpfs_sb(s)->sb_chkdsk && (remount || !sb_rdonly(s))) { sb_rdonly 45 fs/hpfs/super.c if (sb_rdonly(s)) return; sb_rdonly 77 fs/hpfs/super.c if (sb_rdonly(s)) sb_rdonly 84 fs/hpfs/super.c } else if (sb_rdonly(s)) sb_rdonly 604 fs/hpfs/super.c if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { sb_rdonly 664 fs/hpfs/super.c if (!sb_rdonly(s)) { sb_rdonly 750 fs/isofs/inode.c if (!sb_rdonly(s)) { sb_rdonly 399 fs/jffs2/fs.c if (c->flags & JFFS2_SB_FLAG_RO && !sb_rdonly(sb)) sb_rdonly 406 fs/jffs2/fs.c if (!sb_rdonly(sb)) { sb_rdonly 597 fs/jffs2/fs.c if (!sb_rdonly(sb)) sb_rdonly 332 fs/jffs2/super.c if (c && !sb_rdonly(sb)) sb_rdonly 1165 fs/jffs2/wbuf.c if (!sb_rdonly(sb)) { sb_rdonly 1176 fs/jffs2/wbuf.c if (sb_rdonly(sb)) sb_rdonly 352 fs/jfs/jfs_mount.c !sb_rdonly(sb)) { sb_rdonly 66 fs/jfs/super.c if (sb_rdonly(sb)) sb_rdonly 442 fs/jfs/super.c if (sb_rdonly(sb)) { sb_rdonly 451 fs/jfs/super.c if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { sb_rdonly 467 fs/jfs/super.c if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { sb_rdonly 476 fs/jfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 568 fs/jfs/super.c if (sb_rdonly(sb)) sb_rdonly 628 fs/jfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 658 fs/jfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 46 fs/minix/inode.c if (!sb_rdonly(sb)) { sb_rdonly 123 fs/minix/inode.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 293 fs/minix/inode.c if (!sb_rdonly(s)) { sb_rdonly 408 fs/namei.c if (sb_rdonly(sb) && (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) sb_rdonly 248 fs/namespace.c return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); sb_rdonly 1488 fs/namespace.c if (!sb_rdonly(sb)) { sb_rdonly 3869 fs/namespace.c if (sb_rdonly(mnt->mnt.mnt_sb)) sb_rdonly 835 fs/nfs/super.c seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw"); sb_rdonly 168 fs/nilfs2/inode.c if (sb_rdonly(inode->i_sb)) { sb_rdonly 185 fs/nilfs2/inode.c if (sb_rdonly(inode->i_sb)) { sb_rdonly 407 fs/nilfs2/mdt.c if (inode && sb_rdonly(inode->i_sb)) { sb_rdonly 130 fs/nilfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 464 fs/nilfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 564 fs/nilfs2/super.c if (sb_rdonly(sb)) sb_rdonly 578 fs/nilfs2/super.c if (sb_rdonly(sb)) sb_rdonly 884 fs/nilfs2/super.c if (!sb_rdonly(sb) && features) { sb_rdonly 1069 fs/nilfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 1081 fs/nilfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 1130 fs/nilfs2/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 1324 fs/nilfs2/super.c sb_rdonly(s) ? "read-only" : "read/write"); 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 721 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 1778 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 1917 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 1950 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 1999 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 2017 fs/ntfs/super.c if (!sb_rdonly(sb) && ntfs_set_volume_flags(vol, VOLUME_IS_DIRTY)) { sb_rdonly 2063 fs/ntfs/super.c if (!sb_rdonly(sb) && !ntfs_empty_logfile(vol->logfile_ino)) { sb_rdonly 2108 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 2126 fs/ntfs/super.c if (!sb_rdonly(sb) && !ntfs_mark_quotas_out_of_date(vol)) { sb_rdonly 2151 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 2169 fs/ntfs/super.c if (!sb_rdonly(sb) && !ntfs_stamp_usnjrnl(vol)) { sb_rdonly 2300 fs/ntfs/super.c if (!sb_rdonly(sb)) { sb_rdonly 647 fs/ocfs2/super.c if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { sb_rdonly 1035 fs/ocfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 1070 fs/ocfs2/super.c if (sb_rdonly(sb)) sb_rdonly 1148 fs/ocfs2/super.c if (!sb_rdonly(sb)) { sb_rdonly 2144 fs/ocfs2/super.c if (!sb_rdonly(osb->sb) && (i = OCFS2_HAS_RO_COMPAT_FEATURE(osb->sb, ~OCFS2_FEATURE_RO_COMPAT_SUPP))) { sb_rdonly 2528 fs/ocfs2/super.c if (sb_rdonly(sb) && (ocfs2_is_soft_readonly(osb) || ocfs2_is_hard_readonly(osb))) sb_rdonly 1037 fs/overlayfs/super.c if (sb_rdonly(upperpath->mnt->mnt_sb)) { sb_rdonly 182 fs/proc_namespace.c seq_puts(m, sb_rdonly(sb) ? " ro" : " rw"); sb_rdonly 743 fs/quota/quota.c if (sb_rdonly(sb)) sb_rdonly 1780 fs/reiserfs/inode.c if (sb_rdonly(inode->i_sb)) sb_rdonly 1915 fs/reiserfs/journal.c if (!error && !sb_rdonly(sb)) { sb_rdonly 410 fs/reiserfs/prints.c if (sb_rdonly(sb)) sb_rdonly 124 fs/reiserfs/super.c if (sb_rdonly(s) || !(s->s_flags & SB_ACTIVE)) sb_rdonly 154 fs/reiserfs/super.c if (!sb_rdonly(s)) { sb_rdonly 602 fs/reiserfs/super.c if (!sb_rdonly(s)) { sb_rdonly 698 fs/reiserfs/super.c if (sb_rdonly(inode->i_sb)) { sb_rdonly 1523 fs/reiserfs/super.c if (sb_rdonly(s)) sb_rdonly 1549 fs/reiserfs/super.c if (!sb_rdonly(s)) { sb_rdonly 1853 fs/reiserfs/super.c !sb_rdonly(s) && sb_rdonly 2055 fs/reiserfs/super.c if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { sb_rdonly 2104 fs/reiserfs/super.c if (!sb_rdonly(s)) { sb_rdonly 925 fs/super.c remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); sb_rdonly 937 fs/super.c remount_ro = !sb_rdonly(sb); sb_rdonly 994 fs/super.c !sb_rdonly(sb)) { sb_rdonly 1776 fs/super.c if (sb_rdonly(sb)) { sb_rdonly 1838 fs/super.c if (sb_rdonly(sb)) { sb_rdonly 61 fs/sync.c if (sb_rdonly(sb)) sb_rdonly 73 fs/sync.c if (!sb_rdonly(sb)) sb_rdonly 79 fs/sync.c if (!sb_rdonly(sb) && sb->s_op->sync_fs) sb_rdonly 235 fs/sysv/balloc.c if (!sb_rdonly(sb)) { sb_rdonly 224 fs/sysv/ialloc.c if (!sb_rdonly(sb)) { sb_rdonly 74 fs/sysv/inode.c if (!sb_rdonly(sb)) { sb_rdonly 220 fs/sysv/super.c if (!sb_rdonly(sb)) { sb_rdonly 1216 fs/ubifs/super.c c->ro_mount = !!sb_rdonly(c->vfs_sb); sb_rdonly 634 fs/udf/super.c if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) sb_rdonly 784 fs/udf/super.c if (!sb_rdonly(sb)) { sb_rdonly 793 fs/udf/super.c if (!sb_rdonly(sb)) sb_rdonly 984 fs/udf/super.c if (sb_rdonly(sb)) sb_rdonly 1070 fs/udf/super.c if (!sb_rdonly(sb)) sb_rdonly 1314 fs/udf/super.c if (!sb_rdonly(sb)) { sb_rdonly 1521 fs/udf/super.c if (sb_rdonly(sb)) { sb_rdonly 2231 fs/udf/super.c if (!sb_rdonly(sb)) { sb_rdonly 2254 fs/udf/super.c if (!sb_rdonly(sb)) { sb_rdonly 2275 fs/udf/super.c if (!sb_rdonly(sb)) { sb_rdonly 2358 fs/udf/super.c if (!sb_rdonly(sb)) sb_rdonly 283 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 317 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 749 fs/ufs/super.c if (!sb_rdonly(sb)) sb_rdonly 800 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 812 fs/ufs/super.c UFSD("flag %u\n", (int)(sb_rdonly(sb))); sb_rdonly 916 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 932 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 948 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 964 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 979 fs/ufs/super.c if (!sb_rdonly(sb)) { sb_rdonly 1287 fs/ufs/super.c if (!sb_rdonly(sb)) sb_rdonly 1342 fs/ufs/super.c if ((bool)(*mount_flags & SB_RDONLY) == sb_rdonly(sb)) { sb_rdonly 115 fs/xfs/xfs_quotaops.c if (sb_rdonly(sb)) sb_rdonly 165 fs/xfs/xfs_quotaops.c if (sb_rdonly(sb)) sb_rdonly 180 fs/xfs/xfs_quotaops.c if (sb_rdonly(sb)) sb_rdonly 198 fs/xfs/xfs_quotaops.c if (sb_rdonly(sb)) sb_rdonly 270 fs/xfs/xfs_quotaops.c if (sb_rdonly(sb)) sb_rdonly 181 fs/xfs/xfs_super.c if (sb_rdonly(sb)) sb_rdonly 2019 include/linux/fs.h #define IS_RDONLY(inode) sb_rdonly((inode)->i_sb) sb_rdonly 399 init/do_mounts.c sb_rdonly(s) ? " readonly" : "",