| /fs/affs/ |
| A D | super.c | 324 sb->s_flags |= SB_NODIRATIME; in affs_fill_super() 341 sbi->s_flags = ctx->mount_flags; in affs_fill_super() 436 sb->s_flags |= SB_RDONLY; in affs_fill_super() 457 affs_set_opt(sbi->s_flags, SF_OFS); in affs_fill_super() 458 sb->s_flags |= SB_NOEXEC; in affs_fill_super() 467 affs_set_opt(sbi->s_flags, SF_OFS); in affs_fill_super() 468 sb->s_flags |= SB_NOEXEC; in affs_fill_super() 484 sb->s_flags |= SB_NODEV | SB_NOSUID; in affs_fill_super() 490 tmp_flags = sb->s_flags; in affs_fill_super() 494 sb->s_flags = tmp_flags; in affs_fill_super() [all …]
|
| A 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() 196 if (affs_test_opt(AFFS_SB(sb)->s_flags, SF_MUFS)) { in affs_write_inode() 202 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETUID)) in affs_write_inode() 204 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETGID)) in affs_write_inode() 233 (AFFS_SB(inode->i_sb)->s_flags & in affs_notify_change() [all …]
|
| /fs/udf/ |
| A D | udf_sb.h | 71 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/9p/ |
| A D | fid.h | 49 static inline void v9fs_fid_add_modes(struct p9_fid *fid, unsigned int s_flags, in v9fs_fid_add_modes() argument 53 ((fid->qid.version == 0) && !(s_flags & V9FS_IGNORE_QV)) || in v9fs_fid_add_modes() 54 (s_flags & V9FS_DIRECT_IO) || (f_flags & O_DIRECT)) { in v9fs_fid_add_modes() 57 (f_flags & O_DSYNC) || (s_flags & V9FS_SYNC)) { in v9fs_fid_add_modes()
|
| A D | vfs_super.c | 87 sb->s_flags |= SB_ACTIVE; in v9fs_fill_super() 91 sb->s_flags |= SB_POSIXACL; in v9fs_fill_super()
|
| /fs/ufs/ |
| A D | util.h | 35 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state() 54 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state() 77 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect() 88 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask() 112 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask() 134 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen() 143 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen() 188 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid() 203 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid() 222 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_gid() [all …]
|
| A D | util.c | 141 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_inode_dev() 145 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_inode_dev() 167 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_inode_dev() 180 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_set_inode_dev()
|
| A D | super.c | 287 sb->s_flags |= SB_RDONLY; in ufs_error() 325 sb->s_flags |= SB_RDONLY; in ufs_panic() 854 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 870 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 886 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 902 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 917 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1074 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1078 sb->s_flags |= SB_RDONLY; in ufs_fill_super() 1088 sb->s_flags |= SB_RDONLY; in ufs_fill_super() [all …]
|
| A 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()
|
| /fs/ |
| A D | super.c | 128 if (sb->s_flags & SB_DYING) { in super_lock() 161 smp_store_release(&sb->s_flags, sb->s_flags | flag); in super_wake() 168 wake_up_var(&sb->s_flags); in super_wake() 357 s->s_flags = flags; in alloc_super() 435 if (sb->s_flags & SB_DEAD) in kill_super_notify() 623 sb->s_flags &= ~SB_ACTIVE; in generic_shutdown_super() 1087 WRITE_ONCE(sb->s_flags, ((sb->s_flags & ~fc->sb_flags_mask) | in reconfigure_super() 1329 sb->s_flags |= SB_ACTIVE; in vfs_get_super() 1697 s->s_flags |= SB_ACTIVE; in get_tree_bdev_flags() 1755 s->s_flags |= SB_ACTIVE; in mount_bdev() [all …]
|
| A 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/ext4/ |
| A D | orphan.c | 382 unsigned int s_flags = sb->s_flags; in ext4_orphan_cleanup() local 413 if (es->s_last_orphan && !(s_flags & SB_RDONLY)) { in ext4_orphan_cleanup() 422 if (s_flags & SB_RDONLY) { in ext4_orphan_cleanup() 424 sb->s_flags &= ~SB_RDONLY; in ext4_orphan_cleanup() 431 if (ext4_has_feature_quota(sb) && (s_flags & SB_RDONLY)) { in ext4_orphan_cleanup() 508 sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in ext4_orphan_cleanup()
|
| /fs/nilfs2/ |
| A D | the_nilfs.c | 242 unsigned int s_flags = sb->s_flags; in load_nilfs() local 249 if (s_flags & SB_RDONLY) { in load_nilfs() 321 if (s_flags & SB_RDONLY) { in load_nilfs() 344 sb->s_flags &= ~SB_RDONLY; in load_nilfs() 371 sb->s_flags = s_flags; in load_nilfs() 388 sb->s_flags = s_flags; in load_nilfs()
|
| A D | super.c | 145 sb->s_flags |= SB_RDONLY; in __nilfs_error() 872 sb->s_flags |= SB_NOATIME; in nilfs_store_magic() 1148 sb->s_flags |= SB_RDONLY; in nilfs_reconfigure() 1178 sb->s_flags &= ~SB_RDONLY; in nilfs_reconfigure() 1183 sb->s_flags |= SB_RDONLY; in nilfs_reconfigure() 1192 sb->s_flags = (sb->s_flags & ~SB_POSIXACL); in nilfs_reconfigure() 1232 s->s_flags |= SB_ACTIVE; in nilfs_get_tree() 1235 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in nilfs_get_tree()
|
| /fs/btrfs/ |
| A D | super.h | 28 sb->s_flags |= SB_RDONLY; in btrfs_set_sb_rdonly() 34 sb->s_flags &= ~SB_RDONLY; in btrfs_clear_sb_rdonly()
|
| /fs/hfsplus/ |
| A D | super.c | 347 sb->s_flags |= SB_RDONLY; in hfsplus_reconfigure() 354 sb->s_flags |= SB_RDONLY; in hfsplus_reconfigure() 359 sb->s_flags |= SB_RDONLY; in hfsplus_reconfigure() 457 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super() 462 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super() 466 sb->s_flags |= SB_RDONLY; in hfsplus_fill_super()
|
| /fs/ecryptfs/ |
| A D | main.c | 513 s->s_flags = fc->sb_flags & ~SB_POSIXACL; in ecryptfs_get_tree() 514 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL; in ecryptfs_get_tree() 522 s->s_flags |= SB_RDONLY; in ecryptfs_get_tree() 555 s->s_flags |= SB_ACTIVE; in ecryptfs_get_tree()
|
| /fs/jffs2/ |
| A D | super.c | 285 sb->s_flags = sb->s_flags | SB_NOATIME; in jffs2_fill_super() 288 sb->s_flags |= SB_POSIXACL; in jffs2_fill_super()
|
| /fs/hfs/ |
| A D | super.c | 127 sb->s_flags |= SB_RDONLY; in hfs_reconfigure() 131 sb->s_flags |= SB_RDONLY; in hfs_reconfigure() 334 sb->s_flags |= SB_NODIRATIME; in hfs_fill_super()
|
| /fs/nfs/ |
| A D | super.c | 683 seq_puts(m, root->d_sb->s_flags & SB_SYNCHRONOUS ? ",sync" : ""); in nfs_show_stats() 684 seq_puts(m, root->d_sb->s_flags & SB_NOATIME ? ",noatime" : ""); in nfs_show_stats() 685 seq_puts(m, root->d_sb->s_flags & SB_NODIRATIME ? ",nodiratime" : ""); in nfs_show_stats() 1118 sb->s_flags |= SB_POSIXACL; in nfs_fill_super() 1156 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options() 1338 if (ctx->clone_data.sb->s_flags & SB_SYNCHRONOUS) in nfs_get_tree_common() 1382 s->s_flags |= SB_ACTIVE; in nfs_get_tree_common()
|
| /fs/f2fs/ |
| A D | recovery.c | 876 unsigned long s_flags = sbi->sb->s_flags; in f2fs_recover_fsync_data() local 909 f2fs_bug_on(sbi, sbi->sb->s_flags & SB_ACTIVE); in f2fs_recover_fsync_data() 951 sbi->sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in f2fs_recover_fsync_data()
|
| A D | super.c | 2491 unsigned int s_flags = sbi->sb->s_flags; in f2fs_disable_checkpoint() local 2498 if (s_flags & SB_RDONLY) { in f2fs_disable_checkpoint() 2562 sbi->sb->s_flags = s_flags; /* Restore SB_RDONLY status */ in f2fs_disable_checkpoint() 2620 old_sb_flags = sb->s_flags; in __f2fs_remount() 2685 sb->s_flags &= ~SB_RDONLY; in __f2fs_remount() 2836 sb->s_flags = (sb->s_flags & ~SB_POSIXACL) | in __f2fs_remount() 2882 sb->s_flags = old_sb_flags; in __f2fs_remount() 4883 sb->s_flags = (sb->s_flags & ~SB_POSIXACL) | in f2fs_fill_super() 4889 sb->s_flags |= SB_LAZYTIME; in f2fs_fill_super() 4891 sb->s_flags &= ~SB_LAZYTIME; in f2fs_fill_super() [all …]
|
| /fs/efivarfs/ |
| A D | super.c | 33 sfi->sb->s_flags |= SB_RDONLY; in efivarfs_ops_notifier() 36 sfi->sb->s_flags &= ~SB_RDONLY; in efivarfs_ops_notifier() 357 sb->s_flags |= SB_RDONLY; in efivarfs_fill_super()
|
| /fs/ext2/ |
| A D | super.c | 80 sb->s_flags |= SB_RDONLY; in ext2_error() 955 sb->s_flags = (sb->s_flags & ~SB_POSIXACL) | in ext2_fill_super() 1232 sb->s_flags |= SB_RDONLY; in ext2_fill_super() 1426 sb->s_flags &= ~SB_RDONLY; in ext2_reconfigure() 1439 sb->s_flags = (sb->s_flags & ~SB_POSIXACL) | in ext2_reconfigure() 1683 ctx->vals_s_flags = sb->s_flags; in ext2_init_fs_context()
|
| /fs/overlayfs/ |
| A D | super.c | 536 if (upper_mnt->mnt_sb->s_flags & SB_NOSEC) in ovl_get_upper() 537 sb->s_flags |= SB_NOSEC; in ovl_get_upper() 1411 sb->s_flags |= SB_RDONLY; in ovl_fill_super() 1423 sb->s_flags |= SB_RDONLY; in ovl_fill_super() 1440 sb->s_flags |= SB_RDONLY; in ovl_fill_super() 1478 sb->s_flags |= SB_POSIXACL; in ovl_fill_super()
|