/linux-4.4.14/fs/hfsplus/ |
D | super.c | 264 if (sb->s_flags & MS_RDONLY) in hfsplus_mark_mdb_dirty() 284 if (!(sb->s_flags & MS_RDONLY) && sbi->s_vhdr) { in hfsplus_put_super() 329 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in hfsplus_remount() 331 if (!(*flags & MS_RDONLY)) { in hfsplus_remount() 340 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 341 *flags |= MS_RDONLY; in hfsplus_remount() 347 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 348 *flags |= MS_RDONLY; in hfsplus_remount() 352 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 353 *flags |= MS_RDONLY; in hfsplus_remount() [all …]
|
/linux-4.4.14/fs/ufs/ |
D | super.c | 281 if (!(sb->s_flags & MS_RDONLY)) { in ufs_error() 285 sb->s_flags |= MS_RDONLY; in ufs_error() 315 if (!(sb->s_flags & MS_RDONLY)) { in ufs_panic() 323 sb->s_flags |= MS_RDONLY; in ufs_panic() 737 if (!(sb->s_flags & MS_RDONLY)) in ufs_put_super() 771 if (!(sb->s_flags & MS_RDONLY)) { in ufs_fill_super() 783 UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY)); in ufs_fill_super() 881 if (!(sb->s_flags & MS_RDONLY)) { in ufs_fill_super() 884 sb->s_flags |= MS_RDONLY; in ufs_fill_super() 897 if (!(sb->s_flags & MS_RDONLY)) { in ufs_fill_super() [all …]
|
/linux-4.4.14/fs/hfs/ |
D | super.c | 74 if (sb->s_flags & MS_RDONLY) in hfs_mark_mdb_dirty() 118 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in hfs_remount() 120 if (!(*flags & MS_RDONLY)) { in hfs_remount() 123 sb->s_flags |= MS_RDONLY; in hfs_remount() 124 *flags |= MS_RDONLY; in hfs_remount() 127 sb->s_flags |= MS_RDONLY; in hfs_remount() 128 *flags |= MS_RDONLY; in hfs_remount()
|
D | mdb.c | 207 sb->s_flags |= MS_RDONLY; in hfs_mdb_get() 211 sb->s_flags |= MS_RDONLY; in hfs_mdb_get() 213 if (!(sb->s_flags & MS_RDONLY)) { in hfs_mdb_get() 262 if (sb->s_flags & MS_RDONLY) in hfs_mdb_commit() 337 if (sb->s_flags & MS_RDONLY) in hfs_mdb_close()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_quotaops.c | 128 if (sb->s_flags & MS_RDONLY) in xfs_fs_set_info() 178 if (sb->s_flags & MS_RDONLY) in xfs_quota_enable() 193 if (sb->s_flags & MS_RDONLY) in xfs_quota_disable() 211 if (sb->s_flags & MS_RDONLY) in xfs_fs_rm_xquota() 252 if (sb->s_flags & MS_RDONLY) in xfs_fs_set_dqblk()
|
D | xfs_super.c | 197 if (sb->s_flags & MS_RDONLY) in xfs_parseargs() 1229 if ((mp->m_flags & XFS_MOUNT_RDONLY) && !(*flags & MS_RDONLY)) { in xfs_fs_remount() 1270 if (!(mp->m_flags & XFS_MOUNT_RDONLY) && (*flags & MS_RDONLY)) { in xfs_fs_remount()
|
/linux-4.4.14/fs/nilfs2/ |
D | super.c | 126 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_error() 131 sb->s_flags |= MS_RDONLY; in nilfs_error() 489 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_put_super() 590 if (sb->s_flags & MS_RDONLY) in nilfs_freeze() 604 if (sb->s_flags & MS_RDONLY) in nilfs_unfreeze() 912 if (!(sb->s_flags & MS_RDONLY) && features) { in nilfs_check_feature_compatibility() 1096 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_fill_super() 1108 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_fill_super() 1158 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in nilfs_remount() 1160 if (*flags & MS_RDONLY) { in nilfs_remount() [all …]
|
D | the_nilfs.c | 223 if (s_flags & MS_RDONLY) { in load_nilfs() 290 if (s_flags & MS_RDONLY) { in load_nilfs() 314 sb->s_flags &= ~MS_RDONLY; in load_nilfs()
|
D | mdt.c | 442 if (inode && (inode->i_sb->s_flags & MS_RDONLY)) { in nilfs_mdt_write_page()
|
D | inode.c | 181 if (inode->i_sb->s_flags & MS_RDONLY) { in nilfs_writepages() 198 if (inode->i_sb->s_flags & MS_RDONLY) { in nilfs_writepage()
|
/linux-4.4.14/fs/jfs/ |
D | super.c | 78 if (sb->s_flags & MS_RDONLY) in jfs_handle_error() 89 sb->s_flags |= MS_RDONLY; in jfs_handle_error() 441 if (sb->s_flags & MS_RDONLY) { in jfs_remount() 450 if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) { in jfs_remount() 461 sb->s_flags &= ~MS_RDONLY; in jfs_remount() 466 if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) { in jfs_remount() 475 if (!(sb->s_flags & MS_RDONLY)) { in jfs_remount() 565 if (sb->s_flags & MS_RDONLY) in jfs_fill_super() 631 if (!(sb->s_flags & MS_RDONLY)) { in jfs_freeze() 661 if (!(sb->s_flags & MS_RDONLY)) { in jfs_unfreeze()
|
D | jfs_mount.c | 365 !(sb->s_flags & MS_RDONLY)) { in chkSuper()
|
/linux-4.4.14/init/ |
D | do_mounts.c | 40 int root_mountflags = MS_RDONLY | MS_SILENT; 58 root_mountflags |= MS_RDONLY; in readonly() 66 root_mountflags &= ~MS_RDONLY; in readwrite() 376 s->s_flags & MS_RDONLY ? " readonly" : "", in do_mount_root() 423 if (!(flags & MS_RDONLY)) { in mount_block_root() 424 flags |= MS_RDONLY; in mount_block_root()
|
D | do_mounts_initrd.c | 61 mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY); in handle_initrd()
|
/linux-4.4.14/fs/ntfs/ |
D | super.c | 476 *flags |= MS_RDONLY; in ntfs_remount() 490 if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) { in ntfs_remount() 551 } else if (!(sb->s_flags & MS_RDONLY) && (*flags & MS_RDONLY)) { in ntfs_remount() 735 if (!(sb->s_flags & MS_RDONLY)) { in read_ntfs_boot_sector() 1792 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() 1802 sb->s_flags |= MS_RDONLY; in load_system_files() 1931 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() 1940 sb->s_flags |= MS_RDONLY; in load_system_files() 1964 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() 1977 sb->s_flags |= MS_RDONLY; in load_system_files() [all …]
|
/linux-4.4.14/fs/btrfs/ |
D | super.c | 114 if (sb->s_flags & MS_RDONLY) in btrfs_handle_error() 118 sb->s_flags |= MS_RDONLY; in btrfs_handle_error() 150 if (errno == -EROFS && (sb->s_flags & MS_RDONLY)) in __btrfs_std_error() 1290 if (flags & MS_RDONLY) { in mount_subvol() 1291 mnt = vfs_kern_mount(&btrfs_fs_type, flags & ~MS_RDONLY, in mount_subvol() 1294 mnt = vfs_kern_mount(&btrfs_fs_type, flags | MS_RDONLY, in mount_subvol() 1444 if (!(flags & MS_RDONLY)) in btrfs_mount() 1498 if (!(flags & MS_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_mount() 1514 if ((flags ^ s->s_flags) & MS_RDONLY) in btrfs_mount() 1584 (flags & MS_RDONLY))) { in btrfs_remount_begin() [all …]
|
D | root-tree.c | 234 if (tree_root->fs_info->sb->s_flags & MS_RDONLY) in btrfs_find_orphan_roots()
|
D | disk-io.c | 2407 if (fs_info->sb->s_flags & MS_RDONLY) { in btrfs_replay_log() 2704 ret = btrfs_check_super_valid(fs_info, sb->s_flags & MS_RDONLY); in open_ctree() 2812 if (!(sb->s_flags & MS_RDONLY) && features) { in open_ctree() 2994 !(sb->s_flags & MS_RDONLY)) { in open_ctree() 3055 if (!(sb->s_flags & MS_RDONLY)) { in open_ctree() 3081 if (sb->s_flags & MS_RDONLY) in open_ctree() 3837 if (!(fs_info->sb->s_flags & MS_RDONLY)) { in close_ctree()
|
D | sysfs.c | 375 if (fs_info->sb->s_flags & MS_RDONLY) in btrfs_label_store()
|
D | dev-replace.c | 697 if (fs_info->sb->s_flags & MS_RDONLY) in __btrfs_dev_replace_cancel()
|
D | extent_io.c | 2106 ASSERT(!(fs_info->sb->s_flags & MS_RDONLY)); in repair_io_failure() 2159 if (root->fs_info->sb->s_flags & MS_RDONLY) in repair_eb_io_failure() 2211 if (fs_info->sb->s_flags & MS_RDONLY) in clean_io_failure()
|
D | volumes.c | 2254 if ((sb->s_flags & MS_RDONLY) && !root->fs_info->fs_devices->seeding) in btrfs_init_new_device() 2326 sb->s_flags &= ~MS_RDONLY; in btrfs_init_new_device() 3947 if (fs_info->sb->s_flags & MS_RDONLY) in btrfs_cancel_balance()
|
D | ctree.h | 3725 return (root->fs_info->sb->s_flags & MS_RDONLY || in btrfs_need_cleaner_sleep()
|
D | ioctl.c | 4468 if (root->fs_info->sb->s_flags & MS_RDONLY) { in btrfs_ioctl_dev_replace()
|
D | inode.c | 5660 if (!(inode->i_sb->s_flags & MS_RDONLY)) in btrfs_lookup_dentry()
|
/linux-4.4.14/fs/ |
D | super.c | 723 if (!(flags & MS_RDONLY) && bdev_read_only(sb->s_bdev)) in do_remount_sb() 727 remount_ro = (flags & MS_RDONLY) && !(sb->s_flags & MS_RDONLY); in do_remount_sb() 738 remount_ro = (flags & MS_RDONLY) && !(sb->s_flags & MS_RDONLY); in do_remount_sb() 800 !(sb->s_flags & MS_RDONLY)) { in do_emergency_remount() 804 do_remount_sb(sb, MS_RDONLY, NULL, 1); in do_emergency_remount() 974 if (!(flags & MS_RDONLY)) in mount_bdev() 999 if ((flags ^ s->s_flags) & MS_RDONLY) { in mount_bdev() 1292 if (sb->s_flags & MS_RDONLY) { in freeze_super() 1354 if (sb->s_flags & MS_RDONLY) { in thaw_super()
|
D | sync.c | 60 if (sb->s_flags & MS_RDONLY) in sync_filesystem() 72 if (!(sb->s_flags & MS_RDONLY)) in sync_inodes_one_sb() 78 if (!(sb->s_flags & MS_RDONLY) && sb->s_op->sync_fs) in sync_fs_one_sb()
|
D | proc_namespace.c | 177 seq_puts(m, sb->s_flags & MS_RDONLY ? " ro" : " rw"); in show_mountinfo()
|
D | namespace.c | 278 if (mnt->mnt_sb->s_flags & MS_RDONLY) in __mnt_is_readonly() 1516 if (!(sb->s_flags & MS_RDONLY)) in do_umount() 1517 retval = do_remount_sb(sb, MS_RDONLY, NULL, 0); in do_umount() 2138 if (ms_flags & MS_RDONLY) in change_mount_flags() 2700 if (flags & MS_RDONLY) in do_mount()
|
D | namei.c | 440 if ((sb->s_flags & MS_RDONLY) && in sb_permission()
|
/linux-4.4.14/fs/hpfs/ |
D | super.c | 24 if (hpfs_sb(s)->sb_chkdsk && (remount || !(s->s_flags & MS_RDONLY))) { in mark_dirty() 44 if (s->s_flags & MS_RDONLY) return; in unmark_dirty() 76 if (s->s_flags & MS_RDONLY) in hpfs_error() 81 s->s_flags |= MS_RDONLY; in hpfs_error() 83 } else if (s->s_flags & MS_RDONLY) in hpfs_error() 491 if (!(*flags & MS_RDONLY)) mark_dirty(s, 1); in hpfs_remount_fs() 610 if (!(s->s_flags & MS_RDONLY) && in hpfs_fill_super() 669 if (!(s->s_flags & MS_RDONLY)) { in hpfs_fill_super()
|
D | alloc.c | 541 if (s->s_flags & MS_RDONLY) { in hpfs_trim_fs() 562 if (s->s_flags & MS_RDONLY) { in hpfs_trim_fs()
|
D | dir.c | 261 if (de->has_acl || de->has_xtd_perm) if (!(dir->i_sb->s_flags & MS_RDONLY)) { in hpfs_lookup()
|
D | map.c | 290 …+ de->namelen + de->down*4 + 3) & ~3) < le16_to_cpu(de->length) && s->s_flags & MS_RDONLY) goto ok; in hpfs_map_dnode()
|
/linux-4.4.14/fs/affs/ |
D | super.c | 80 if (sb->s_flags & MS_RDONLY) in affs_mark_sb_dirty() 432 || chksum == MUFS_DCOFS) && !(sb->s_flags & MS_RDONLY)) { in affs_fill_super() 434 sb->s_flags |= MS_RDONLY; in affs_fill_super() 565 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in affs_remount() 568 if (*flags & MS_RDONLY) in affs_remount()
|
D | bitmap.c | 22 if (sb->s_flags & MS_RDONLY) in affs_count_free_blocks() 252 if (*flags & MS_RDONLY) in affs_init_bitmap() 257 *flags |= MS_RDONLY; in affs_init_bitmap() 290 *flags |= MS_RDONLY; in affs_init_bitmap()
|
D | amigaffs.c | 452 if (!(sb->s_flags & MS_RDONLY)) in affs_error() 454 sb->s_flags |= MS_RDONLY; in affs_error()
|
/linux-4.4.14/include/uapi/linux/ |
D | fs.h | 68 #define MS_RDONLY 1 /* Mount read-only */ macro 104 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
|
D | bfs_fs.h | 78 …2_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & MS_RDONLY))
|
/linux-4.4.14/fs/ext4/ |
D | super.c | 372 if (sb->s_flags & MS_RDONLY) in ext4_handle_error() 389 sb->s_flags |= MS_RDONLY; in ext4_handle_error() 543 (sb->s_flags & MS_RDONLY)) in __ext4_std_error() 579 if ((sb->s_flags & MS_RDONLY) == 0) { in __ext4_abort() 587 sb->s_flags |= MS_RDONLY; in __ext4_abort() 819 if (!(sb->s_flags & MS_RDONLY)) { in ext4_put_super() 823 if (!(sb->s_flags & MS_RDONLY)) in ext4_put_super() 1901 seq_puts(seq, (sb->s_flags & MS_RDONLY) ? "ro" : "rw"); in ext4_seq_options_show() 1916 res = MS_RDONLY; in ext4_setup_super() 2153 if (!(sb->s_flags & MS_RDONLY)) { in ext4_check_descriptors() [all …]
|
D | fsync.c | 100 if (inode->i_sb->s_flags & MS_RDONLY) { in ext4_sync_file()
|
D | ext4_jbd2.c | 46 if (sb->s_flags & MS_RDONLY) in ext4_journal_check_start()
|
D | mmp.c | 188 if (sb->s_flags & MS_RDONLY) { in kmmpd()
|
D | file.c | 370 !(sb->s_flags & MS_RDONLY))) { in ext4_file_open()
|
D | ialloc.c | 1299 if (sb->s_flags & MS_RDONLY) { in ext4_init_inode_table()
|
/linux-4.4.14/fs/ext2/ |
D | super.c | 55 if (!(sb->s_flags & MS_RDONLY)) { in ext2_error() 78 sb->s_flags |= MS_RDONLY; in ext2_error() 135 if (!(sb->s_flags & MS_RDONLY)) { in ext2_put_super() 626 res = MS_RDONLY; in ext2_setup_super() 911 if (!(sb->s_flags & MS_RDONLY) && in ext2_fill_super() 1140 if (ext2_setup_super (sb, es, sb->s_flags & MS_RDONLY)) in ext2_fill_super() 1141 sb->s_flags |= MS_RDONLY; in ext2_fill_super() 1269 if (!(sb->s_flags & MS_RDONLY)) in ext2_write_super() 1307 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) { in ext2_remount() 1311 if (*flags & MS_RDONLY) { in ext2_remount() [all …]
|
/linux-4.4.14/fs/efs/ |
D | super.c | 118 *flags |= MS_RDONLY; in efs_remount() 309 if (!(s->s_flags & MS_RDONLY)) { in efs_fill_super() 313 s->s_flags |= MS_RDONLY; in efs_fill_super()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_super.c | 128 *flags |= MS_RDONLY; in vxfs_remount() 157 sbp->s_flags |= MS_RDONLY; in vxfs_fill_super()
|
/linux-4.4.14/fs/reiserfs/ |
D | super.c | 108 if (s->s_flags & MS_RDONLY || !(s->s_flags & MS_ACTIVE)) in reiserfs_schedule_old_flush() 137 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_freeze() 553 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_put_super() 653 if (inode->i_sb->s_flags & MS_RDONLY) { in reiserfs_dirty_inode() 1469 if (*mount_flags & MS_RDONLY) { in reiserfs_remount() 1473 if (s->s_flags & MS_RDONLY) in reiserfs_remount() 1499 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_remount() 1515 s->s_flags &= ~MS_RDONLY; in reiserfs_remount() 1523 s->s_flags &= ~MS_RDONLY; in reiserfs_remount() 1538 if (!(*mount_flags & MS_RDONLY)) { in reiserfs_remount() [all …]
|
D | prints.c | 391 if (sb->s_flags & MS_RDONLY) in __reiserfs_error() 395 sb->s_flags |= MS_RDONLY; in __reiserfs_error() 414 sb->s_flags |= MS_RDONLY; in reiserfs_abort()
|
D | xattr.c | 1029 if (d_really_is_negative(privroot) && !(mount_flags & MS_RDONLY)) { in reiserfs_xattr_init()
|
D | journal.c | 1921 if (!error && !(sb->s_flags & MS_RDONLY)) { in do_journal_release() 4397 sb->s_flags |= MS_RDONLY; in reiserfs_abort_journal()
|
D | inode.c | 1780 if (inode->i_sb->s_flags & MS_RDONLY) in reiserfs_write_inode()
|
/linux-4.4.14/fs/ocfs2/ |
D | super.c | 681 if ((*flags & MS_RDONLY) != (sb->s_flags & MS_RDONLY)) { in ocfs2_remount() 683 if (*flags & MS_RDONLY) { in ocfs2_remount() 697 if (*flags & MS_RDONLY) { in ocfs2_remount() 698 sb->s_flags |= MS_RDONLY; in ocfs2_remount() 715 sb->s_flags &= ~MS_RDONLY; in ocfs2_remount() 722 if (!ret && !(*flags & MS_RDONLY)) { in ocfs2_remount() 730 sb->s_flags |= MS_RDONLY; in ocfs2_remount() 1070 if (!(sb->s_flags & MS_RDONLY)) { in ocfs2_fill_super() 1105 if (sb->s_flags & MS_RDONLY) in ocfs2_fill_super() 1186 if (!(sb->s_flags & MS_RDONLY)) { in ocfs2_fill_super() [all …]
|
/linux-4.4.14/fs/minix/ |
D | inode.c | 45 if (!(sb->s_flags & MS_RDONLY)) { in minix_put_super() 128 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in minix_remount() 130 if (*flags & MS_RDONLY) { in minix_remount() 296 if (!(s->s_flags & MS_RDONLY)) { in minix_fill_super()
|
/linux-4.4.14/fs/fat/ |
D | misc.c | 35 else if (opts->errors == FAT_ERRORS_RO && !(sb->s_flags & MS_RDONLY)) { in __fat_fs_error() 36 sb->s_flags |= MS_RDONLY; in __fat_fs_error()
|
D | inode.c | 577 if ((sb->s_flags & MS_RDONLY) && !force) in fat_set_state() 706 new_rdonly = *flags & MS_RDONLY; in fat_remount() 707 if (new_rdonly != (sb->s_flags & MS_RDONLY)) { in fat_remount() 1265 sb->s_flags |= MS_RDONLY; in parse_options()
|
D | fatent.c | 312 if (sb->s_flags & MS_RDONLY || sbi->fat_bits != 32) in mark_fsinfo_dirty()
|
/linux-4.4.14/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 132 mnt_flags |= MS_RDONLY; in read_mnt_flags() 320 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
|
/linux-4.4.14/fs/jffs2/ |
D | fs.c | 397 if (c->flags & JFFS2_SB_FLAG_RO && !(sb->s_flags & MS_RDONLY)) in jffs2_do_remount_fs() 404 if (!(sb->s_flags & MS_RDONLY)) { in jffs2_do_remount_fs() 411 if (!(*flags & MS_RDONLY)) in jffs2_do_remount_fs() 592 if (!(sb->s_flags & MS_RDONLY)) in jffs2_do_fill_super()
|
D | os-linux.h | 62 #define jffs2_is_readonly(c) (OFNI_BS_2SFFJ(c)->s_flags & MS_RDONLY)
|
D | super.c | 348 if (!(sb->s_flags & MS_RDONLY)) in jffs2_kill_sb()
|
D | wbuf.c | 1165 if (!(sb->s_flags & MS_RDONLY)) { in delayed_wbuf_sync() 1176 if (sb->s_flags & MS_RDONLY) in jffs2_dirty_trigger()
|
/linux-4.4.14/fs/udf/ |
D | super.c | 655 if (write_rev > UDF_MAX_WRITE_VERSION && !(*flags & MS_RDONLY)) in udf_remount_fs() 678 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in udf_remount_fs() 681 if (*flags & MS_RDONLY) in udf_remount_fs() 1030 if (sb->s_flags & MS_RDONLY) in udf_load_metadata_files() 1353 if (!(sb->s_flags & MS_RDONLY)) { in udf_load_partdesc() 2180 !(sb->s_flags & MS_RDONLY)) { in udf_fill_super() 2201 !(sb->s_flags & MS_RDONLY)) { in udf_fill_super() 2220 if (!(sb->s_flags & MS_RDONLY)) { in udf_fill_super() 2307 if (!(sb->s_flags & MS_RDONLY)) in udf_put_super()
|
/linux-4.4.14/fs/gfs2/ |
D | ops_fstype.c | 1034 sprintf(ro, "RDONLY=%d", (sb->s_flags & MS_RDONLY) ? 1 : 0); in gfs2_online_uevent() 1062 sb->s_flags |= MS_RDONLY; in fill_super() 1176 if (!(sb->s_flags & MS_RDONLY)) { in fill_super() 1259 if (!(flags & MS_RDONLY)) in gfs2_mount() 1315 if ((flags ^ s->s_flags) & MS_RDONLY) in gfs2_mount() 1369 if ((flags ^ s->s_flags) & MS_RDONLY) { in gfs2_mount_meta()
|
D | super.c | 890 if (!(sb->s_flags & MS_RDONLY)) { in gfs2_put_super() 1246 *flags |= MS_RDONLY; in gfs2_remount_fs() 1248 if ((sb->s_flags ^ *flags) & MS_RDONLY) { in gfs2_remount_fs() 1249 if (*flags & MS_RDONLY) in gfs2_remount_fs() 1522 if (inode->i_nlink || (sb->s_flags & MS_RDONLY)) in gfs2_evict_inode()
|
D | recovery.c | 525 if (sdp->sd_vfs->s_flags & MS_RDONLY) { in gfs2_recover_func()
|
D | glops.c | 552 if (!remote || (sdp->sd_vfs->s_flags & MS_RDONLY)) in iopen_go_callback()
|
D | sys.c | 658 sprintf(ro, "RDONLY=%d", (sb->s_flags & MS_RDONLY) ? 1 : 0); in gfs2_sys_fs_add()
|
D | quota.c | 455 if (sdp->sd_vfs->s_flags & MS_RDONLY) in qd_fish()
|
/linux-4.4.14/fs/qnx4/ |
D | inode.c | 50 *flags |= MS_RDONLY; in qnx4_remount() 202 s->s_flags |= MS_RDONLY; /* Yup, read-only yet */ in qnx4_fill_super()
|
/linux-4.4.14/fs/sysv/ |
D | inode.c | 65 *flags |= MS_RDONLY; in sysv_remount() 73 if (!(sb->s_flags & MS_RDONLY)) { in sysv_put_super()
|
D | balloc.c | 234 if (!(sb->s_flags & MS_RDONLY)) { in sysv_count_free_blocks()
|
D | ialloc.c | 223 if (!(sb->s_flags & MS_RDONLY)) { in sysv_count_free_inodes()
|
D | super.c | 219 if (!(sb->s_flags & MS_RDONLY)) { in detect_sysv() 336 sb->s_flags |= MS_RDONLY; in complete_read_super()
|
/linux-4.4.14/fs/squashfs/ |
D | super.c | 199 sb->s_flags |= MS_RDONLY; in squashfs_fill_super() 377 *flags |= MS_RDONLY; in squashfs_remount()
|
/linux-4.4.14/fs/overlayfs/ |
D | super.c | 641 if (!(*flags & MS_RDONLY) && (!ufs->upper_mnt || !ufs->workdir)) in ovl_remount() 962 if (upperpath.mnt->mnt_sb->s_flags & MS_RDONLY) { in ovl_fill_super() 1034 sb->s_flags |= MS_RDONLY; in ovl_fill_super() 1063 sb->s_flags |= MS_RDONLY; in ovl_fill_super()
|
/linux-4.4.14/fs/befs/ |
D | linuxvfs.c | 779 if (!(sb->s_flags & MS_RDONLY)) { in befs_fill_super() 782 sb->s_flags |= MS_RDONLY; in befs_fill_super() 881 if (!(*flags & MS_RDONLY)) in befs_remount()
|
D | ChangeLog | 368 By setting the MS_RDONLY flag in befs_read_super().
|
/linux-4.4.14/arch/sh/kernel/ |
D | setup.c | 265 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux-4.4.14/fs/romfs/ |
D | super.c | 437 *flags |= MS_RDONLY; in romfs_remount() 488 sb->s_flags |= MS_RDONLY | MS_NOATIME; in romfs_fill_super()
|
/linux-4.4.14/fs/cramfs/ |
D | inode.c | 252 *flags |= MS_RDONLY; in cramfs_remount() 264 sb->s_flags |= MS_RDONLY; in cramfs_fill_super()
|
/linux-4.4.14/arch/arm/kernel/ |
D | atags_parse.c | 58 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | setup_32.c | 358 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
D | setup_64.c | 613 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux-4.4.14/fs/cachefiles/ |
D | bind.c | 136 if (root->d_sb->s_flags & MS_RDONLY) in cachefiles_daemon_add_cache()
|
/linux-4.4.14/fs/ecryptfs/ |
D | main.c | 572 if (path.dentry->d_sb->s_flags & MS_RDONLY || in ecryptfs_mount() 574 s->s_flags |= MS_RDONLY; in ecryptfs_mount()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | setup.c | 241 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 213 if (sb->s_flags & MS_RDONLY) in client_common_fill_super() 1874 if ((*flags & MS_RDONLY) != (sb->s_flags & MS_RDONLY)) { in ll_remount_fs() 1875 read_only = *flags & MS_RDONLY; in ll_remount_fs() 1888 sb->s_flags |= MS_RDONLY; in ll_remount_fs() 1890 sb->s_flags &= ~MS_RDONLY; in ll_remount_fs()
|
/linux-4.4.14/fs/qnx6/ |
D | inode.c | 59 *flags |= MS_RDONLY; in qnx6_remount() 430 s->s_flags |= MS_RDONLY; /* Yup, read-only yet */ in qnx6_fill_super()
|
/linux-4.4.14/fs/f2fs/ |
D | super.c | 781 if (f2fs_readonly(sb) && (*flags & MS_RDONLY)) in f2fs_remount() 797 if ((*flags & MS_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount() 814 if ((*flags & MS_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
|
D | f2fs.h | 1578 return sb->s_flags & MS_RDONLY; in f2fs_readonly() 1589 sbi->sb->s_flags |= MS_RDONLY; in f2fs_stop_checkpoint()
|
/linux-4.4.14/fs/ubifs/ |
D | super.c | 1153 c->ro_mount = !!(c->vfs_sb->s_flags & MS_RDONLY); in mount_ubifs() 1845 if (c->ro_mount && !(*flags & MS_RDONLY)) { in ubifs_remount_fs() 1857 } else if (!c->ro_mount && (*flags & MS_RDONLY)) { in ubifs_remount_fs() 2135 if (!!(flags & MS_RDONLY) != c1->ro_mount) { in ubifs_mount()
|
D | io.c | 87 c->vfs_sb->s_flags |= MS_RDONLY; in ubifs_ro_mode()
|
/linux-4.4.14/arch/avr32/kernel/ |
D | setup.c | 309 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
|
/linux-4.4.14/arch/arc/kernel/ |
D | setup.c | 425 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux-4.4.14/fs/isofs/ |
D | inode.c | 117 if (!(*flags & MS_RDONLY)) in isofs_remount() 1507 if (!(flags & MS_RDONLY)) in isofs_mount()
|
/linux-4.4.14/fs/nfs/ |
D | internal.h | 11 #define NFS_MS_MASK (MS_RDONLY|MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_SYNCHRONOUS)
|
D | super.c | 820 seq_puts(m, root->d_sb->s_flags & MS_RDONLY ? "ro" : "rw"); in nfs_show_stats()
|
/linux-4.4.14/fs/logfs/ |
D | super.c | 546 err = logfs_read_sb(sb, sb->s_flags & MS_RDONLY); in logfs_get_sb_device()
|
/linux-4.4.14/arch/x86/kernel/ |
D | setup.c | 943 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux-4.4.14/fs/cifs/ |
D | cifsglob.h | 524 #define CIFS_MS_MASK (MS_RDONLY | MS_MANDLOCK | MS_NOEXEC | MS_NOSUID | \
|
/linux-4.4.14/fs/quota/ |
D | quota.c | 694 if (sb->s_flags & MS_RDONLY) in do_quotactl()
|
/linux-4.4.14/include/linux/ |
D | fs.h | 1765 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY) 1771 #define IS_NOATIME(inode) __IS_FLG(inode, MS_RDONLY|MS_NOATIME)
|