Home
last modified time | relevance | path

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

1234

/linux-6.6.21/fs/xfs/
Dxfs_quotaops.c115 if (sb_rdonly(sb)) in xfs_fs_set_info()
163 if (sb_rdonly(sb)) in xfs_quota_enable()
178 if (sb_rdonly(sb)) in xfs_quota_disable()
194 if (sb_rdonly(sb)) in xfs_fs_rm_xquota()
262 if (sb_rdonly(sb)) in xfs_fs_set_dqblk()
/linux-6.6.21/fs/jfs/
Dsuper.c66 if (sb_rdonly(sb)) in jfs_handle_error()
437 if (sb_rdonly(sb)) { in jfs_remount()
446 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in jfs_remount()
462 if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in jfs_remount()
471 if (!sb_rdonly(sb)) { in jfs_remount()
562 if (sb_rdonly(sb)) in jfs_fill_super()
622 if (!sb_rdonly(sb)) { in jfs_freeze()
652 if (!sb_rdonly(sb)) { in jfs_unfreeze()
/linux-6.6.21/fs/
Dsync.c43 if (sb_rdonly(sb)) in sync_filesystem()
76 if (!sb_rdonly(sb)) in sync_inodes_one_sb()
82 if (!sb_rdonly(sb) && !(sb->s_iflags & SB_I_SKIP_SYNC) && in sync_fs_one_sb()
Dsuper.c1102 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super()
1103 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
1115 remount_ro = !sb_rdonly(sb); in reconfigure_super()
1175 if (born && sb->s_root && sb->s_bdev && !sb_rdonly(sb)) { in do_emergency_remount_callback()
1981 if (sb_rdonly(sb)) { in freeze_super()
2071 if (sb_rdonly(sb)) { in thaw_super_locked()
/linux-6.6.21/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-6.6.21/fs/nilfs2/
Dsuper.c137 if (!sb_rdonly(sb)) { in __nilfs_error()
501 if (!sb_rdonly(sb)) { in nilfs_put_super()
602 if (sb_rdonly(sb)) in nilfs_freeze()
616 if (sb_rdonly(sb)) in nilfs_unfreeze()
919 if (!sb_rdonly(sb) && features) { in nilfs_check_feature_compatibility()
1104 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1116 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1166 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_remount()
1338 sb_rdonly(s) ? "read-only" : "read/write"); in nilfs_mount()
/linux-6.6.21/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()
915 if (!sb_rdonly(sb)) { in ufs_fill_super()
931 if (!sb_rdonly(sb)) { in ufs_fill_super()
947 if (!sb_rdonly(sb)) { in ufs_fill_super()
963 if (!sb_rdonly(sb)) { in ufs_fill_super()
978 if (!sb_rdonly(sb)) { in ufs_fill_super()
[all …]
/linux-6.6.21/fs/btrfs/
Dmessages.c135 if (errno == -EROFS && sb_rdonly(sb)) in __btrfs_handle_fs_error()
168 if (sb_rdonly(sb)) in __btrfs_handle_fs_error()
/linux-6.6.21/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-6.6.21/fs/ext4/
Dsuper.c462 if (sb_rdonly(sb) || !(sb->s_flags & SB_ACTIVE) || in ext4_maybe_update_superblock()
712 if (!continue_fs && !sb_rdonly(sb)) { in ext4_handle_error()
742 if (sb_rdonly(sb) || continue_fs) in ext4_handle_error()
769 if (!sb_rdonly(sbi->s_sb) && journal) { in update_super_work()
969 if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) in __ext4_std_error()
1329 if (!sb_rdonly(sb) && !aborted) { in ext4_put_super()
1334 if (!sb_rdonly(sb)) in ext4_put_super()
3080 seq_puts(seq, sb_rdonly(sb) ? "ro" : "rw"); in ext4_seq_options_show()
3325 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3333 if (!sb_rdonly(sb)) in ext4_check_descriptors()
[all …]
Dfsync.c142 if (sb_rdonly(inode->i_sb)) { in ext4_sync_file()
/linux-6.6.21/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-6.6.21/fs/ntfs/
Dsuper.c484 if (sb_rdonly(sb) && !(*flags & SB_RDONLY)) { in ntfs_remount()
545 } else if (!sb_rdonly(sb) && (*flags & SB_RDONLY)) { in ntfs_remount()
729 if (!sb_rdonly(sb)) { in read_ntfs_boot_sector()
1786 if (!sb_rdonly(sb)) { in load_system_files()
1925 if (!sb_rdonly(sb)) { in load_system_files()
1958 if (!sb_rdonly(sb)) { in load_system_files()
2007 if (!sb_rdonly(sb)) { in load_system_files()
2025 if (!sb_rdonly(sb) && ntfs_set_volume_flags(vol, VOLUME_IS_DIRTY)) { in load_system_files()
2071 if (!sb_rdonly(sb) && !ntfs_empty_logfile(vol->logfile_ino)) { in load_system_files()
2117 if (!sb_rdonly(sb)) { in load_system_files()
[all …]
/linux-6.6.21/fs/udf/
Dsuper.c640 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in udf_remount_fs()
791 if (!sb_rdonly(sb)) { in udf_verify_domain_identifier()
800 if (!sb_rdonly(sb)) in udf_verify_domain_identifier()
991 if (sb_rdonly(sb)) in udf_load_metadata_files()
1070 if (!sb_rdonly(sb)) in check_partition_desc()
1316 if (!sb_rdonly(sb)) { in udf_load_partdesc()
1529 if (sb_rdonly(sb)) { in udf_load_logicalvol()
2196 if (!sb_rdonly(sb)) { in udf_fill_super()
2219 if (!sb_rdonly(sb)) { in udf_fill_super()
2240 if (!sb_rdonly(sb)) { in udf_fill_super()
[all …]
/linux-6.6.21/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()
940 if (!sb_rdonly(sb) && (features = EXT2_HAS_RO_COMPAT_FEATURE(sb, ~EXT2_FEATURE_RO_COMPAT_SUPP))){ in ext2_fill_super()
1193 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-6.6.21/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-6.6.21/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()
1516 if (sb_rdonly(s)) in reiserfs_remount()
1542 if (!sb_rdonly(s)) { in reiserfs_remount()
1845 !sb_rdonly(s) && in what_hash()
2045 if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { in reiserfs_fill_super()
2102 if (!sb_rdonly(s)) { in reiserfs_fill_super()
/linux-6.6.21/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-6.6.21/fs/jffs2/
Dfs.c400 if (c->flags & JFFS2_SB_FLAG_RO && !sb_rdonly(sb)) in jffs2_do_remount_fs()
407 if (!sb_rdonly(sb)) { in jffs2_do_remount_fs()
598 if (!sb_rdonly(sb)) in jffs2_do_fill_super()
/linux-6.6.21/fs/exfat/
Dmisc.c43 } else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) { in __exfat_fs_error()
/linux-6.6.21/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-6.6.21/fs/ocfs2/
Dsuper.c644 if ((bool)(*flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_remount()
1031 if (!sb_rdonly(sb)) { in ocfs2_fill_super()
1064 if (sb_rdonly(sb)) in ocfs2_fill_super()
1138 if (!sb_rdonly(sb)) { in ocfs2_fill_super()
2144 …if (!sb_rdonly(osb->sb) && (i = OCFS2_HAS_RO_COMPAT_FEATURE(osb->sb, ~OCFS2_FEATURE_RO_COMPAT_SUPP… in ocfs2_initialize_super()
2538 if (sb_rdonly(sb) && (ocfs2_is_soft_readonly(osb) || ocfs2_is_hard_readonly(osb))) in ocfs2_handle_error()

1234