/linux/fs/hfs/ |
H A D | super.c | 121 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_reconfigure() 124 if (!(fc->sb_flags & SB_RDONLY)) { in hfs_reconfigure() 127 sb->s_flags |= SB_RDONLY; in hfs_reconfigure() 128 fc->sb_flags |= SB_RDONLY; in hfs_reconfigure() 131 sb->s_flags |= SB_RDONLY; in hfs_reconfigure() 132 fc->sb_flags |= SB_RDONLY; in hfs_reconfigure()
|
H A D | mdb.c | 213 sb->s_flags |= SB_RDONLY; in hfs_mdb_get() 217 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
|
/linux/fs/btrfs/ |
H A D | super.h | 28 sb->s_flags |= SB_RDONLY; in btrfs_set_sb_rdonly() 34 sb->s_flags &= ~SB_RDONLY; in btrfs_clear_sb_rdonly()
|
H A D | super.c | 671 if (!(flags & SB_RDONLY) && in btrfs_check_options() 1250 (flags & SB_RDONLY))) { in btrfs_remount_begin() 1254 if (flags & SB_RDONLY) in btrfs_remount_begin() 1511 ret = btrfs_check_features(fs_info, !(fc->sb_flags & SB_RDONLY)); in btrfs_reconfigure() 1522 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure() 1537 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1539 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1862 if (!(fc->sb_flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_get_tree_super() 1992 if (fc->sb_flags & SB_RDONLY) in btrfs_reconfigure_for_mount() 1996 if (!(fc->sb_flags & SB_RDONLY) && (mnt->mnt_sb->s_flags & SB_RDONLY)) in btrfs_reconfigure_for_mount()
|
/linux/fs/efivarfs/ |
H A D | super.c | 31 sfi->sb->s_flags |= SB_RDONLY; in efivarfs_ops_notifier() 34 sfi->sb->s_flags &= ~SB_RDONLY; in efivarfs_ops_notifier() 352 sb->s_flags |= SB_RDONLY; in efivarfs_fill_super() 382 if (!efivar_supports_writes() && !(fc->sb_flags & SB_RDONLY)) { in efivarfs_reconfigure()
|
/linux/fs/nilfs2/ |
H A D | super.c | 145 sb->s_flags |= SB_RDONLY; in __nilfs_error() 1145 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_reconfigure() 1147 if (fc->sb_flags & SB_RDONLY) { in nilfs_reconfigure() 1148 sb->s_flags |= SB_RDONLY; in nilfs_reconfigure() 1178 sb->s_flags &= ~SB_RDONLY; in nilfs_reconfigure() 1183 sb->s_flags |= SB_RDONLY; in nilfs_reconfigure() 1210 if (ctx->cno && !(fc->sb_flags & SB_RDONLY)) { in nilfs_get_tree() 1235 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in nilfs_get_tree()
|
H A D | the_nilfs.c | 249 if (s_flags & SB_RDONLY) { in load_nilfs() 321 if (s_flags & SB_RDONLY) { in load_nilfs() 344 sb->s_flags &= ~SB_RDONLY; in load_nilfs()
|
/linux/fs/affs/ |
H A D | bitmap.c | 253 if (*flags & SB_RDONLY) in affs_init_bitmap() 258 *flags |= SB_RDONLY; in affs_init_bitmap() 291 *flags |= SB_RDONLY; in affs_init_bitmap()
|
/linux/fs/ext4/ |
H A D | orphan.c | 413 if (es->s_last_orphan && !(s_flags & SB_RDONLY)) { in ext4_orphan_cleanup() 422 if (s_flags & SB_RDONLY) { in ext4_orphan_cleanup() 424 sb->s_flags &= ~SB_RDONLY; in ext4_orphan_cleanup() 431 if (ext4_has_feature_quota(sb) && (s_flags & SB_RDONLY)) { in ext4_orphan_cleanup()
|
/linux/fs/freevxfs/ |
H A D | vxfs_super.c | 97 fc->sb_flags |= SB_RDONLY; in vxfs_reconfigure() 194 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
|
/linux/fs/ |
H A D | super.c | 1039 if (fc->sb_flags_mask & SB_RDONLY) { in reconfigure_super() 1041 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super() 1045 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 1046 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1122 SB_RDONLY | SB_FORCE, SB_RDONLY); in do_emergency_remount_callback() 1628 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev_flags() 1686 if ((flags ^ s->s_flags) & SB_RDONLY) { in mount_bdev()
|
H A D | fs_context.c | 45 { "ro", SB_RDONLY }, 54 { "rw", SB_RDONLY },
|
/linux/include/uapi/linux/ |
H A D | bfs_fs.h | 79 …2_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY))
|
/linux/init/ |
H A D | do_mounts.c | 238 if (!(flags & SB_RDONLY)) { in mount_root_generic() 239 flags |= SB_RDONLY; in mount_root_generic()
|
/linux/fs/bcachefs/ |
H A D | quota.c | 555 if (sb->s_flags & SB_RDONLY) in bch2_quota_enable() 599 if (sb->s_flags & SB_RDONLY) in bch2_quota_disable() 623 if (sb->s_flags & SB_RDONLY) in bch2_quota_remove() 713 if (sb->s_flags & SB_RDONLY) in bch2_quota_set_info() 866 if (sb->s_flags & SB_RDONLY) in bch2_set_quota()
|
/linux/fs/qnx4/ |
H A D | inode.c | 52 fc->sb_flags |= SB_RDONLY; in qnx4_reconfigure() 209 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ in qnx4_fill_super()
|
/linux/fs/ext2/ |
H A D | super.c | 80 sb->s_flags |= SB_RDONLY; in ext2_error() 642 res = SB_RDONLY; in ext2_setup_super() 1194 sb->s_flags |= SB_RDONLY; in ext2_fill_super() 1352 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_remount() 1354 if (*flags & SB_RDONLY) { in ext2_remount() 1390 sb->s_flags &= ~SB_RDONLY; in ext2_remount()
|
/linux/fs/romfs/ |
H A D | super.c | 420 fc->sb_flags |= SB_RDONLY; in romfs_reconfigure() 470 sb->s_flags |= SB_RDONLY | SB_NOATIME; in romfs_fill_super()
|
/linux/fs/f2fs/ |
H A D | super.c | 2210 if (s_flags & SB_RDONLY) { in f2fs_disable_checkpoint() 2351 if (!(*flags & SB_RDONLY) && is_sbi_flag_set(sbi, SBI_NEED_SB_WRITE)) { in f2fs_remount() 2384 if (f2fs_readonly(sb) && (*flags & SB_RDONLY)) in f2fs_remount() 2387 if (f2fs_dev_is_readonly(sbi) && !(*flags & SB_RDONLY)) { in f2fs_remount() 2393 if (!f2fs_readonly(sb) && (*flags & SB_RDONLY)) { in f2fs_remount() 2397 } else if (f2fs_readonly(sb) && !(*flags & SB_RDONLY)) { in f2fs_remount() 2399 sb->s_flags &= ~SB_RDONLY; in f2fs_remount() 2447 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount() 2458 if ((*flags & SB_RDONLY) || in f2fs_remount() 2472 if (*flags & SB_RDONLY) { in f2fs_remount() [all …]
|
/linux/fs/exfat/ |
H A D | misc.c | 44 sb->s_flags |= SB_RDONLY; in __exfat_fs_error()
|
/linux/fs/gfs2/ |
H A D | ops_fstype.c | 1148 sb->s_flags |= SB_RDONLY; in gfs2_fill_super() 1586 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure() 1588 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure() 1589 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure() 1692 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
|
/linux/fs/ntfs3/ |
H A D | super.c | 414 fc->sb_flags |= SB_RDONLY; in ntfs_fs_reconfigure() 418 ro_rw = sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY); in ntfs_fs_reconfigure() 1055 sb->s_flags |= SB_RDONLY; in ntfs_init_from_boot() 1609 sb->s_flags |= SB_RDONLY; in ntfs_fill_super() 1808 fc->sb_flags |= SB_RDONLY; in ntfs_legacy_init_fs_context()
|
/linux/fs/squashfs/ |
H A D | super.c | 314 sb->s_flags |= SB_RDONLY; in squashfs_fill_super() 498 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
|
/linux/fs/qnx6/ |
H A D | inode.c | 61 fc->sb_flags |= SB_RDONLY; in qnx6_reconfigure() 422 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ in qnx6_fill_super()
|
/linux/scripts/gdb/linux/ |
H A D | constants.py.in | 54 LX_GDBPARSED(SB_RDONLY)
|