/kernel/linux/linux-5.10/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...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/fs/ |
H A D | super.c | 921 if (fc->sb_flags_mask & SB_RDONLY) { in reconfigure_super() 923 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super() 926 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 927 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1008 SB_RDONLY | SB_FORCE, SB_RDONLY); in do_emergency_remount_callback() 1298 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev() 1333 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev() 1384 if (!(flags & SB_RDONLY)) in mount_bdev() 1409 if ((flags ^ s->s_flags) & SB_RDONLY) { in mount_bdev() [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | super.c | 137 * under SB_RDONLY, then it is safe here. in __btrfs_handle_fs_error() 177 sb->s_flags |= SB_RDONLY; in __btrfs_handle_fs_error() 999 if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { in btrfs_parse_options() 1621 if (!(flags & SB_RDONLY)) in btrfs_mount_root() 1674 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount_root() 1690 if ((flags ^ s->s_flags) & SB_RDONLY) in btrfs_mount_root() 1757 if (flags & SB_RDONLY) { in btrfs_mount() 1759 flags & ~SB_RDONLY, device_name, data); in btrfs_mount() 1762 flags | SB_RDONLY, device_name, data); in btrfs_mount() 1824 (flags & SB_RDONLY))) { in btrfs_remount_begin() [all...] |
/kernel/linux/linux-5.10/fs/ufs/ |
H A D | super.c | 287 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-6.6/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...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | super.c | 462 *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-6.6/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...] |
/kernel/linux/linux-5.10/fs/freevxfs/ |
H A D | vxfs_super.c | 119 *flags |= SB_RDONLY; in vxfs_remount() 216 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
|
/kernel/linux/linux-5.10/fs/efivarfs/ |
H A D | super.c | 209 sb->s_flags |= SB_RDONLY; in efivarfs_fill_super() 237 if (!efivar_supports_writes() && !(fc->sb_flags & SB_RDONLY)) { in efivarfs_reconfigure()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | super.c | 141 sb->s_flags |= SB_RDONLY; in __nilfs_error() 1165 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount() 1167 if (*flags & SB_RDONLY) { in nilfs_remount() 1168 sb->s_flags |= SB_RDONLY; in nilfs_remount() 1198 sb->s_flags &= ~SB_RDONLY; in nilfs_remount() 1232 if (!(sd->flags & SB_RDONLY)) { in nilfs_parse_snapshot_option() 1306 if (!(flags & SB_RDONLY)) in nilfs_mount() 1354 if ((flags ^ s->s_flags) & SB_RDONLY) { in nilfs_mount()
|
/kernel/linux/linux-6.6/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() 508 sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in ext4_orphan_cleanup()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | bfs_fs.h | 79 ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY))
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | bfs_fs.h | 79 ((le32_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/ |
H A D | bfs_fs.h | 69 #define BFS_UNCLEAN(bfs_sb,sb) ((le32_to_cpu(bfs_sb->s_from) != - 1) && (le32_to_cpu(bfs_sb->s_to) != - 1) && ! (sb->s_flags & SB_RDONLY))
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | bfs_fs.h | 69 #define BFS_UNCLEAN(bfs_sb,sb) ((le32_to_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/ |
H A D | bfs_fs.h | 62 ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY))
|