Home
last modified time | relevance | path

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

1234

/Linux-v5.10/fs/xfs/
Dxfs_quotaops.c115 if (sb_rdonly(sb)) in xfs_fs_set_info()
165 if (sb_rdonly(sb)) in xfs_quota_enable()
180 if (sb_rdonly(sb)) in xfs_quota_disable()
198 if (sb_rdonly(sb)) in xfs_fs_rm_xquota()
270 if (sb_rdonly(sb)) in xfs_fs_set_dqblk()
/Linux-v5.10/fs/jfs/
Dsuper.c66 if (sb_rdonly(sb)) in jfs_handle_error()
442 if (sb_rdonly(sb)) { in jfs_remount()
451 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in jfs_remount()
467 if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in jfs_remount()
476 if (!sb_rdonly(sb)) { in jfs_remount()
568 if (sb_rdonly(sb)) in jfs_fill_super()
628 if (!sb_rdonly(sb)) { in jfs_freeze()
658 if (!sb_rdonly(sb)) { in jfs_unfreeze()
/Linux-v5.10/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_iflags & SB_I_SKIP_SYNC) && in sync_fs_one_sb()
Dsuper.c925 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
937 remount_ro = !sb_rdonly(sb); in reconfigure_super()
994 !sb_rdonly(sb)) { in do_emergency_remount_callback()
1727 if (sb_rdonly(sb)) { in freeze_super()
1789 if (sb_rdonly(sb)) { in thaw_super_locked()
/Linux-v5.10/fs/hpfs/
Dsuper.c25 if (hpfs_sb(s)->sb_chkdsk && (remount || !sb_rdonly(s))) { in mark_dirty()
45 if (sb_rdonly(s)) return; in unmark_dirty()
77 if (sb_rdonly(s)) in hpfs_error()
84 } else if (sb_rdonly(s)) in hpfs_error()
603 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super()
663 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-v5.10/fs/nilfs2/
Dsuper.c136 if (!sb_rdonly(sb)) { in __nilfs_error()
469 if (!sb_rdonly(sb)) { in nilfs_put_super()
569 if (sb_rdonly(sb)) in nilfs_freeze()
583 if (sb_rdonly(sb)) in nilfs_unfreeze()
886 if (!sb_rdonly(sb) && features) { in nilfs_check_feature_compatibility()
1071 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1083 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1132 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount()
1326 sb_rdonly(s) ? "read-only" : "read/write"); in nilfs_mount()
/Linux-v5.10/fs/ufs/
Dsuper.c283 if (!sb_rdonly(sb)) { in ufs_error()
317 if (!sb_rdonly(sb)) { in ufs_panic()
749 if (!sb_rdonly(sb)) in ufs_put_super()
800 if (!sb_rdonly(sb)) { in ufs_fill_super()
812 UFSD("flag %u\n", (int)(sb_rdonly(sb))); in ufs_fill_super()
916 if (!sb_rdonly(sb)) { in ufs_fill_super()
932 if (!sb_rdonly(sb)) { in ufs_fill_super()
948 if (!sb_rdonly(sb)) { in ufs_fill_super()
964 if (!sb_rdonly(sb)) { in ufs_fill_super()
979 if (!sb_rdonly(sb)) { in ufs_fill_super()
[all …]
/Linux-v5.10/fs/hfsplus/
Dsuper.c268 if (sb_rdonly(sb)) in hfsplus_mark_mdb_dirty()
288 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-v5.10/fs/hfs/
Dmdb.c219 if (!sb_rdonly(sb)) { in hfs_mdb_get()
268 if (sb_rdonly(sb)) in hfs_mdb_commit()
343 if (sb_rdonly(sb)) in hfs_mdb_close()
Dsuper.c74 if (sb_rdonly(sb)) in hfs_mark_mdb_dirty()
117 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_remount()
/Linux-v5.10/fs/ext4/
Dsuper.c672 if (sb_rdonly(sb)) in ext4_handle_error()
855 if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) in __ext4_std_error()
895 if (sb_rdonly(sb) == 0) { in __ext4_abort()
1208 if (!sb_rdonly(sb) && !aborted) { in ext4_put_super()
1212 if (!sb_rdonly(sb)) in ext4_put_super()
2655 seq_puts(seq, sb_rdonly(sb) ? "ro" : "rw"); in ext4_seq_options_show()
2901 if (!sb_rdonly(sb)) in ext4_check_descriptors()
2909 if (!sb_rdonly(sb)) in ext4_check_descriptors()
2923 if (!sb_rdonly(sb)) in ext4_check_descriptors()
2931 if (!sb_rdonly(sb)) in ext4_check_descriptors()
[all …]
Dfsync.c143 if (sb_rdonly(inode->i_sb)) { in ext4_sync_file()
/Linux-v5.10/fs/ntfs/
Dsuper.c476 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in ntfs_remount()
537 } else if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in ntfs_remount()
721 if (!sb_rdonly(sb)) { in read_ntfs_boot_sector()
1778 if (!sb_rdonly(sb)) { in load_system_files()
1917 if (!sb_rdonly(sb)) { in load_system_files()
1950 if (!sb_rdonly(sb)) { in load_system_files()
1999 if (!sb_rdonly(sb)) { in load_system_files()
2017 if (!sb_rdonly(sb) && ntfs_set_volume_flags(vol, VOLUME_IS_DIRTY)) { in load_system_files()
2063 if (!sb_rdonly(sb) && !ntfs_empty_logfile(vol->logfile_ino)) { in load_system_files()
2108 if (!sb_rdonly(sb)) { in load_system_files()
[all …]
/Linux-v5.10/fs/udf/
Dsuper.c634 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in udf_remount_fs()
784 if (!sb_rdonly(sb)) { in udf_verify_domain_identifier()
793 if (!sb_rdonly(sb)) in udf_verify_domain_identifier()
984 if (sb_rdonly(sb)) in udf_load_metadata_files()
1063 if (!sb_rdonly(sb)) in check_partition_desc()
1307 if (!sb_rdonly(sb)) { in udf_load_partdesc()
1520 if (sb_rdonly(sb)) { in udf_load_logicalvol()
2235 if (!sb_rdonly(sb)) { in udf_fill_super()
2258 if (!sb_rdonly(sb)) { in udf_fill_super()
2279 if (!sb_rdonly(sb)) { in udf_fill_super()
[all …]
/Linux-v5.10/fs/ext2/
Dsuper.c57 if (!sb_rdonly(sb)) { in ext2_error()
77 if (!sb_rdonly(sb) && test_opt(sb, ERRORS_RO)) { in ext2_error()
155 if (!sb_rdonly(sb)) { in ext2_put_super()
942 if (!sb_rdonly(sb) && (features = EXT2_HAS_RO_COMPAT_FEATURE(sb, ~EXT2_FEATURE_RO_COMPAT_SUPP))){ in ext2_fill_super()
1179 if (ext2_setup_super (sb, es, sb_rdonly(sb))) in ext2_fill_super()
1310 if (!sb_rdonly(sb)) in ext2_write_super()
1339 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in ext2_remount()
/Linux-v5.10/fs/affs/
Dsuper.c85 if (sb_rdonly(sb)) in affs_mark_sb_dirty()
468 || chksum == MUFS_DCOFS) && !sb_rdonly(sb)) { in affs_fill_super()
595 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in affs_remount()
/Linux-v5.10/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()
698 if (sb_rdonly(inode->i_sb)) { in reiserfs_dirty_inode()
1523 if (sb_rdonly(s)) in reiserfs_remount()
1549 if (!sb_rdonly(s)) { in reiserfs_remount()
1853 !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-v5.10/fs/minix/
Dinode.c46 if (!sb_rdonly(sb)) { in minix_put_super()
123 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in minix_remount()
313 if (!sb_rdonly(s)) { in minix_fill_super()
/Linux-v5.10/fs/jffs2/
Dfs.c399 if (c->flags & JFFS2_SB_FLAG_RO && !sb_rdonly(sb)) in jffs2_do_remount_fs()
406 if (!sb_rdonly(sb)) { in jffs2_do_remount_fs()
597 if (!sb_rdonly(sb)) in jffs2_do_fill_super()
/Linux-v5.10/fs/exfat/
Dmisc.c42 } else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) { in __exfat_fs_error()
/Linux-v5.10/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-v5.10/fs/cachefiles/
Dbind.c132 if (sb_rdonly(root->d_sb)) in cachefiles_daemon_add_cache()
/Linux-v5.10/fs/ocfs2/
Dsuper.c656 if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_remount()
1045 if (!sb_rdonly(sb)) { in ocfs2_fill_super()
1080 if (sb_rdonly(sb)) in ocfs2_fill_super()
1163 if (!sb_rdonly(sb)) { in ocfs2_fill_super()
2166 …if (!sb_rdonly(osb->sb) && (i = OCFS2_HAS_RO_COMPAT_FEATURE(osb->sb, ~OCFS2_FEATURE_RO_COMPAT_SUPP… in ocfs2_initialize_super()
2550 if (sb_rdonly(sb) && (ocfs2_is_soft_readonly(osb) || ocfs2_is_hard_readonly(osb))) in ocfs2_handle_error()

1234