Home
last modified time | relevance | path

Searched refs:mount_opt (Results 1 – 9 of 9) 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 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()
/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/erofs/
H A Dinternal.h66 unsigned int mount_opt; member
182 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
183 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
184 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
/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()
6409 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP()
6419 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP()
7046 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
/linux/fs/f2fs/
H A Df2fs.h138 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1794 struct f2fs_mount_info mount_opt; /* mount options */ member
H A Dsuper.c2737 org_mount_opt = sbi->mount_opt; in __f2fs_remount()
3002 sbi->mount_opt = org_mount_opt; in __f2fs_remount()