Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ufs/
Dsuper.c287 sb->s_flags |= SB_RDONLY; in ufs_error()
325 sb->s_flags |= SB_RDONLY; in ufs_panic()
919 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
935 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
951 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
967 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
982 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
1139 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
1143 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
1148 sb->s_flags |= SB_RDONLY; in ufs_fill_super()
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dsuper.c177 sb->s_flags |= SB_RDONLY; in __btrfs_handle_fs_error()
974 if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { in btrfs_parse_options()
1596 if (!(flags & SB_RDONLY)) in btrfs_mount_root()
1649 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount_root()
1665 if ((flags ^ s->s_flags) & SB_RDONLY) in btrfs_mount_root()
1734 if (flags & SB_RDONLY) { in btrfs_mount()
1736 flags & ~SB_RDONLY, device_name, data); in btrfs_mount()
1739 flags | SB_RDONLY, device_name, data); in btrfs_mount()
1801 (flags & SB_RDONLY))) { in btrfs_remount_begin()
1805 if (flags & SB_RDONLY) in btrfs_remount_begin()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/
Dsuper.c919 if (fc->sb_flags_mask & SB_RDONLY) { in reconfigure_super()
921 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super()
925 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
998 SB_RDONLY | SB_FORCE, SB_RDONLY); in do_emergency_remount_callback()
1288 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev()
1323 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
1374 if (!(flags & SB_RDONLY)) in mount_bdev()
1399 if ((flags ^ s->s_flags) & SB_RDONLY) { in mount_bdev()
/kernel/linux/linux-5.10/fs/nilfs2/
Dsuper.c141 sb->s_flags |= SB_RDONLY; in __nilfs_error()
1132 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount()
1134 if (*flags & SB_RDONLY) { in nilfs_remount()
1137 sb->s_flags |= SB_RDONLY; in nilfs_remount()
1167 sb->s_flags &= ~SB_RDONLY; in nilfs_remount()
1201 if (!(sd->flags & SB_RDONLY)) { in nilfs_parse_snapshot_option()
1275 if (!(flags & SB_RDONLY)) in nilfs_mount()
1323 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()
/kernel/linux/linux-5.10/fs/freevxfs/
Dvxfs_super.c119 *flags |= SB_RDONLY; in vxfs_remount()
216 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
/kernel/linux/linux-5.10/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))
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbfs_fs.h69 …o_cpu(bfs_sb->s_from) != - 1) && (le32_to_cpu(bfs_sb->s_to) != - 1) && ! (sb->s_flags & SB_RDONLY))
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbfs_fs.h62 …2_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY))
/kernel/linux/linux-5.10/fs/efs/
Dsuper.c114 *flags |= SB_RDONLY; in efs_remount()
311 s->s_flags |= SB_RDONLY; in efs_fill_super()
/kernel/linux/linux-5.10/fs/jfs/
Dsuper.c77 sb->s_flags |= SB_RDONLY; in jfs_handle_error()
451 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in jfs_remount()
462 sb->s_flags &= ~SB_RDONLY; in jfs_remount()
467 if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in jfs_remount()
/kernel/linux/linux-5.10/scripts/gdb/linux/
Dconstants.py.in47 LX_VALUE(SB_RDONLY)
/kernel/linux/linux-5.10/fs/qnx4/
Dinode.c51 *flags |= SB_RDONLY; in qnx4_remount()
202 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ in qnx4_fill_super()
/kernel/linux/linux-5.10/init/
Ddo_mounts.c462 if (!(flags & SB_RDONLY)) { in mount_block_root()
463 flags |= SB_RDONLY; in mount_block_root()
/kernel/linux/linux-5.10/fs/ext2/
Dsuper.c80 sb->s_flags |= SB_RDONLY; in ext2_error()
647 res = SB_RDONLY; in ext2_setup_super()
1180 sb->s_flags |= SB_RDONLY; in ext2_fill_super()
1339 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_remount()
1341 if (*flags & SB_RDONLY) { in ext2_remount()
1377 sb->s_flags &= ~SB_RDONLY; in ext2_remount()
/kernel/linux/linux-5.10/fs/squashfs/
Dsuper.c224 sb->s_flags |= SB_RDONLY; in squashfs_fill_super()
386 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/kernel/linux/linux-5.10/fs/f2fs/
Drecovery.c768 if (s_flags & SB_RDONLY) { in f2fs_recover_fsync_data()
770 sbi->sb->s_flags &= ~SB_RDONLY; in f2fs_recover_fsync_data()
777 quota_enabled = f2fs_enable_quota_files(sbi, s_flags & SB_RDONLY); in f2fs_recover_fsync_data()
/kernel/linux/linux-5.10/fs/ocfs2/
Dsuper.c656 if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_remount()
658 if (*flags & SB_RDONLY) { in ocfs2_remount()
672 if (*flags & SB_RDONLY) { in ocfs2_remount()
673 sb->s_flags |= SB_RDONLY; in ocfs2_remount()
690 sb->s_flags &= ~SB_RDONLY; in ocfs2_remount()
697 if (!ret && !(*flags & SB_RDONLY)) { in ocfs2_remount()
705 sb->s_flags |= SB_RDONLY; in ocfs2_remount()
2560 sb->s_flags |= SB_RDONLY; in ocfs2_handle_error()
/kernel/linux/linux-5.10/fs/exfat/
Dmisc.c43 sb->s_flags |= SB_RDONLY; in __exfat_fs_error()

123