Home
last modified time | relevance | path

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

123

/Linux-v6.1/fs/hfsplus/
Dsuper.c332 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 …]
/Linux-v6.1/fs/hfs/
Dsuper.c117 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()
Dmdb.c213 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
217 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
/Linux-v6.1/fs/ufs/
Dsuper.c286 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 …]
/Linux-v6.1/fs/ntfs/
Dsuper.c462 *flags |= SB_RDONLY; in ntfs_remount()
476 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in ntfs_remount()
537 } else if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in ntfs_remount()
1788 sb->s_flags |= SB_RDONLY; in load_system_files()
1926 sb->s_flags |= SB_RDONLY; in load_system_files()
1963 sb->s_flags |= SB_RDONLY; in load_system_files()
2008 sb->s_flags |= SB_RDONLY; in load_system_files()
2031 sb->s_flags |= SB_RDONLY; in load_system_files()
2044 if (!(sb->s_flags & SB_RDONLY) && (vol->major_ver > 1) && in load_system_files()
2058 sb->s_flags |= SB_RDONLY; in load_system_files()
[all …]
/Linux-v6.1/fs/btrfs/
Dsuper.c1126 if (new_flags & SB_RDONLY) in btrfs_parse_options()
1751 if (!(flags & SB_RDONLY)) in btrfs_mount_root()
1804 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount_root()
1820 if ((flags ^ s->s_flags) & SB_RDONLY) in btrfs_mount_root()
1891 if (flags & SB_RDONLY) { in btrfs_mount()
1893 flags & ~SB_RDONLY, device_name, data); in btrfs_mount()
1896 flags | SB_RDONLY, device_name, data); in btrfs_mount()
1952 (flags & SB_RDONLY))) { in btrfs_remount_begin()
1956 if (flags & SB_RDONLY) in btrfs_remount_begin()
2027 (!sb_rdonly(sb) || (*flags & SB_RDONLY))) { in btrfs_remount()
[all …]
/Linux-v6.1/fs/affs/
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()
Dsuper.c470 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()
/Linux-v6.1/fs/
Dsuper.c896 if (fc->sb_flags_mask & SB_RDONLY) { in reconfigure_super()
898 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super()
903 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
976 SB_RDONLY | SB_FORCE, SB_RDONLY); in do_emergency_remount_callback()
1266 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev()
1301 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
1354 if (!(flags & SB_RDONLY)) in mount_bdev()
1379 if ((flags ^ s->s_flags) & SB_RDONLY) { in mount_bdev()
/Linux-v6.1/fs/nilfs2/
Dsuper.c141 sb->s_flags |= SB_RDONLY; in __nilfs_error()
1133 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount()
1135 if (*flags & SB_RDONLY) { in nilfs_remount()
1136 sb->s_flags |= SB_RDONLY; in nilfs_remount()
1166 sb->s_flags &= ~SB_RDONLY; in nilfs_remount()
1200 if (!(sd->flags & SB_RDONLY)) { in nilfs_parse_snapshot_option()
1274 if (!(flags & SB_RDONLY)) in nilfs_mount()
1322 if ((flags ^ s->s_flags) & SB_RDONLY) { in nilfs_mount()
Dthe_nilfs.c214 if (s_flags & SB_RDONLY) { in load_nilfs()
278 if (s_flags & SB_RDONLY) { in load_nilfs()
301 sb->s_flags &= ~SB_RDONLY; in load_nilfs()
/Linux-v6.1/fs/freevxfs/
Dvxfs_super.c95 *flags |= SB_RDONLY; in vxfs_remount()
192 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
/Linux-v6.1/fs/ext4/
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-v6.1/include/uapi/linux/
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-v6.1/fs/efs/
Dsuper.c114 *flags |= SB_RDONLY; in efs_remount()
311 s->s_flags |= SB_RDONLY; in efs_fill_super()
/Linux-v6.1/fs/jfs/
Dsuper.c77 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()
/Linux-v6.1/scripts/gdb/linux/
Dconstants.py.in47 LX_VALUE(SB_RDONLY)
/Linux-v6.1/init/
Ddo_mounts.c434 if (!(flags & SB_RDONLY)) { in mount_block_root()
435 flags |= SB_RDONLY; in mount_block_root()
/Linux-v6.1/fs/qnx4/
Dinode.c51 *flags |= SB_RDONLY; in qnx4_remount()
202 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ in qnx4_fill_super()
/Linux-v6.1/fs/ext2/
Dsuper.c80 sb->s_flags |= SB_RDONLY; in ext2_error()
642 res = SB_RDONLY; in ext2_setup_super()
1202 sb->s_flags |= SB_RDONLY; in ext2_fill_super()
1360 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_remount()
1362 if (*flags & SB_RDONLY) { in ext2_remount()
1398 sb->s_flags &= ~SB_RDONLY; in ext2_remount()
/Linux-v6.1/fs/ocfs2/
Dsuper.c644 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()
2538 sb->s_flags |= SB_RDONLY; in ocfs2_handle_error()
/Linux-v6.1/fs/exfat/
Dmisc.c44 sb->s_flags |= SB_RDONLY; in __exfat_fs_error()
/Linux-v6.1/fs/romfs/
Dsuper.c430 fc->sb_flags |= SB_RDONLY; in romfs_reconfigure()
480 sb->s_flags |= SB_RDONLY | SB_NOATIME; in romfs_fill_super()
/Linux-v6.1/fs/squashfs/
Dsuper.c243 sb->s_flags |= SB_RDONLY; in squashfs_fill_super()
409 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/Linux-v6.1/fs/f2fs/
Drecovery.c832 if (s_flags & SB_RDONLY) { in f2fs_recover_fsync_data()
834 sbi->sb->s_flags &= ~SB_RDONLY; in f2fs_recover_fsync_data()
839 quota_enabled = f2fs_enable_quota_files(sbi, s_flags & SB_RDONLY); in f2fs_recover_fsync_data()

123