Home
last modified time | relevance | path

Searched refs:SB_RDONLY (Results 1 – 25 of 56) sorted by relevance

123

/linux/fs/hfs/
H A Dsuper.c121 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 Dmdb.c213 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
217 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
/linux/fs/btrfs/
H A Dsuper.h28 sb->s_flags |= SB_RDONLY; in btrfs_set_sb_rdonly()
34 sb->s_flags &= ~SB_RDONLY; in btrfs_clear_sb_rdonly()
H A Dsuper.c671 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 Dsuper.c31 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 Dsuper.c145 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 Dthe_nilfs.c249 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 Dbitmap.c253 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 Dorphan.c413 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 Dvxfs_super.c97 fc->sb_flags |= SB_RDONLY; in vxfs_reconfigure()
194 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
/linux/fs/
H A Dsuper.c1039 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 Dfs_context.c45 { "ro", SB_RDONLY },
54 { "rw", SB_RDONLY },
/linux/include/uapi/linux/
H A Dbfs_fs.h79 …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 Ddo_mounts.c238 if (!(flags & SB_RDONLY)) { in mount_root_generic()
239 flags |= SB_RDONLY; in mount_root_generic()
/linux/fs/bcachefs/
H A Dquota.c555 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 Dinode.c52 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 Dsuper.c80 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 Dsuper.c420 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 Dsuper.c2210 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 Dmisc.c44 sb->s_flags |= SB_RDONLY; in __exfat_fs_error()
/linux/fs/gfs2/
H A Dops_fstype.c1148 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 Dsuper.c414 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 Dsuper.c314 sb->s_flags |= SB_RDONLY; in squashfs_fill_super()
498 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/linux/fs/qnx6/
H A Dinode.c61 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 Dconstants.py.in54 LX_GDBPARSED(SB_RDONLY)

123