Home
last modified time | relevance | path

Searched refs:mount_opt (Results 1 – 10 of 10) sorted by relevance

/linux/fs/btrfs/
H A Dsuper.c85 unsigned long long mount_opt; member
286 btrfs_clear_opt(ctx->mount_opt, FORCE_COMPRESS); in btrfs_parse_compress()
291 btrfs_set_opt(ctx->mount_opt, COMPRESS); in btrfs_parse_compress()
292 btrfs_clear_opt(ctx->mount_opt, NODATACOW); in btrfs_parse_compress()
293 btrfs_clear_opt(ctx->mount_opt, NODATASUM); in btrfs_parse_compress()
300 btrfs_set_opt(ctx->mount_opt, COMPRESS); in btrfs_parse_compress()
301 btrfs_clear_opt(ctx->mount_opt, NODATACOW); in btrfs_parse_compress()
302 btrfs_clear_opt(ctx->mount_opt, NODATASUM); in btrfs_parse_compress()
311 btrfs_set_opt(ctx->mount_opt, COMPRESS); in btrfs_parse_compress()
312 btrfs_clear_opt(ctx->mount_opt, NODATACOW); in btrfs_parse_compress()
[all …]
H A Dsuper.h14 unsigned long long *mount_opt,
H A Dref-verify.c882 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod()
987 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
1022 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
H A Dfs.h569 unsigned long long mount_opt; member
1144 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
H A Dzoned.c775 ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt); in btrfs_check_zoned_mode()
784 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument
793 if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) { in btrfs_check_mountopts_zoned()
798 if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) { in btrfs_check_mountopts_zoned()
803 if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) { in btrfs_check_mountopts_zoned()
806 btrfs_clear_opt(*mount_opt, DISCARD_ASYNC); in btrfs_check_mountopts_zoned()
H A Ddisk-io.c3278 if (unlikely(fs_info->mount_opt & BTRFS_MOUNT_FULL_RO_MASK)) in fs_is_full_ro()
3420 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) { in open_ctree()
/linux/fs/ocfs2/
H A Dsuper.c76 unsigned long mount_opt; member
625 if ((osb->s_mount_opt & tmp) != (parsed_options->mount_opt & tmp)) { in ocfs2_reconfigure()
632 (parsed_options->mount_opt & OCFS2_MOUNT_DATA_WRITEBACK)) { in ocfs2_reconfigure()
641 (parsed_options->mount_opt & OCFS2_MOUNT_INODE64)) { in ocfs2_reconfigure()
708 osb->s_mount_opt = parsed_options->mount_opt; in ocfs2_reconfigure()
1005 osb->s_mount_opt = parsed_options->mount_opt; in ocfs2_fill_super()
1208 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_init_fs_context()
1240 tmp = options->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_check_set_options()
1248 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && in ocfs2_check_set_options()
1255 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && in ocfs2_check_set_options()
[all …]
/linux/fs/ext4/
H A Dsuper.c1853 int mount_opt; member
2136 EXT4_SET_CTX(mount_opt);
2137 EXT4_CLEAR_CTX(mount_opt);
2138 EXT4_TEST_CTX(mount_opt);
2163 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in ext4_parse_param()
2165 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in ext4_parse_param()
2375 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2377 ctx_clear_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2423 ctx_set_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
2425 ctx_clear_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
[all …]
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c288 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt() function
307 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
375 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
1759 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK()
1787 ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK()
1863 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in TEST_F_FORK()
6405 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP()
6415 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP()
7042 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
/linux/fs/f2fs/
H A Dsuper.c2789 org_mount_opt = sbi->mount_opt; in __f2fs_remount()
3054 sbi->mount_opt = org_mount_opt; in __f2fs_remount()