Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/fs/hfsplus/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/hfs/
H A Dsuper.c118 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_remount()
120 if (!(*flags & SB_RDONLY)) { in hfs_remount()
123 sb->s_flags |= SB_RDONLY; in hfs_remount()
124 *flags |= SB_RDONLY; in hfs_remount()
127 sb->s_flags |= SB_RDONLY; in hfs_remount()
128 *flags |= SB_RDONLY; in hfs_remount()
H A Dmdb.c213 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
217 sb->s_flags |= SB_RDONLY; in hfs_mdb_get()
/OK3568_Linux_fs/kernel/fs/ufs/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dsuper.c177 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()
1759 if (flags & SB_RDONLY) { in btrfs_mount()
1761 flags & ~SB_RDONLY, device_name, data); in btrfs_mount()
1764 flags | SB_RDONLY, device_name, data); in btrfs_mount()
1826 (flags & SB_RDONLY))) { in btrfs_remount_begin()
1830 if (flags & SB_RDONLY) in btrfs_remount_begin()
[all …]
/OK3568_Linux_fs/kernel/fs/ntfs/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/
H A Dsuper.c920 if (fc->sb_flags_mask & SB_RDONLY) { in reconfigure_super()
922 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super()
926 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
999 SB_RDONLY | SB_FORCE, SB_RDONLY); in do_emergency_remount_callback()
1289 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev()
1324 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
1375 if (!(flags & SB_RDONLY)) in mount_bdev()
1400 if ((flags ^ s->s_flags) & SB_RDONLY) { in mount_bdev()
/OK3568_Linux_fs/kernel/fs/nilfs2/
H A Dsuper.c142 sb->s_flags |= SB_RDONLY; in __nilfs_error()
1134 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount()
1136 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()
H A 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()
/OK3568_Linux_fs/kernel/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()
H A 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()
/OK3568_Linux_fs/kernel/fs/freevxfs/
H A Dvxfs_super.c120 *flags |= SB_RDONLY; in vxfs_remount()
217 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
/OK3568_Linux_fs/kernel/fs/efs/
H A Dsuper.c114 *flags |= SB_RDONLY; in efs_remount()
311 s->s_flags |= SB_RDONLY; in efs_fill_super()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/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))
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/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))
/OK3568_Linux_fs/kernel/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))
/OK3568_Linux_fs/kernel/fs/jfs/
H A Dsuper.c78 sb->s_flags |= SB_RDONLY; in jfs_handle_error()
452 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in jfs_remount()
463 sb->s_flags &= ~SB_RDONLY; in jfs_remount()
468 if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in jfs_remount()
/OK3568_Linux_fs/kernel/fs/ext2/
H A Dsuper.c80 sb->s_flags |= SB_RDONLY; in ext2_error()
647 res = SB_RDONLY; in ext2_setup_super()
1192 sb->s_flags |= SB_RDONLY; in ext2_fill_super()
1351 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_remount()
1353 if (*flags & SB_RDONLY) { in ext2_remount()
1389 sb->s_flags &= ~SB_RDONLY; in ext2_remount()
/OK3568_Linux_fs/kernel/init/
H A Ddo_mounts.c462 if (!(flags & SB_RDONLY)) { in mount_block_root()
463 flags |= SB_RDONLY; in mount_block_root()
/OK3568_Linux_fs/kernel/fs/qnx4/
H A Dinode.c51 *flags |= SB_RDONLY; in qnx4_remount()
202 s->s_flags |= SB_RDONLY; /* Yup, read-only yet */ in qnx4_fill_super()
/OK3568_Linux_fs/kernel/fs/squashfs/
H A Dsuper.c192 sb->s_flags |= SB_RDONLY; in squashfs_fill_super()
354 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/OK3568_Linux_fs/kernel/scripts/gdb/linux/
H A Dconstants.py.in47 LX_VALUE(SB_RDONLY)
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Dsuper.c648 if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_remount()
650 if (*flags & SB_RDONLY) { in ocfs2_remount()
664 if (*flags & SB_RDONLY) { in ocfs2_remount()
665 sb->s_flags |= SB_RDONLY; in ocfs2_remount()
682 sb->s_flags &= ~SB_RDONLY; in ocfs2_remount()
689 if (!ret && !(*flags & SB_RDONLY)) { in ocfs2_remount()
697 sb->s_flags |= SB_RDONLY; in ocfs2_remount()
2540 sb->s_flags |= SB_RDONLY; in ocfs2_handle_error()
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsuper.c1996 if (s_flags & SB_RDONLY) { in f2fs_disable_checkpoint()
2118 if (!(*flags & SB_RDONLY) && is_sbi_flag_set(sbi, SBI_NEED_SB_WRITE)) { in f2fs_remount()
2139 if (f2fs_readonly(sb) && (*flags & SB_RDONLY)) in f2fs_remount()
2142 if (f2fs_sb_has_readonly(sbi) && !(*flags & SB_RDONLY)) { in f2fs_remount()
2148 if (!f2fs_readonly(sb) && (*flags & SB_RDONLY)) { in f2fs_remount()
2152 } else if (f2fs_readonly(sb) && !(*flags & SB_RDONLY)) { in f2fs_remount()
2154 sb->s_flags &= ~SB_RDONLY; in f2fs_remount()
2196 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2207 if ((*flags & SB_RDONLY) || in f2fs_remount()
2221 if (*flags & SB_RDONLY || in f2fs_remount()
[all …]
H A Drecovery.c800 if (s_flags & SB_RDONLY) { in f2fs_recover_fsync_data()
802 sbi->sb->s_flags &= ~SB_RDONLY; in f2fs_recover_fsync_data()
809 quota_enabled = f2fs_enable_quota_files(sbi, s_flags & SB_RDONLY); in f2fs_recover_fsync_data()

123