| /fs/ |
| A D | fs_context.c | 67 fc->sb_flags |= token; in vfs_parse_sb_flag() 74 fc->sb_flags &= ~token; in vfs_parse_sb_flag() 277 unsigned int sb_flags, in alloc_fs_context() argument 290 fc->sb_flags = sb_flags; in alloc_fs_context() 330 unsigned int sb_flags) in fs_context_for_mount() argument 332 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount() 338 unsigned int sb_flags, in fs_context_for_reconfigure() argument 341 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure() 666 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree() 689 return sb->s_op->remount_fs(sb, &fc->sb_flags, in legacy_reconfigure() [all …]
|
| A D | super.c | 761 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 1022 bool force = fc->sb_flags & SB_FORCE; in reconfigure_super() 1035 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super() 1039 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 1040 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1088 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super() 1603 int setup_bdev_super(struct super_block *sb, int sb_flags, in setup_bdev_super() argument 1606 blk_mode_t mode = sb_open_mode(sb_flags); in setup_bdev_super() 1677 fc->sb_flags |= SB_NOSEC; in get_tree_bdev_flags() 1684 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev_flags() [all …]
|
| /fs/dlm/ |
| A D | ast.c | 22 uint32_t flags, uint8_t sb_flags, int sb_status, in dlm_run_callback() argument 33 trace_dlm_ast(ls_id, lkb_id, sb_flags, sb_status, res_name, in dlm_run_callback() 36 lksb->sb_flags = sb_flags; in dlm_run_callback() 44 cb->sb_flags, cb->sb_status, cb->lkb_lksb, in dlm_do_callback() 141 (*cb)->sb_flags = (sbflags & 0x000000FF); in dlm_get_cb()
|
| A D | user.c | 71 __u8 sb_flags; member 142 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output() 853 cb->lkb_lksb->sb_flags = cb->sb_flags; in device_read() 855 cb->sb_flags, cb->res_name, cb->res_length); in device_read()
|
| /fs/hfs/ |
| A D | super.c | 120 fc->sb_flags |= SB_NODIRATIME; in hfs_reconfigure() 121 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_reconfigure() 124 if (!(fc->sb_flags & SB_RDONLY)) { in hfs_reconfigure() 128 fc->sb_flags |= SB_RDONLY; in hfs_reconfigure() 132 fc->sb_flags |= SB_RDONLY; in hfs_reconfigure() 319 int silent = fc->sb_flags & SB_SILENT; in hfs_fill_super()
|
| /fs/freevxfs/ |
| A D | vxfs_super.c | 97 fc->sb_flags |= SB_RDONLY; in vxfs_reconfigure() 131 int silent = fc->sb_flags & SB_SILENT; in vxfs_try_sb_magic() 191 int silent = fc->sb_flags & SB_SILENT; in vxfs_fill_super()
|
| /fs/hfsplus/ |
| A D | super.c | 339 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfsplus_reconfigure() 341 if (!(fc->sb_flags & SB_RDONLY)) { in hfsplus_reconfigure() 348 fc->sb_flags |= SB_RDONLY; in hfsplus_reconfigure() 355 fc->sb_flags |= SB_RDONLY; in hfsplus_reconfigure() 360 fc->sb_flags |= SB_RDONLY; in hfsplus_reconfigure() 387 int silent = fc->sb_flags & SB_SILENT; in hfsplus_fill_super()
|
| /fs/affs/ |
| A D | super.c | 313 int silent = fc->sb_flags & SB_SILENT; in affs_fill_super() 526 fc->sb_flags |= SB_NODIRATIME; in affs_reconfigure() 548 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in affs_reconfigure() 551 if (fc->sb_flags & SB_RDONLY) in affs_reconfigure() 554 res = affs_init_bitmap(sb, &fc->sb_flags); in affs_reconfigure()
|
| /fs/btrfs/ |
| A D | super.c | 436 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param() 439 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param() 1515 if (!btrfs_check_options(fs_info, &ctx->mount_opt, fc->sb_flags)) in btrfs_reconfigure() 1523 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure() 1529 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure() 1544 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1546 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1556 if ((fc->sb_flags & SB_POSIXACL) != (sb->s_flags & SB_POSIXACL)) in btrfs_reconfigure() 1843 blk_mode_t mode = sb_open_mode(fc->sb_flags); in btrfs_get_tree_super() 2184 fc->sb_flags |= SB_POSIXACL; in btrfs_init_fs_context() [all …]
|
| /fs/romfs/ |
| A D | super.c | 420 fc->sb_flags |= SB_RDONLY; in romfs_reconfigure() 499 if (!(fc->sb_flags & SB_SILENT)) in romfs_fill_super() 513 if (!(fc->sb_flags & SB_SILENT)) in romfs_fill_super()
|
| /fs/nilfs2/ |
| A D | super.c | 1145 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_reconfigure() 1147 if (fc->sb_flags & SB_RDONLY) { in nilfs_reconfigure() 1210 if (ctx->cno && !(fc->sb_flags & SB_RDONLY)) { in nilfs_get_tree() 1226 err = setup_bdev_super(s, fc->sb_flags, fc); in nilfs_get_tree() 1235 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in nilfs_get_tree()
|
| /fs/qnx6/ |
| A D | inode.c | 61 fc->sb_flags |= SB_RDONLY; in qnx6_reconfigure() 208 pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); in qnx6_superblock_debug() 303 int silent = fc->sb_flags & SB_SILENT; in qnx6_fill_super()
|
| /fs/sysfs/ |
| A D | mount.c | 60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
|
| /fs/nfs/ |
| A D | super.c | 1080 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_reconfigure() 1156 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options() 1331 fc->sb_flags &= ~SB_RDONLY; in nfs_get_tree_common() 1335 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common() 1339 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
|
| /fs/qnx4/ |
| A D | inode.c | 52 fc->sb_flags |= SB_RDONLY; in qnx4_reconfigure() 198 int silent = fc->sb_flags & SB_SILENT; in qnx4_fill_super()
|
| /fs/hpfs/ |
| A D | super.c | 434 fc->sb_flags |= SB_NOATIME; in hpfs_reconfigure() 452 if (!(fc->sb_flags & SB_RDONLY)) mark_dirty(s, 1); in hpfs_reconfigure() 513 int silent = fc->sb_flags & SB_SILENT; in hpfs_fill_super()
|
| /fs/xfs/ |
| A D | xfs_super.c | 1102 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) { in xfs_finish_flags() 1693 if (fc->sb_flags & SB_RDONLY) in xfs_fs_fill_super() 1695 if (fc->sb_flags & SB_DIRSYNC) in xfs_fs_fill_super() 1697 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_fs_fill_super() 1724 if (fc->sb_flags & SB_SILENT) in xfs_fs_fill_super() 2167 int flags = fc->sb_flags; in xfs_fs_reconfigure() 2174 fc->sb_flags |= SB_I_VERSION; in xfs_fs_reconfigure()
|
| /fs/adfs/ |
| A D | super.c | 168 fc->sb_flags |= ADFS_SB_FLAGS; in adfs_reconfigure() 345 int silent = fc->sb_flags & SB_SILENT; in adfs_fill_super()
|
| /fs/minix/ |
| A D | inode.c | 124 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in minix_reconfigure() 126 if (fc->sb_flags & SB_RDONLY) { in minix_reconfigure() 183 int silent = fc->sb_flags & SB_SILENT; in minix_fill_super()
|
| /fs/ntfs3/ |
| A D | super.c | 379 fc->sb_flags |= SB_POSIXACL; in ntfs_fs_parse_param() 385 fc->sb_flags &= ~SB_POSIXACL; in ntfs_fs_parse_param() 414 fc->sb_flags |= SB_RDONLY; in ntfs_fs_reconfigure() 418 ro_rw = sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY); in ntfs_fs_reconfigure() 1837 fc->sb_flags |= SB_RDONLY; in ntfs_legacy_init_fs_context()
|
| /fs/gfs2/ |
| A D | ops_fstype.c | 1122 int silent = fc->sb_flags & SB_SILENT; in gfs2_fill_super() 1591 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure() 1593 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure() 1594 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure() 1697 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
|
| /fs/squashfs/ |
| A D | super.c | 235 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super() 503 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
|
| /fs/ocfs2/ |
| A D | super.c | 648 if ((bool)(fc->sb_flags & SB_RDONLY) != sb_rdonly(sb)) { in ocfs2_reconfigure() 650 if (fc->sb_flags & SB_RDONLY) { in ocfs2_reconfigure() 664 if (fc->sb_flags & SB_RDONLY) { in ocfs2_reconfigure() 685 trace_ocfs2_remount(sb->s_flags, osb->osb_flags, fc->sb_flags); in ocfs2_reconfigure() 689 if (!ret && !(fc->sb_flags & SB_RDONLY)) { in ocfs2_reconfigure() 984 trace_ocfs2_fill_super(sb, fc, fc->sb_flags & SB_SILENT); in ocfs2_fill_super()
|
| /fs/ubifs/ |
| A D | super.c | 1957 dbg_gen("old flags %#lx, new flags %#x", sb->s_flags, fc->sb_flags); in ubifs_reconfigure() 1969 if (c->ro_mount && !(fc->sb_flags & SB_RDONLY)) { in ubifs_reconfigure() 1981 } else if (!c->ro_mount && (fc->sb_flags & SB_RDONLY)) { in ubifs_reconfigure() 2244 dbg_gen("name %s, flags %#x", fc->source, fc->sb_flags); in ubifs_get_tree() 2254 if (!(fc->sb_flags & SB_SILENT)) in ubifs_get_tree() 2281 if (!!(fc->sb_flags & SB_RDONLY) != c1->ro_mount) { in ubifs_get_tree()
|
| /fs/erofs/ |
| A D | super.c | 785 fc->sb_flags |= SB_POSIXACL; in erofs_fc_reconfigure() 787 fc->sb_flags &= ~SB_POSIXACL; in erofs_fc_reconfigure() 791 fc->sb_flags |= SB_RDONLY; in erofs_fc_reconfigure()
|