| /linux/fs/ |
| H A D | sync.c | 43 if (sb_rdonly(sb)) in sync_filesystem() 76 if (!sb_rdonly(sb)) in sync_inodes_one_sb() 82 if (!sb_rdonly(sb) && !(sb->s_iflags & SB_I_SKIP_SYNC) && in sync_fs_one_sb()
|
| H A D | super.c | 1042 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 1043 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1055 remount_ro = !sb_rdonly(sb); in reconfigure_super() 1113 if (sb->s_bdev && !sb_rdonly(sb)) { in do_emergency_remount_callback() 2101 if (sb_rdonly(sb)) { in freeze_super() 2185 if (sb_rdonly(sb)) { in thaw_super_locked()
|
| /linux/fs/jfs/ |
| H A D | super.c | 66 if (sb_rdonly(sb)) in jfs_handle_error() 385 if (sb_rdonly(sb)) { in jfs_reconfigure() 401 if (sb_rdonly(sb) && !readonly) { in jfs_reconfigure() 417 if (!sb_rdonly(sb) && readonly) { in jfs_reconfigure() 426 if (!sb_rdonly(sb)) { in jfs_reconfigure() 529 if (sb_rdonly(sb)) in jfs_fill_super() 588 if (!sb_rdonly(sb)) { in jfs_freeze() 618 if (!sb_rdonly(sb)) { in jfs_unfreeze()
|
| H A D | jfs_mount.c | 349 !sb_rdonly(sb)) { in chkSuper()
|
| /linux/fs/hpfs/ |
| H A D | super.c | 27 if (hpfs_sb(s)->sb_chkdsk && (remount || !sb_rdonly(s))) { in mark_dirty() 47 if (sb_rdonly(s)) return; in unmark_dirty() 79 if (sb_rdonly(s)) in hpfs_error() 86 } else if (sb_rdonly(s)) in hpfs_error() 542 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super() 602 if (!sb_rdonly(s)) { in hpfs_fill_super()
|
| H A D | alloc.c | 542 if (sb_rdonly(s)) { in hpfs_trim_fs() 563 if (sb_rdonly(s)) { in hpfs_trim_fs()
|
| H A D | dir.c | 268 if (de->has_acl || de->has_xtd_perm) if (!sb_rdonly(dir->i_sb)) { in hpfs_lookup()
|
| /linux/fs/nilfs2/ |
| H A D | super.c | 140 if (!sb_rdonly(sb)) { in __nilfs_error() 511 if (!sb_rdonly(sb)) { in nilfs_put_super() 591 if (sb_rdonly(sb)) in nilfs_freeze() 605 if (sb_rdonly(sb)) in nilfs_unfreeze() 898 if (!sb_rdonly(sb) && features) { in nilfs_check_feature_compatibility() 1092 if (!sb_rdonly(sb)) { in nilfs_fill_super() 1104 if (!sb_rdonly(sb)) { in nilfs_fill_super() 1145 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_reconfigure() 1238 sb_rdonly(s) ? "read-only" : "read/write"); in nilfs_get_tree()
|
| /linux/fs/ufs/ |
| H A D | super.c | 283 if (!sb_rdonly(sb)) { in ufs_error() 317 if (!sb_rdonly(sb)) { in ufs_panic() 687 if (!sb_rdonly(sb)) in ufs_put_super() 740 if (!sb_rdonly(sb)) { in ufs_fill_super() 752 UFSD("flag %u\n", (int)(sb_rdonly(sb))); in ufs_fill_super() 850 if (!sb_rdonly(sb)) { in ufs_fill_super() 866 if (!sb_rdonly(sb)) { in ufs_fill_super() 882 if (!sb_rdonly(sb)) { in ufs_fill_super() 898 if (!sb_rdonly(sb)) { in ufs_fill_super() 913 if (!sb_rdonly(sb)) { in ufs_fill_super() [all …]
|
| /linux/fs/ext4/ |
| H A D | super.c | 482 if (ext4_emergency_state(sb) || sb_rdonly(sb) || in ext4_maybe_update_superblock() 761 !sb_rdonly(sbi->s_sb) && journal) { in update_super_work() 964 if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) in __ext4_std_error() 1324 if (!ext4_emergency_state(sb) && !sb_rdonly(sb)) { in ext4_put_super() 3073 seq_puts(seq, sb_rdonly(sb) ? "ro" : "rw"); in ext4_seq_options_show() 3318 if (!sb_rdonly(sb)) in ext4_check_descriptors() 3326 if (!sb_rdonly(sb)) in ext4_check_descriptors() 3340 if (!sb_rdonly(sb)) in ext4_check_descriptors() 3348 if (!sb_rdonly(sb)) in ext4_check_descriptors() 3362 if (!sb_rdonly(sb)) in ext4_check_descriptors() [all …]
|
| H A D | fsync.c | 143 if (sb_rdonly(inode->i_sb)) in ext4_sync_file()
|
| /linux/fs/hfsplus/ |
| H A D | super.c | 308 if (sb_rdonly(sb)) in hfsplus_mark_mdb_dirty() 336 if (!sb_rdonly(sb) && sbi->s_vhdr) { in hfsplus_put_super() 380 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfsplus_reconfigure() 514 !sb_rdonly(sb)) { in hfsplus_fill_super() 589 if (!sb_rdonly(sb)) { in hfsplus_fill_super()
|
| /linux/fs/udf/ |
| H A D | super.c | 672 if (readonly == sb_rdonly(sb)) in udf_reconfigure() 823 if (!sb_rdonly(sb)) { in udf_verify_domain_identifier() 832 if (!sb_rdonly(sb)) in udf_verify_domain_identifier() 1023 if (sb_rdonly(sb)) in udf_load_metadata_files() 1101 if (!sb_rdonly(sb)) in check_partition_desc() 1362 if (!sb_rdonly(sb)) { in udf_load_partdesc() 1584 if (sb_rdonly(sb)) { in udf_load_logicalvol() 2248 if (!sb_rdonly(sb)) { in udf_fill_super() 2271 if (!sb_rdonly(sb)) { in udf_fill_super() 2292 if (!sb_rdonly(sb)) { in udf_fill_super() [all …]
|
| /linux/fs/affs/ |
| H A D | super.c | 85 if (sb_rdonly(sb)) in affs_mark_sb_dirty() 434 || chksum == MUFS_DCOFS) && !sb_rdonly(sb)) { in affs_fill_super() 548 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in affs_reconfigure()
|
| /linux/fs/ext2/ |
| H A D | super.c | 57 if (!sb_rdonly(sb)) { in ext2_error() 77 if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) { in ext2_error() 182 if (!sb_rdonly(sb)) { in ext2_put_super() 978 if (!sb_rdonly(sb) && (features = EXT2_HAS_RO_COMPAT_FEATURE(sb, ~EXT2_FEATURE_RO_COMPAT_SUPP))){ in ext2_fill_super() 1229 if (ext2_setup_super (sb, es, sb_rdonly(sb))) in ext2_fill_super() 1359 if (!sb_rdonly(sb)) in ext2_write_super() 1386 if ((bool)(flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_reconfigure()
|
| /linux/include/linux/fs/ |
| H A D | super.h | 185 static inline bool sb_rdonly(const struct super_block *sb) in sb_rdonly() function
|
| /linux/fs/hfs/ |
| H A D | super.c | 79 if (sb_rdonly(sb)) in hfs_mark_mdb_dirty() 124 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_reconfigure()
|
| /linux/fs/jffs2/ |
| H A D | fs.c | 400 if (c->flags & JFFS2_SB_FLAG_RO && !sb_rdonly(sb)) in jffs2_do_remount_fs() 407 if (!sb_rdonly(sb)) { in jffs2_do_remount_fs() 599 if (!sb_rdonly(sb)) in jffs2_do_fill_super()
|
| H A D | super.c | 348 if (c && !sb_rdonly(sb)) in jffs2_kill_sb()
|
| /linux/fs/minix/ |
| H A D | inode.c | 63 if (!sb_rdonly(sb)) { in minix_put_super() 140 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in minix_reconfigure() 339 if (!sb_rdonly(s)) { in minix_fill_super()
|
| /linux/fs/exfat/ |
| H A D | misc.c | 43 } else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) { in __exfat_fs_error()
|
| /linux/fs/ocfs2/ |
| H A D | super.c | 648 if ((bool)(fc->sb_flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_reconfigure() 1030 if (!sb_rdonly(sb)) { in ocfs2_fill_super() 1063 if (sb_rdonly(sb)) in ocfs2_fill_super() 1139 if (!sb_rdonly(sb)) { in ocfs2_fill_super() 2091 …if (!sb_rdonly(osb->sb) && (i = OCFS2_HAS_RO_COMPAT_FEATURE(osb->sb, ~OCFS2_FEATURE_RO_COMPAT_SUPP… in ocfs2_initialize_super() 2490 if (sb_rdonly(sb) && ocfs2_emergency_state(osb)) in ocfs2_handle_error()
|
| /linux/fs/ntfs3/ |
| H A D | super.c | 443 ro_rw = sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY); in ntfs_fs_reconfigure() 533 if (sb_rdonly(sb)) in ntfs3_label_write() 1213 if (bh->b_blocknr && !sb_rdonly(sb)) { in ntfs_init_from_boot() 1265 bool ro = sb_rdonly(sb); in ntfs_fill_super()
|
| /linux/fs/efs/ |
| H A D | super.c | 297 if (!sb_rdonly(s)) { in efs_fill_super()
|
| /linux/init/ |
| H A D | do_mounts.c | 169 sb_rdonly(s) ? " readonly" : "", in do_mount_root()
|