/openbmc/linux/fs/hfsplus/ |
H A D | super.c | 332 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfsplus_remount() 334 if (!(*flags & SB_RDONLY)) { in hfsplus_remount() 343 sb->s_flags |= SB_RDONLY; in hfsplus_remount() 344 *flags |= SB_RDONLY; in hfsplus_remount() 350 sb->s_flags |= SB_RDONLY; in hfsplus_remount() 351 *flags |= SB_RDONLY; in hfsplus_remount() 355 sb->s_flags |= SB_RDONLY; in hfsplus_remount() 356 *flags |= SB_RDONLY; in hfsplus_remount() 458 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super() 463 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | super.h | 19 sb->s_flags |= SB_RDONLY; in btrfs_set_sb_rdonly() 25 sb->s_flags &= ~SB_RDONLY; in btrfs_clear_sb_rdonly()
|
H A D | super.c | 825 if (new_flags & SB_RDONLY) in btrfs_parse_options() 1505 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount_root() 1521 if ((flags ^ s->s_flags) & SB_RDONLY) in btrfs_mount_root() 1590 if (flags & SB_RDONLY) { in btrfs_mount() 1592 flags & ~SB_RDONLY, device_name, data); in btrfs_mount() 1595 flags | SB_RDONLY, device_name, data); in btrfs_mount() 1652 (flags & SB_RDONLY))) { in btrfs_remount_begin() 1656 if (flags & SB_RDONLY) in btrfs_remount_begin() 1717 ret = btrfs_check_features(fs_info, !(*flags & SB_RDONLY)); in btrfs_remount() 1727 (!sb_rdonly(sb) || (*flags & SB_RDONLY))) { in btrfs_remount() [all …]
|
/openbmc/linux/fs/hfs/ |
H A D | super.c | 117 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_remount() 119 if (!(*flags & SB_RDONLY)) { in hfs_remount() 122 sb->s_flags |= SB_RDONLY; in hfs_remount() 123 *flags |= SB_RDONLY; in hfs_remount() 126 sb->s_flags |= SB_RDONLY; in hfs_remount() 127 *flags |= SB_RDONLY; in hfs_remount()
|
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()
|
/openbmc/linux/fs/ufs/ |
H A D | super.c | 286 sb->s_flags |= SB_RDONLY; in ufs_error() 324 sb->s_flags |= SB_RDONLY; in ufs_panic() 918 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 934 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 950 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 966 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 981 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1138 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1142 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1147 sb->s_flags |= SB_RDONLY; in ufs_fill_super() [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | super.c | 470 *flags |= SB_RDONLY; in ntfs_remount() 484 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in ntfs_remount() 545 } else if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in ntfs_remount() 1796 sb->s_flags |= SB_RDONLY; in load_system_files() 1934 sb->s_flags |= SB_RDONLY; in load_system_files() 1971 sb->s_flags |= SB_RDONLY; in load_system_files() 2016 sb->s_flags |= SB_RDONLY; in load_system_files() 2039 sb->s_flags |= SB_RDONLY; in load_system_files() 2052 if (!(sb->s_flags & SB_RDONLY) && (vol->major_ver > 1) && in load_system_files() 2066 sb->s_flags |= SB_RDONLY; in load_system_files() [all …]
|
/openbmc/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()
|
H A D | super.c | 470 sb->s_flags |= SB_RDONLY; in affs_fill_super() 595 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in affs_remount() 598 if (*flags & SB_RDONLY) in affs_remount()
|
/openbmc/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()
|
/openbmc/linux/fs/freevxfs/ |
H A D | vxfs_super.c | 95 *flags |= SB_RDONLY; in vxfs_remount() 192 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
|
/openbmc/linux/fs/nilfs2/ |
H A D | super.c | 142 sb->s_flags |= SB_RDONLY; in __nilfs_error() 1166 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount() 1168 if (*flags & SB_RDONLY) { in nilfs_remount() 1169 sb->s_flags |= SB_RDONLY; in nilfs_remount() 1199 sb->s_flags &= ~SB_RDONLY; in nilfs_remount() 1232 if (!(sd->flags & SB_RDONLY)) { in nilfs_parse_snapshot_option() 1335 if ((flags ^ s->s_flags) & SB_RDONLY) { in nilfs_mount()
|
H A D | the_nilfs.c | 242 if (s_flags & SB_RDONLY) { in load_nilfs() 314 if (s_flags & SB_RDONLY) { in load_nilfs() 337 sb->s_flags &= ~SB_RDONLY; in load_nilfs()
|
/openbmc/linux/fs/efivarfs/ |
H A D | super.c | 250 sb->s_flags |= SB_RDONLY; in efivarfs_fill_super() 278 if (!efivar_supports_writes() && !(fc->sb_flags & SB_RDONLY)) { in efivarfs_reconfigure()
|
/openbmc/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))
|
/openbmc/linux/fs/ |
H A D | super.c | 1107 if (fc->sb_flags_mask & SB_RDONLY) { in reconfigure_super() 1109 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super() 1113 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 1114 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1190 SB_RDONLY | SB_FORCE, SB_RDONLY); in do_emergency_remount_callback() 1575 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev() 1628 if ((flags ^ s->s_flags) & SB_RDONLY) { in mount_bdev()
|
/openbmc/linux/fs/efs/ |
H A D | super.c | 114 *flags |= SB_RDONLY; in efs_remount() 311 s->s_flags |= SB_RDONLY; in efs_fill_super()
|
/openbmc/linux/init/ |
H A D | do_mounts.c | 236 if (!(flags & SB_RDONLY)) { in mount_root_generic() 237 flags |= SB_RDONLY; in mount_root_generic()
|
/openbmc/linux/fs/jfs/ |
H A D | super.c | 77 sb->s_flags |= SB_RDONLY; in jfs_handle_error() 446 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in jfs_remount() 457 sb->s_flags &= ~SB_RDONLY; in jfs_remount() 462 if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in jfs_remount()
|
/openbmc/linux/fs/qnx4/ |
H A D | inode.c | 51 *flags |= SB_RDONLY; in qnx4_remount() 202 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ in qnx4_fill_super()
|
/openbmc/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()
|
/openbmc/linux/fs/ocfs2/ |
H A D | super.c | 644 if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_remount() 646 if (*flags & SB_RDONLY) { in ocfs2_remount() 660 if (*flags & SB_RDONLY) { in ocfs2_remount() 661 sb->s_flags |= SB_RDONLY; in ocfs2_remount() 678 sb->s_flags &= ~SB_RDONLY; in ocfs2_remount() 685 if (!ret && !(*flags & SB_RDONLY)) { in ocfs2_remount() 693 sb->s_flags |= SB_RDONLY; in ocfs2_remount() 2549 sb->s_flags |= SB_RDONLY; in ocfs2_handle_error()
|
/openbmc/linux/fs/f2fs/ |
H A D | super.c | 2187 if (s_flags & SB_RDONLY) { in f2fs_disable_checkpoint() 2327 if (!(*flags & SB_RDONLY) && is_sbi_flag_set(sbi, SBI_NEED_SB_WRITE)) { in f2fs_remount() 2349 if (f2fs_readonly(sb) && (*flags & SB_RDONLY)) in f2fs_remount() 2352 if (f2fs_dev_is_readonly(sbi) && !(*flags & SB_RDONLY)) { in f2fs_remount() 2358 if (!f2fs_readonly(sb) && (*flags & SB_RDONLY)) { in f2fs_remount() 2362 } else if (f2fs_readonly(sb) && !(*flags & SB_RDONLY)) { in f2fs_remount() 2364 sb->s_flags &= ~SB_RDONLY; in f2fs_remount() 2412 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount() 2423 if ((*flags & SB_RDONLY) || in f2fs_remount() 2437 if (*flags & SB_RDONLY) { in f2fs_remount() [all …]
|
/openbmc/linux/fs/romfs/ |
H A D | super.c | 429 fc->sb_flags |= SB_RDONLY; in romfs_reconfigure() 479 sb->s_flags |= SB_RDONLY | SB_NOATIME; in romfs_fill_super()
|
/openbmc/linux/fs/exfat/ |
H A D | misc.c | 44 sb->s_flags |= SB_RDONLY; in __exfat_fs_error()
|