/fs/affs/ |
D | super.c | 48 if (!(sb->s_flags & MS_RDONLY) && sb->s_dirt) in affs_put_super() 62 if (!(sb->s_flags & MS_RDONLY)) in affs_write_super() 301 sb->s_flags |= MS_NODIRATIME; in affs_fill_super() 321 sbi->s_flags = mount_flags; in affs_fill_super() 407 || chksum == MUFS_DCOFS) && !(sb->s_flags & MS_RDONLY)) { in affs_fill_super() 410 sb->s_flags |= MS_RDONLY; in affs_fill_super() 416 sbi->s_flags |= SF_MUFS; in affs_fill_super() 420 sbi->s_flags |= SF_INTL; in affs_fill_super() 423 sbi->s_flags |= SF_MUFS; in affs_fill_super() 428 sbi->s_flags |= SF_MUFS; in affs_fill_super() [all …]
|
D | inode.c | 74 if (sbi->s_flags & SF_SETMODE) in affs_iget() 80 if (id == 0 || sbi->s_flags & SF_SETUID) in affs_iget() 82 else if (id == 0xFFFF && sbi->s_flags & SF_MUFS) in affs_iget() 88 if (id == 0 || sbi->s_flags & SF_SETGID) in affs_iget() 90 else if (id == 0xFFFF && sbi->s_flags & SF_MUFS) in affs_iget() 102 sbi->s_flags & SF_SETMODE) { in affs_iget() 141 inode->i_mapping->a_ops = (sbi->s_flags & SF_OFS) ? &affs_aops_ofs : &affs_aops; in affs_iget() 198 if (AFFS_SB(sb)->s_flags & SF_MUFS) { in affs_write_inode() 204 if (!(AFFS_SB(sb)->s_flags & SF_SETUID)) in affs_write_inode() 206 if (!(AFFS_SB(sb)->s_flags & SF_SETGID)) in affs_write_inode() [all …]
|
/fs/ |
D | super.c | 310 if ((s->s_flags & MS_BORN) && atomic_inc_not_zero(&s->s_active)) { in grab_super() 343 if (sb->s_root && (sb->s_flags & MS_BORN)) in grab_super_passive() 389 sb->s_flags &= ~MS_ACTIVE; in generic_shutdown_super() 506 if (sb->s_root && sb->s_dirt && (sb->s_flags & MS_BORN)) in sync_supers() 541 if (sb->s_root && (sb->s_flags & MS_BORN)) in iterate_supers() 576 if (sb->s_root && (sb->s_flags & MS_BORN)) in iterate_supers_type() 617 if (sb->s_root && (sb->s_flags & MS_BORN)) in get_super() 699 if (sb->s_root && (sb->s_flags & MS_BORN)) in user_get_super() 739 remount_ro = (flags & MS_RDONLY) && !(sb->s_flags & MS_RDONLY); in do_remount_sb() 763 sb->s_flags = (sb->s_flags & ~MS_RMT_MASK) | (flags & MS_RMT_MASK); in do_remount_sb() [all …]
|
D | statfs.c | 33 static int flags_by_sb(int s_flags) in flags_by_sb() argument 36 if (s_flags & MS_SYNCHRONOUS) in flags_by_sb() 38 if (s_flags & MS_MANDLOCK) in flags_by_sb() 46 flags_by_sb(mnt->mnt_sb->s_flags); in calculate_f_flags()
|
/fs/udf/ |
D | udf_sb.h | 66 int s_flags; member 148 unsigned long s_flags; member 172 return test_bit(flag, &UDF_SB(sb)->s_flags); in UDF_QUERY_FLAG() 177 set_bit(flag, &UDF_SB(sb)->s_flags); in UDF_SET_FLAG() 182 clear_bit(flag, &UDF_SB(sb)->s_flags); in UDF_CLEAR_FLAG()
|
/fs/ufs/ |
D | super.c | 305 if (!(sb->s_flags & MS_RDONLY)) { in ufs_error() 309 sb->s_flags |= MS_RDONLY; in ufs_error() 337 if (!(sb->s_flags & MS_RDONLY)) { in ufs_panic() 345 sb->s_flags |= MS_RDONLY; in ufs_panic() 723 UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY)); in ufs_fill_super() 726 if (!(sb->s_flags & MS_RDONLY)) { in ufs_fill_super() 826 if (!(sb->s_flags & MS_RDONLY)) { in ufs_fill_super() 829 sb->s_flags |= MS_RDONLY; in ufs_fill_super() 842 if (!(sb->s_flags & MS_RDONLY)) { in ufs_fill_super() 845 sb->s_flags |= MS_RDONLY; in ufs_fill_super() [all …]
|
D | util.h | 40 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state() 59 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state() 82 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect() 93 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask() 117 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask() 139 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen() 148 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen() 157 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type() 193 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid() 208 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid() [all …]
|
D | ialloc.c | 116 if (sb->s_flags & MS_SYNCHRONOUS) in ufs_free_inode() 150 if (sb->s_flags & MS_SYNCHRONOUS) in ufs2_init_inodes_chunk() 157 if (sb->s_flags & MS_SYNCHRONOUS) in ufs2_init_inodes_chunk() 289 if (sb->s_flags & MS_SYNCHRONOUS) in ufs_new_inode() 331 if (sb->s_flags & MS_SYNCHRONOUS) in ufs_new_inode()
|
D | util.c | 187 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_inode_dev() 191 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_inode_dev() 213 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_inode_dev() 226 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_set_inode_dev()
|
/fs/nilfs2/ |
D | super.c | 126 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_error() 131 sb->s_flags |= MS_RDONLY; in nilfs_error() 483 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_put_super() 579 if (sb->s_flags & MS_RDONLY) in nilfs_freeze() 593 if (sb->s_flags & MS_RDONLY) in nilfs_unfreeze() 859 sb->s_flags |= MS_NOATIME; in nilfs_store_magic_and_option() 887 if (!(sb->s_flags & MS_RDONLY) && features) { in nilfs_check_feature_compatibility() 1081 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_fill_super() 1093 if (!(sb->s_flags & MS_RDONLY)) { in nilfs_fill_super() 1124 old_sb_flags = sb->s_flags; in nilfs_remount() [all …]
|
D | the_nilfs.c | 214 unsigned int s_flags = sb->s_flags; in load_nilfs() local 221 if (s_flags & MS_RDONLY) { in load_nilfs() 288 if (s_flags & MS_RDONLY) { in load_nilfs() 312 sb->s_flags &= ~MS_RDONLY; in load_nilfs() 338 sb->s_flags = s_flags; in load_nilfs() 352 sb->s_flags = s_flags; in load_nilfs()
|
/fs/hfsplus/ |
D | super.c | 231 if (!(sb->s_flags & MS_RDONLY)) in hfsplus_write_super() 246 if (!(sb->s_flags & MS_RDONLY) && sbi->s_vhdr) { in hfsplus_put_super() 289 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in hfsplus_remount() 303 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 311 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 318 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 423 sb->s_flags |= MS_RDONLY; in hfsplus_fill_super() 428 sb->s_flags |= MS_RDONLY; in hfsplus_fill_super() 430 !(sb->s_flags & MS_RDONLY)) { in hfsplus_fill_super() 435 sb->s_flags |= MS_RDONLY; in hfsplus_fill_super() [all …]
|
/fs/jfs/ |
D | super.c | 76 if (sb->s_flags & MS_RDONLY) in jfs_handle_error() 88 sb->s_flags |= MS_RDONLY; in jfs_handle_error() 376 if (sb->s_flags & MS_RDONLY) { in jfs_remount() 386 if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) { in jfs_remount() 397 sb->s_flags &= ~MS_RDONLY; in jfs_remount() 402 if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) { in jfs_remount() 412 if (!(sb->s_flags & MS_RDONLY)) { in jfs_remount() 434 jfs_info("In jfs_read_super: s_flags=0x%lx", sb->s_flags); in jfs_fill_super() 456 sb->s_flags |= MS_POSIXACL; in jfs_fill_super() 502 if (sb->s_flags & MS_RDONLY) in jfs_fill_super() [all …]
|
/fs/ext3/ |
D | super.c | 77 if (sb->s_flags & MS_RDONLY) in ext3_journal_start_sb() 175 if (sb->s_flags & MS_RDONLY) in ext3_handle_error() 188 sb->s_flags |= MS_RDONLY; in ext3_handle_error() 261 (sb->s_flags & MS_RDONLY)) in __ext3_std_error() 299 if (sb->s_flags & MS_RDONLY) in ext3_abort() 305 sb->s_flags |= MS_RDONLY; in ext3_abort() 430 if (!(sb->s_flags & MS_RDONLY)) { in ext3_put_super() 1454 unsigned int s_flags = sb->s_flags; in ext3_orphan_cleanup() local 1486 if (s_flags & MS_RDONLY) { in ext3_orphan_cleanup() 1488 sb->s_flags &= ~MS_RDONLY; in ext3_orphan_cleanup() [all …]
|
/fs/btrfs/ |
D | super.c | 116 if (sb->s_flags & MS_RDONLY) in btrfs_handle_error() 120 sb->s_flags |= MS_RDONLY; in btrfs_handle_error() 144 if (errno == -EROFS && (sb->s_flags & MS_RDONLY)) in __btrfs_std_error() 162 if (sb->s_flags & MS_BORN) { in __btrfs_std_error() 470 root->fs_info->sb->s_flags &= ~MS_POSIXACL; in btrfs_parse_options() 770 sb->s_flags |= MS_POSIXACL; in btrfs_fill_super() 796 sb->s_flags |= MS_ACTIVE; in btrfs_fill_super() 872 if (!(root->fs_info->sb->s_flags & MS_POSIXACL)) in btrfs_show_options() 1096 if ((flags ^ s->s_flags) & MS_RDONLY) in btrfs_mount() 1101 s->s_flags = flags | MS_NOSEC; in btrfs_mount() [all …]
|
/fs/ntfs/ |
D | super.c | 463 if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) { in ntfs_remount() 524 } else if (!(sb->s_flags & MS_RDONLY) && (*flags & MS_RDONLY)) { in ntfs_remount() 708 if (!(sb->s_flags & MS_RDONLY)) { in read_ntfs_boot_sector() 1764 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() 1774 sb->s_flags |= MS_RDONLY; in load_system_files() 1903 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() 1912 sb->s_flags |= MS_RDONLY; in load_system_files() 1936 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() 1949 sb->s_flags |= MS_RDONLY; in load_system_files() 1985 if (!(sb->s_flags & MS_RDONLY)) { in load_system_files() [all …]
|
/fs/jffs2/ |
D | super.c | 73 if (!(sb->s_flags & MS_RDONLY)) { in jffs2_write_super() 300 sb->s_flags = sb->s_flags | MS_NOATIME; in jffs2_fill_super() 303 sb->s_flags |= MS_POSIXACL; in jffs2_fill_super() 347 if (!(sb->s_flags & MS_RDONLY)) in jffs2_kill_sb()
|
/fs/hpfs/ |
D | super.c | 23 if (hpfs_sb(s)->sb_chkdsk && (remount || !(s->s_flags & MS_RDONLY))) { in mark_dirty() 43 if (s->s_flags & MS_RDONLY) return; in unmark_dirty() 72 if (s->s_flags & MS_RDONLY) printk("; already mounted read-only\n"); in hpfs_error() 76 s->s_flags |= MS_RDONLY; in hpfs_error() 78 …} else if (s->s_flags & MS_RDONLY) printk("; going on - but anything won't be destroyed because it… in hpfs_error() 519 if (!(s->s_flags & MS_RDONLY) && in hpfs_fill_super() 527 s->s_flags |= MS_NOATIME; in hpfs_fill_super() 575 if (!(s->s_flags & MS_RDONLY)) { in hpfs_fill_super()
|
/fs/ext2/ |
D | super.c | 54 if (!(sb->s_flags & MS_RDONLY)) { in ext2_error() 77 sb->s_flags |= MS_RDONLY; in ext2_error() 137 if (!(sb->s_flags & MS_RDONLY)) { in ext2_put_super() 852 sb->s_flags = (sb->s_flags & ~MS_POSIXACL) | in ext2_fill_super() 878 if (!(sb->s_flags & MS_RDONLY) && in ext2_fill_super() 1100 if (ext2_setup_super (sb, es, sb->s_flags & MS_RDONLY)) in ext2_fill_super() 1101 sb->s_flags |= MS_RDONLY; in ext2_fill_super() 1195 if (!(sb->s_flags & MS_RDONLY)) in ext2_write_super() 1213 old_sb_flags = sb->s_flags; in ext2_remount() 1226 sb->s_flags = (sb->s_flags & ~MS_POSIXACL) | in ext2_remount() [all …]
|
/fs/ext4/ |
D | super.c | 304 if (sb->s_flags & MS_RDONLY) in ext4_journal_start_sb() 472 if (sb->s_flags & MS_RDONLY) in ext4_handle_error() 484 sb->s_flags |= MS_RDONLY; in ext4_handle_error() 620 (sb->s_flags & MS_RDONLY)) in __ext4_std_error() 654 if ((sb->s_flags & MS_RDONLY) == 0) { in __ext4_abort() 656 sb->s_flags |= MS_RDONLY; in __ext4_abort() 856 if (!(sb->s_flags & MS_RDONLY)) { in ext4_put_super() 860 if (sb->s_dirt || !(sb->s_flags & MS_RDONLY)) in ext4_put_super() 1491 sb->s_flags |= MS_I_VERSION; in handle_mount_opt() 1767 if (sb->s_flags & MS_I_VERSION) in _ext4_show_options() [all …]
|
/fs/hfs/ |
D | super.c | 57 if (!(sb->s_flags & MS_RDONLY)) in hfs_write_super() 119 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in hfs_remount() 125 sb->s_flags |= MS_RDONLY; in hfs_remount() 129 sb->s_flags |= MS_RDONLY; in hfs_remount() 399 sb->s_flags |= MS_NODIRATIME; in hfs_fill_super()
|
/fs/sysfs/ |
D | mount.c | 38 .s_flags = SYSFS_DIR | (KOBJ_NS_TYPE_NONE << SYSFS_NS_TYPE_SHIFT), 126 sb->s_flags = flags; in sysfs_mount() 132 sb->s_flags |= MS_ACTIVE; in sysfs_mount()
|
D | sysfs.h | 80 unsigned short s_flags; member 105 return sd->s_flags & SYSFS_TYPE_MASK; in sysfs_type() 114 return (sd->s_flags & SYSFS_NS_TYPE_MASK) >> SYSFS_NS_TYPE_SHIFT; in sysfs_ns_type()
|
D | dir.c | 205 BUG_ON(!(sd->s_flags & SYSFS_FLAG_REMOVED)); in sysfs_deactivate() 282 return !!(sd->s_flags & SYSFS_FLAG_REMOVED); in sysfs_dentry_delete() 297 if (sd->s_flags & SYSFS_FLAG_REMOVED) in sysfs_dentry_revalidate() 374 sd->s_flags = type; in sysfs_new_dirent() 534 BUG_ON(sd->s_flags & SYSFS_FLAG_REMOVED); in sysfs_remove_one() 545 sd->s_flags |= SYSFS_FLAG_REMOVED; in sysfs_remove_one() 665 sd->s_flags |= (type << SYSFS_NS_TYPE_SHIFT); in create_dir() 944 int valid = !(pos->s_flags & SYSFS_FLAG_REMOVED) && in sysfs_dir_pos()
|
/fs/reiserfs/ |
D | super.c | 90 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_freeze() 176 if (s->s_flags & MS_ACTIVE) { in finish_unfinished() 180 s->s_flags |= MS_ACTIVE; in finish_unfinished() 323 s->s_flags &= ~MS_ACTIVE; in finish_unfinished() 492 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_put_super() 585 if (inode->i_sb->s_flags & MS_RDONLY) { in reiserfs_dirty_inode() 1238 if (!(le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared)) { in handle_attrs() 1347 if (s->s_flags & MS_RDONLY) in reiserfs_remount() 1377 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_remount() 1390 s->s_flags &= ~MS_RDONLY; /* now it is safe to call journal_begin */ in reiserfs_remount() [all …]
|