/Linux-v6.1/fs/hfsplus/ |
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 …]
|
/Linux-v6.1/fs/hfs/ |
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()
|
D | mdb.c | 213 sb->s_flags |= SB_RDONLY; in hfs_mdb_get() 217 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
|
/Linux-v6.1/fs/ufs/ |
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 …]
|
/Linux-v6.1/fs/ntfs/ |
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 …]
|
/Linux-v6.1/fs/btrfs/ |
D | super.c | 1126 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/ |
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()
|
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()
|
/Linux-v6.1/fs/ |
D | super.c | 896 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/ |
D | super.c | 141 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()
|
D | the_nilfs.c | 214 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/ |
D | vxfs_super.c | 95 *flags |= SB_RDONLY; in vxfs_remount() 192 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
|
/Linux-v6.1/fs/ext4/ |
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()
|
/Linux-v6.1/include/uapi/linux/ |
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))
|
/Linux-v6.1/fs/efs/ |
D | super.c | 114 *flags |= SB_RDONLY; in efs_remount() 311 s->s_flags |= SB_RDONLY; in efs_fill_super()
|
/Linux-v6.1/fs/jfs/ |
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()
|
/Linux-v6.1/scripts/gdb/linux/ |
D | constants.py.in | 47 LX_VALUE(SB_RDONLY)
|
/Linux-v6.1/init/ |
D | do_mounts.c | 434 if (!(flags & SB_RDONLY)) { in mount_block_root() 435 flags |= SB_RDONLY; in mount_block_root()
|
/Linux-v6.1/fs/qnx4/ |
D | inode.c | 51 *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/ |
D | super.c | 80 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/ |
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() 2538 sb->s_flags |= SB_RDONLY; in ocfs2_handle_error()
|
/Linux-v6.1/fs/exfat/ |
D | misc.c | 44 sb->s_flags |= SB_RDONLY; in __exfat_fs_error()
|
/Linux-v6.1/fs/romfs/ |
D | super.c | 430 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/ |
D | super.c | 243 sb->s_flags |= SB_RDONLY; in squashfs_fill_super() 409 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
|
/Linux-v6.1/fs/f2fs/ |
D | recovery.c | 832 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()
|