| /linux/fs/ |
| H 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() 274 unsigned int sb_flags, in alloc_fs_context() argument 287 fc->sb_flags = sb_flags; in alloc_fs_context() 327 unsigned int sb_flags) in fs_context_for_mount() argument 329 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount() 335 unsigned int sb_flags, in fs_context_for_reconfigure() argument 338 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure() 663 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree() 686 return sb->s_op->remount_fs(sb, &fc->sb_flags, in legacy_reconfigure() [all …]
|
| H 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() 1602 int setup_bdev_super(struct super_block *sb, int sb_flags, in setup_bdev_super() argument 1605 blk_mode_t mode = sb_open_mode(sb_flags); in setup_bdev_super() 1676 fc->sb_flags |= SB_NOSEC; in get_tree_bdev_flags() 1683 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev_flags() [all …]
|
| /linux/fs/hfs/ |
| H 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()
|
| /linux/include/linux/ |
| H A D | fs_context.h | 104 unsigned int sb_flags; /* Proposed superblock flags (SB_*) */ member 128 unsigned int sb_flags); 130 unsigned int sb_flags, 164 int setup_bdev_super(struct super_block *sb, int sb_flags,
|
| H A D | qnx6_fs.h | 100 __fs32 sb_flags; member
|
| /linux/fs/freevxfs/ |
| H 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()
|
| /linux/fs/affs/ |
| H 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()
|
| /linux/include/uapi/linux/ |
| H A D | dlm.h | 65 char sb_flags; member
|
| H A D | mount.h | 162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
|
| /linux/include/trace/events/ |
| H A D | dlm.h | 223 TP_PROTO(__u32 ls_id, __u32 lkb_id, __u8 sb_flags, int sb_status, 226 TP_ARGS(ls_id, lkb_id, sb_flags, sb_status, res_name, res_length), 231 __field(__u8, sb_flags) 239 __entry->sb_flags = sb_flags; 248 show_dlm_sb_flags(__entry->sb_flags), __entry->sb_status,
|
| /linux/fs/btrfs/ |
| H A D | super.c | 448 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param() 451 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param() 1523 if (!btrfs_check_options(fs_info, &ctx->mount_opt, fc->sb_flags)) in btrfs_reconfigure() 1526 ret = btrfs_check_features(fs_info, !(fc->sb_flags & SB_RDONLY)); in btrfs_reconfigure() 1531 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure() 1537 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure() 1552 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1554 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1564 if ((fc->sb_flags & SB_POSIXACL) != (sb->s_flags & SB_POSIXACL)) in btrfs_reconfigure() 1850 blk_mode_t mode = sb_open_mode(fc->sb_flags); in btrfs_get_tree_super() [all …]
|
| /linux/fs/dlm/ |
| H 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()
|
| /linux/drivers/md/ |
| H A D | md.c | 1095 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written() 1163 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait() 2707 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync() 2792 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2799 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb() 2801 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb() 2808 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb() 2834 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb() 2835 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2837 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb() [all …]
|
| /linux/fs/romfs/ |
| H 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()
|
| /linux/fs/sysfs/ |
| H A D | mount.c | 60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
|
| /linux/fs/nfs/ |
| H A D | namespace.c | 185 fc->sb_flags &= ~NFS_SB_MASK; in nfs_d_automount() 186 fc->sb_flags |= s_flags & NFS_SB_MASK; in nfs_d_automount()
|
| /linux/tools/include/uapi/linux/ |
| H A D | mount.h | 162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
|
| /linux/fs/qnx6/ |
| H 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()
|
| /linux/drivers/mtd/ |
| H A D | mtdsuper.c | 162 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | mount.h | 162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
|
| /linux/fs/qnx4/ |
| H 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()
|
| /linux/fs/hpfs/ |
| H A D | super.c | 431 fc->sb_flags |= SB_NOATIME; in hpfs_reconfigure() 449 if (!(fc->sb_flags & SB_RDONLY)) mark_dirty(s, 1); in hpfs_reconfigure() 510 int silent = fc->sb_flags & SB_SILENT; in hpfs_fill_super()
|
| /linux/fs/adfs/ |
| H 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()
|
| /linux/Documentation/filesystems/ |
| H A D | mount_api.rst | 79 unsigned int sb_flags; 165 unsigned int sb_flags 253 will have been weeded out and fc->sb_flags updated in the context. 408 unsigned int sb_flags); 416 sb_flags presets the superblock flags stored therein. 422 unsigned int sb_flags, 427 configured. sb_flags and sb_flags_mask indicate which superblock flags
|
| /linux/fs/xfs/ |
| H A D | xfs_super.c | 1109 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) { in xfs_finish_flags() 1685 if (fc->sb_flags & SB_RDONLY) in xfs_fs_fill_super() 1687 if (fc->sb_flags & SB_DIRSYNC) in xfs_fs_fill_super() 1689 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_fs_fill_super() 1719 if (fc->sb_flags & SB_SILENT) in xfs_fs_fill_super() 2162 int flags = fc->sb_flags; in xfs_fs_reconfigure() 2169 fc->sb_flags |= SB_I_VERSION; in xfs_fs_reconfigure()
|