Home
last modified time | relevance | path

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

1234

/openbmc/linux/fs/xfs/
H A 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()
/openbmc/linux/fs/
H A 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()
H A Dsuper.c1113 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super()
1114 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
1126 remount_ro = !sb_rdonly(sb); in reconfigure_super()
1186 if (born && sb->s_root && sb->s_bdev && !sb_rdonly(sb)) { in do_emergency_remount_callback()
1995 if (sb_rdonly(sb)) { in freeze_super()
2085 if (sb_rdonly(sb)) { in thaw_super_locked()
/openbmc/linux/fs/jfs/
H A 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()
/openbmc/linux/fs/hpfs/
H A 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()
H A Dalloc.c542 if (sb_rdonly(s)) { in hpfs_trim_fs()
563 if (sb_rdonly(s)) { in hpfs_trim_fs()
/openbmc/linux/fs/nilfs2/
H A 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()
/openbmc/linux/fs/ufs/
H A 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 …]
/openbmc/linux/fs/btrfs/
H A Dmessages.c135 if (errno == -EROFS && sb_rdonly(sb)) in __btrfs_handle_fs_error()
168 if (sb_rdonly(sb)) in __btrfs_handle_fs_error()
/openbmc/linux/fs/hfsplus/
H A 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()
/openbmc/linux/fs/hfs/
H A 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()
H A Dsuper.c74 if (sb_rdonly(sb)) in hfs_mark_mdb_dirty()
117 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_remount()
/openbmc/linux/fs/ext4/
H A Dsuper.c1334 if (!sb_rdonly(sb)) in ext4_put_super()
3325 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3333 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3347 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3355 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3369 if (!sb_rdonly(sb)) in ext4_check_descriptors()
4022 if (sb_rdonly(sb) || in ext4_register_li_request()
6114 if (!sb_rdonly(sb)) in ext4_update_super()
7139 if (sb_rdonly(sb)) in ext4_quota_off()
7287 if (sb_rdonly(sb)) in ext2_feature_set_ok()
[all …]
H A Dfsync.c142 if (sb_rdonly(inode->i_sb)) { in ext4_sync_file()
/openbmc/linux/fs/ntfs/
H A 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()
2117 if (!sb_rdonly(sb)) { in load_system_files()
2160 if (!sb_rdonly(sb)) { in load_system_files()
2178 if (!sb_rdonly(sb) && !ntfs_stamp_usnjrnl(vol)) { in load_system_files()
[all …]
/openbmc/linux/fs/udf/
H A Dsuper.c641 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb)) in udf_remount_fs()
792 if (!sb_rdonly(sb)) { in udf_verify_domain_identifier()
801 if (!sb_rdonly(sb)) in udf_verify_domain_identifier()
992 if (sb_rdonly(sb)) in udf_load_metadata_files()
1071 if (!sb_rdonly(sb)) in check_partition_desc()
1332 if (!sb_rdonly(sb)) { in udf_load_partdesc()
1545 if (sb_rdonly(sb)) { in udf_load_logicalvol()
2212 if (!sb_rdonly(sb)) { in udf_fill_super()
2235 if (!sb_rdonly(sb)) { in udf_fill_super()
2256 if (!sb_rdonly(sb)) { in udf_fill_super()
[all …]
/openbmc/linux/fs/ext2/
H A 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()
/openbmc/linux/fs/affs/
H A 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()
/openbmc/linux/fs/reiserfs/
H A 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()
/openbmc/linux/fs/minix/
H A 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()
/openbmc/linux/fs/jffs2/
H A 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()
/openbmc/linux/fs/exfat/
H A Dmisc.c43 } else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) { in __exfat_fs_error()
/openbmc/linux/fs/sysv/
H A Dballoc.c235 if (!sb_rdonly(sb)) { in sysv_count_free_blocks()
H A Dialloc.c224 if (!sb_rdonly(sb)) { in sysv_count_free_inodes()
/openbmc/linux/fs/efs/
H A Dsuper.c307 if (!sb_rdonly(s)) { in efs_fill_super()

1234