/fs/affs/ |
D | super.c | 302 if (affs_test_opt(sbi->s_flags, SF_SETMODE)) in affs_show_options() 304 if (affs_test_opt(sbi->s_flags, SF_MUFS)) in affs_show_options() 306 if (affs_test_opt(sbi->s_flags, SF_NO_TRUNCATE)) in affs_show_options() 308 if (affs_test_opt(sbi->s_flags, SF_PREFIX)) in affs_show_options() 310 if (affs_test_opt(sbi->s_flags, SF_IMMUTABLE)) in affs_show_options() 316 if (affs_test_opt(sbi->s_flags, SF_SETGID)) in affs_show_options() 319 if (affs_test_opt(sbi->s_flags, SF_SETUID)) in affs_show_options() 322 if (affs_test_opt(sbi->s_flags, SF_VERBOSE)) in affs_show_options() 356 sb->s_flags |= SB_NODIRATIME; in affs_fill_super() 381 sbi->s_flags = mount_flags; in affs_fill_super() [all …]
|
D | inode.c | 71 if (affs_test_opt(sbi->s_flags, SF_SETMODE)) in affs_iget() 77 if (id == 0 || affs_test_opt(sbi->s_flags, SF_SETUID)) in affs_iget() 79 else if (id == 0xFFFF && affs_test_opt(sbi->s_flags, SF_MUFS)) in affs_iget() 85 if (id == 0 || affs_test_opt(sbi->s_flags, SF_SETGID)) in affs_iget() 87 else if (id == 0xFFFF && affs_test_opt(sbi->s_flags, SF_MUFS)) in affs_iget() 99 affs_test_opt(sbi->s_flags, SF_SETMODE)) { in affs_iget() 138 inode->i_mapping->a_ops = affs_test_opt(sbi->s_flags, SF_OFS) ? in affs_iget() 199 if (affs_test_opt(AFFS_SB(sb)->s_flags, SF_MUFS)) { in affs_write_inode() 205 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETUID)) in affs_write_inode() 207 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETGID)) in affs_write_inode() [all …]
|
/fs/udf/ |
D | udf_sb.h | 67 int s_flags; member 144 unsigned long s_flags; member 168 return test_bit(flag, &UDF_SB(sb)->s_flags); in UDF_QUERY_FLAG() 173 set_bit(flag, &UDF_SB(sb)->s_flags); in UDF_SET_FLAG() 178 clear_bit(flag, &UDF_SB(sb)->s_flags); in UDF_CLEAR_FLAG()
|
/fs/ |
D | super.c | 140 if (!(sb->s_flags & SB_BORN)) in super_cache_count() 242 s->s_flags = flags; in alloc_super() 390 if ((s->s_flags & SB_BORN) && atomic_inc_not_zero(&s->s_active)) { in grab_super() 420 sb->s_root && (sb->s_flags & SB_BORN)) in trylock_super() 449 sb->s_flags &= ~SB_ACTIVE; in generic_shutdown_super() 694 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers() 728 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers_type() 764 if (sb->s_root && (sb->s_flags & SB_BORN)) in __get_super() 885 if (sb->s_root && (sb->s_flags & SB_BORN)) in user_get_super() 977 WRITE_ONCE(sb->s_flags, ((sb->s_flags & ~fc->sb_flags_mask) | in reconfigure_super() [all …]
|
D | statfs.c | 37 static int flags_by_sb(int s_flags) in flags_by_sb() argument 40 if (s_flags & SB_SYNCHRONOUS) in flags_by_sb() 42 if (s_flags & SB_MANDLOCK) in flags_by_sb() 44 if (s_flags & SB_RDONLY) in flags_by_sb() 52 flags_by_sb(mnt->mnt_sb->s_flags); in calculate_f_flags()
|
/fs/ufs/ |
D | util.h | 41 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state() 60 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state() 83 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect() 94 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask() 118 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask() 140 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen() 149 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen() 158 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type() 194 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid() 209 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid() [all …]
|
D | super.c | 287 sb->s_flags |= SB_RDONLY; in ufs_error() 325 sb->s_flags |= SB_RDONLY; in ufs_panic() 697 flags = UFS_SB(sb)->s_flags; in ufs_sync_fs() 919 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 935 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 951 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 967 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 982 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1111 sbi->s_flags = flags;/*after that line some functions use s_flags*/ in ufs_fill_super() 1139 sb->s_flags |= SB_RDONLY; in ufs_fill_super() [all …]
|
D | ialloc.c | 115 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_free_inode() 149 if (sb->s_flags & SB_SYNCHRONOUS) in ufs2_init_inodes_chunk() 156 if (sb->s_flags & SB_SYNCHRONOUS) in ufs2_init_inodes_chunk() 287 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_new_inode() 333 if (sb->s_flags & SB_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()
|
D | balloc.c | 102 if ((UFS_SB(sb)->s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_fragments() 118 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_free_fragments() 190 if ((UFS_SB(sb)->s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_blocks() 208 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_free_blocks() 570 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_add_fragments() 691 if (sb->s_flags & SB_SYNCHRONOUS) in ufs_alloc_fragments() 740 if ((UFS_SB(sb)->s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_alloccg_block()
|
/fs/nilfs2/ |
D | the_nilfs.c | 235 unsigned int s_flags = sb->s_flags; in load_nilfs() local 242 if (s_flags & SB_RDONLY) { in load_nilfs() 314 if (s_flags & SB_RDONLY) { in load_nilfs() 337 sb->s_flags &= ~SB_RDONLY; in load_nilfs() 364 sb->s_flags = s_flags; in load_nilfs() 381 sb->s_flags = s_flags; in load_nilfs()
|
D | super.c | 142 sb->s_flags |= SB_RDONLY; in __nilfs_error() 891 sb->s_flags |= SB_NOATIME; in nilfs_store_magic_and_option() 1149 old_sb_flags = sb->s_flags; in nilfs_remount() 1156 sb->s_flags = (sb->s_flags & ~SB_POSIXACL); in nilfs_remount() 1169 sb->s_flags |= SB_RDONLY; in nilfs_remount() 1199 sb->s_flags &= ~SB_RDONLY; in nilfs_remount() 1214 sb->s_flags = old_sb_flags; in nilfs_remount() 1352 s->s_flags |= SB_ACTIVE; in nilfs_mount() 1355 if ((flags ^ s->s_flags) & SB_RDONLY) { in nilfs_mount()
|
/fs/f2fs/ |
D | recovery.c | 830 unsigned long s_flags = sbi->sb->s_flags; in f2fs_recover_fsync_data() local 837 if (s_flags & SB_RDONLY) { in f2fs_recover_fsync_data() 839 sbi->sb->s_flags &= ~SB_RDONLY; in f2fs_recover_fsync_data() 844 quota_enabled = f2fs_enable_quota_files(sbi, s_flags & SB_RDONLY); in f2fs_recover_fsync_data() 871 f2fs_bug_on(sbi, sbi->sb->s_flags & SB_ACTIVE); in f2fs_recover_fsync_data() 924 sbi->sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in f2fs_recover_fsync_data()
|
D | super.c | 908 sb->s_flags |= SB_LAZYTIME; in parse_options() 911 sb->s_flags &= ~SB_LAZYTIME; in parse_options() 1043 sb->s_flags |= SB_INLINECRYPT; in parse_options() 2011 if (sbi->sb->s_flags & SB_INLINECRYPT) in f2fs_show_options() 2076 sbi->sb->s_flags &= ~SB_INLINECRYPT; in default_options() 2086 sbi->sb->s_flags |= SB_LAZYTIME; in default_options() 2114 unsigned int s_flags = sbi->sb->s_flags; in f2fs_disable_checkpoint() local 2121 if (s_flags & SB_RDONLY) { in f2fs_disable_checkpoint() 2125 sbi->sb->s_flags |= SB_ACTIVE; in f2fs_disable_checkpoint() 2175 sbi->sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in f2fs_disable_checkpoint() [all …]
|
/fs/hfsplus/ |
D | super.c | 343 sb->s_flags |= SB_RDONLY; in hfsplus_remount() 350 sb->s_flags |= SB_RDONLY; in hfsplus_remount() 355 sb->s_flags |= SB_RDONLY; in hfsplus_remount() 458 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super() 463 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super() 467 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super()
|
/fs/cifs/ |
D | xattr.c | 211 if (sb->s_flags & SB_POSIXACL) in cifs_xattr_set() 223 if (sb->s_flags & SB_POSIXACL) in cifs_xattr_set() 362 if (sb->s_flags & SB_POSIXACL) in cifs_xattr_get() 372 if (sb->s_flags & SB_POSIXACL) in cifs_xattr_get()
|
/fs/9p/ |
D | vfs_super.c | 88 sb->s_flags |= SB_ACTIVE | SB_DIRSYNC; in v9fs_fill_super() 90 sb->s_flags |= SB_SYNCHRONOUS; in v9fs_fill_super() 94 sb->s_flags |= SB_POSIXACL; in v9fs_fill_super()
|
/fs/ecryptfs/ |
D | main.c | 555 s->s_flags = flags & ~SB_POSIXACL; in ecryptfs_mount() 556 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_mount() 564 s->s_flags |= SB_RDONLY; in ecryptfs_mount() 597 s->s_flags |= SB_ACTIVE; in ecryptfs_mount()
|
/fs/btrfs/ |
D | super.c | 168 if (!(sb->s_flags & SB_BORN)) in __btrfs_handle_fs_error() 177 sb->s_flags |= SB_RDONLY; in __btrfs_handle_fs_error() 745 info->sb->s_flags |= SB_POSIXACL; in btrfs_parse_options() 753 info->sb->s_flags &= ~SB_POSIXACL; in btrfs_parse_options() 1330 sb->s_flags |= SB_POSIXACL; in btrfs_fill_super() 1332 sb->s_flags |= SB_I_VERSION; in btrfs_fill_super() 1360 sb->s_flags |= SB_ACTIVE; in btrfs_fill_super() 1455 if (!(info->sb->s_flags & SB_POSIXACL)) in btrfs_show_options() 1690 if ((flags ^ s->s_flags) & SB_RDONLY) in btrfs_mount_root() 1858 unsigned old_flags = sb->s_flags; in btrfs_remount() [all …]
|
/fs/jffs2/ |
D | super.c | 283 sb->s_flags = sb->s_flags | SB_NOATIME; in jffs2_fill_super() 286 sb->s_flags |= SB_POSIXACL; in jffs2_fill_super()
|
/fs/nfs/ |
D | super.c | 629 seq_puts(m, root->d_sb->s_flags & SB_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats() 630 seq_puts(m, root->d_sb->s_flags & SB_NOATIME ? ",noatime" : ""); in nfs_show_stats() 631 seq_puts(m, root->d_sb->s_flags & SB_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats() 1043 sb->s_flags |= SB_POSIXACL; in nfs_fill_super() 1050 sb->s_flags |= SB_POSIXACL; in nfs_fill_super() 1079 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options() 1249 if (ctx->clone_data.sb->s_flags & SB_SYNCHRONOUS) in nfs_get_tree_common() 1294 s->s_flags |= SB_ACTIVE; in nfs_get_tree_common()
|
/fs/ext4/ |
D | super.c | 671 sb->s_flags |= SB_RDONLY; in ext4_handle_error() 883 sb->s_flags |= SB_RDONLY; in __ext4_abort() 2144 sb->s_flags |= SB_I_VERSION; in handle_mount_opt() 2147 sb->s_flags |= SB_LAZYTIME; in handle_mount_opt() 2150 sb->s_flags &= ~SB_LAZYTIME; in handle_mount_opt() 2154 sb->s_flags |= SB_INLINECRYPT; in handle_mount_opt() 2600 if (sb->s_flags & SB_I_VERSION) in _ext4_show_options() 2628 if (sb->s_flags & SB_INLINECRYPT) in _ext4_show_options() 3001 unsigned int s_flags = sb->s_flags; in ext4_orphan_cleanup() local 3027 if (es->s_last_orphan && !(s_flags & SB_RDONLY)) { in ext4_orphan_cleanup() [all …]
|
/fs/hfs/ |
D | super.c | 123 sb->s_flags |= SB_RDONLY; in hfs_remount() 127 sb->s_flags |= SB_RDONLY; in hfs_remount() 404 sb->s_flags |= SB_NODIRATIME; in hfs_fill_super()
|
/fs/ntfs/ |
D | super.c | 1788 sb->s_flags |= SB_RDONLY; in load_system_files() 1926 sb->s_flags |= SB_RDONLY; in load_system_files() 1963 sb->s_flags |= SB_RDONLY; in load_system_files() 2008 sb->s_flags |= SB_RDONLY; in load_system_files() 2031 sb->s_flags |= SB_RDONLY; in load_system_files() 2044 if (!(sb->s_flags & SB_RDONLY) && (vol->major_ver > 1) && in load_system_files() 2058 sb->s_flags |= SB_RDONLY; in load_system_files() 2076 sb->s_flags |= SB_RDONLY; in load_system_files() 2118 sb->s_flags |= SB_RDONLY; in load_system_files() 2140 sb->s_flags |= SB_RDONLY; in load_system_files() [all …]
|
/fs/reiserfs/ |
D | super.c | 124 if (sb_rdonly(s) || !(s->s_flags & SB_ACTIVE)) in reiserfs_schedule_old_flush() 255 if (s->s_flags & SB_ACTIVE) { in finish_unfinished() 259 s->s_flags |= SB_ACTIVE; in finish_unfinished() 414 s->s_flags &= ~SB_ACTIVE; in finish_unfinished() 1406 if (!(le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared)) { in handle_attrs() 1560 s->s_flags &= ~SB_RDONLY; in reiserfs_remount() 1568 s->s_flags &= ~SB_RDONLY; in reiserfs_remount() 2052 s->s_flags |= SB_RDONLY; in reiserfs_fill_super() 2179 (errval = reiserfs_xattr_init(s, s->s_flags))) { in reiserfs_fill_super() 2197 (errval = reiserfs_xattr_init(s, s->s_flags))) { in reiserfs_fill_super()
|