Home
last modified time | relevance | path

Searched refs:sb_rdonly (Results 1 – 25 of 74) sorted by relevance

123

/Linux-v4.19/fs/xfs/
Dxfs_quotaops.c116 if (sb_rdonly(sb)) in xfs_fs_set_info()
166 if (sb_rdonly(sb)) in xfs_quota_enable()
181 if (sb_rdonly(sb)) in xfs_quota_disable()
199 if (sb_rdonly(sb)) in xfs_fs_rm_xquota()
268 if (sb_rdonly(sb)) in xfs_fs_set_dqblk()
/Linux-v4.19/fs/
Dsync.c61 if (sb_rdonly(sb)) in sync_filesystem()
73 if (!sb_rdonly(sb)) in sync_inodes_one_sb()
79 if (!sb_rdonly(sb) && sb->s_op->sync_fs) in sync_fs_one_sb()
Dsuper.c858 remount_ro = (sb_flags & SB_RDONLY) && !sb_rdonly(sb); in do_remount_sb()
869 remount_ro = (sb_flags & SB_RDONLY) && !sb_rdonly(sb); in do_remount_sb()
923 !sb_rdonly(sb)) { in do_emergency_remount_callback()
1489 if (sb_rdonly(sb)) { in freeze_super()
1551 if (sb_rdonly(sb)) { in thaw_super_locked()
/Linux-v4.19/fs/jfs/
Dsuper.c79 if (sb_rdonly(sb)) in jfs_handle_error()
471 if (sb_rdonly(sb)) { in jfs_remount()
480 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in jfs_remount()
496 if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in jfs_remount()
505 if (!sb_rdonly(sb)) { in jfs_remount()
595 if (sb_rdonly(sb)) in jfs_fill_super()
655 if (!sb_rdonly(sb)) { in jfs_freeze()
685 if (!sb_rdonly(sb)) { in jfs_unfreeze()
/Linux-v4.19/fs/hpfs/
Dsuper.c24 if (hpfs_sb(s)->sb_chkdsk && (remount || !sb_rdonly(s))) { in mark_dirty()
44 if (sb_rdonly(s)) return; in unmark_dirty()
76 if (sb_rdonly(s)) in hpfs_error()
83 } else if (sb_rdonly(s)) in hpfs_error()
609 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super()
667 if (!sb_rdonly(s)) { in hpfs_fill_super()
Dalloc.c542 if (sb_rdonly(s)) { in hpfs_trim_fs()
563 if (sb_rdonly(s)) { in hpfs_trim_fs()
/Linux-v4.19/fs/nilfs2/
Dsuper.c130 if (!sb_rdonly(sb)) { in __nilfs_error()
471 if (!sb_rdonly(sb)) { in nilfs_put_super()
571 if (sb_rdonly(sb)) in nilfs_freeze()
585 if (sb_rdonly(sb)) in nilfs_unfreeze()
891 if (!sb_rdonly(sb) && features) { in nilfs_check_feature_compatibility()
1076 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1088 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1137 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount()
1331 sb_rdonly(s) ? "read-only" : "read/write"); in nilfs_mount()
/Linux-v4.19/fs/ufs/
Dsuper.c282 if (!sb_rdonly(sb)) { in ufs_error()
316 if (!sb_rdonly(sb)) { in ufs_panic()
748 if (!sb_rdonly(sb)) in ufs_put_super()
799 if (!sb_rdonly(sb)) { in ufs_fill_super()
811 UFSD("flag %u\n", (int)(sb_rdonly(sb))); in ufs_fill_super()
908 if (!sb_rdonly(sb)) { in ufs_fill_super()
924 if (!sb_rdonly(sb)) { in ufs_fill_super()
940 if (!sb_rdonly(sb)) { in ufs_fill_super()
956 if (!sb_rdonly(sb)) { in ufs_fill_super()
971 if (!sb_rdonly(sb)) { in ufs_fill_super()
[all …]
/Linux-v4.19/fs/hfsplus/
Dsuper.c267 if (sb_rdonly(sb)) in hfsplus_mark_mdb_dirty()
287 if (!sb_rdonly(sb) && sbi->s_vhdr) { in hfsplus_put_super()
332 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfsplus_remount()
465 !sb_rdonly(sb)) { in hfsplus_fill_super()
540 if (!sb_rdonly(sb)) { in hfsplus_fill_super()
/Linux-v4.19/fs/ext4/
Dsuper.c430 if (sb_rdonly(sb)) in ext4_handle_error()
615 if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) in __ext4_std_error()
655 if (sb_rdonly(sb) == 0) { in __ext4_abort()
950 if (!sb_rdonly(sb) && !aborted) { in ext4_put_super()
954 if (!sb_rdonly(sb)) in ext4_put_super()
2165 seq_puts(seq, sb_rdonly(sb) ? "ro" : "rw"); in ext4_seq_options_show()
2396 if (!sb_rdonly(sb)) in ext4_check_descriptors()
2404 if (!sb_rdonly(sb)) in ext4_check_descriptors()
2418 if (!sb_rdonly(sb)) in ext4_check_descriptors()
2426 if (!sb_rdonly(sb)) in ext4_check_descriptors()
[all …]
Dfsync.c111 if (sb_rdonly(inode->i_sb)) { in ext4_sync_file()
Dext4_jbd2.c51 if (sb_rdonly(sb)) in ext4_journal_check_start()
/Linux-v4.19/fs/hfs/
Dmdb.c213 if (!sb_rdonly(sb)) { in hfs_mdb_get()
262 if (sb_rdonly(sb)) in hfs_mdb_commit()
337 if (sb_rdonly(sb)) in hfs_mdb_close()
Dsuper.c74 if (sb_rdonly(sb)) in hfs_mark_mdb_dirty()
118 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_remount()
/Linux-v4.19/fs/ntfs/
Dsuper.c490 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in ntfs_remount()
551 } else if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in ntfs_remount()
735 if (!sb_rdonly(sb)) { in read_ntfs_boot_sector()
1792 if (!sb_rdonly(sb)) { in load_system_files()
1931 if (!sb_rdonly(sb)) { in load_system_files()
1964 if (!sb_rdonly(sb)) { in load_system_files()
2013 if (!sb_rdonly(sb)) { in load_system_files()
2031 if (!sb_rdonly(sb) && ntfs_set_volume_flags(vol, VOLUME_IS_DIRTY)) { in load_system_files()
2077 if (!sb_rdonly(sb) && !ntfs_empty_logfile(vol->logfile_ino)) { in load_system_files()
2122 if (!sb_rdonly(sb)) { in load_system_files()
[all …]
/Linux-v4.19/fs/affs/
Dsuper.c84 if (sb_rdonly(sb)) in affs_mark_sb_dirty()
469 || chksum == MUFS_DCOFS) && !sb_rdonly(sb)) { in affs_fill_super()
601 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in affs_remount()
/Linux-v4.19/fs/reiserfs/
Dsuper.c124 if (sb_rdonly(s) || !(s->s_flags & SB_ACTIVE)) in reiserfs_schedule_old_flush()
154 if (!sb_rdonly(s)) { in reiserfs_freeze()
602 if (!sb_rdonly(s)) { in reiserfs_put_super()
703 if (sb_rdonly(inode->i_sb)) { in reiserfs_dirty_inode()
1528 if (sb_rdonly(s)) in reiserfs_remount()
1554 if (!sb_rdonly(s)) { in reiserfs_remount()
1858 !sb_rdonly(s) && in what_hash()
2055 if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { in reiserfs_fill_super()
2104 if (!sb_rdonly(s)) { in reiserfs_fill_super()
/Linux-v4.19/fs/ext2/
Dsuper.c56 if (!sb_rdonly(sb)) { in ext2_error()
155 if (!sb_rdonly(sb)) { in ext2_put_super()
958 if (!sb_rdonly(sb) && (features = EXT2_HAS_RO_COMPAT_FEATURE(sb, ~EXT2_FEATURE_RO_COMPAT_SUPP))){ in ext2_fill_super()
1191 if (ext2_setup_super (sb, es, sb_rdonly(sb))) in ext2_fill_super()
1323 if (!sb_rdonly(sb)) in ext2_write_super()
1352 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_remount()
/Linux-v4.19/fs/jffs2/
Dfs.c397 if (c->flags & JFFS2_SB_FLAG_RO && !sb_rdonly(sb)) in jffs2_do_remount_fs()
404 if (!sb_rdonly(sb)) { in jffs2_do_remount_fs()
592 if (!sb_rdonly(sb)) in jffs2_do_fill_super()
/Linux-v4.19/fs/minix/
Dinode.c45 if (!sb_rdonly(sb)) { in minix_put_super()
128 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in minix_remount()
296 if (!sb_rdonly(s)) { in minix_fill_super()
/Linux-v4.19/fs/sysv/
Dballoc.c235 if (!sb_rdonly(sb)) { in sysv_count_free_blocks()
Dialloc.c224 if (!sb_rdonly(sb)) { in sysv_count_free_inodes()
/Linux-v4.19/fs/udf/
Dsuper.c645 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in udf_remount_fs()
932 if (sb_rdonly(sb)) in udf_load_metadata_files()
1256 if (!sb_rdonly(sb)) { in udf_load_partdesc()
2159 !sb_rdonly(sb)) { in udf_fill_super()
2180 !sb_rdonly(sb)) { in udf_fill_super()
2199 if (!sb_rdonly(sb)) { in udf_fill_super()
2282 if (!sb_rdonly(sb)) in udf_put_super()
/Linux-v4.19/fs/cachefiles/
Dbind.c136 if (sb_rdonly(root->d_sb)) in cachefiles_daemon_add_cache()
/Linux-v4.19/fs/fat/
Dmisc.c35 else if (opts->errors == FAT_ERRORS_RO && !sb_rdonly(sb)) { in __fat_fs_error()

123