Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Dsuper.c86 unsigned long long mount_opt; member
286 btrfs_set_opt(ctx->mount_opt, DEGRADED); in btrfs_parse_param()
393 btrfs_set_opt(ctx->mount_opt, NOSSD); in btrfs_parse_param()
394 btrfs_clear_opt(ctx->mount_opt, SSD); in btrfs_parse_param()
397 btrfs_set_opt(ctx->mount_opt, SSD); in btrfs_parse_param()
405 btrfs_set_opt(ctx->mount_opt, SSD); in btrfs_parse_param()
658 if (mount_opt & opt) { in check_ro_option()
667 unsigned long long *mount_opt, in btrfs_check_options() argument
1403 fs_info->mount_opt = ctx->mount_opt; in btrfs_ctx_to_info()
1414 ctx->mount_opt = fs_info->mount_opt; in btrfs_info_to_ctx()
[all …]
A Dsuper.h14 unsigned long long *mount_opt,
A Dzoned.h62 unsigned long long *mount_opt);
134 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument
A Dfs.h484 unsigned long long mount_opt; member
1022 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
A Dzoned.c755 ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt); in btrfs_check_zoned_mode()
764 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument
773 if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) { in btrfs_check_mountopts_zoned()
778 if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) { in btrfs_check_mountopts_zoned()
783 if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) { in btrfs_check_mountopts_zoned()
786 btrfs_clear_opt(*mount_opt, DISCARD_ASYNC); in btrfs_check_mountopts_zoned()
A Dref-verify.c899 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod()
1032 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
A Ddisk-io.c3334 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) { in open_ctree()
/linux/fs/ocfs2/
A Dsuper.c76 unsigned long mount_opt; member
1249 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1269 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1272 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1275 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1283 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1288 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1291 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1398 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1401 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
[all …]
/linux/fs/erofs/
A Dinternal.h73 unsigned int mount_opt; member
190 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
191 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
192 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
/linux/fs/ext4/
A Dsuper.c1842 int mount_opt; member
2122 EXT4_SET_CTX(mount_opt);
2123 EXT4_CLEAR_CTX(mount_opt);
2124 EXT4_TEST_CTX(mount_opt);
2361 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2940 unsigned int mount_opt, def_mount_opt; in _ext4_show_options() local
2947 mount_opt = sbi->s_mount_opt2; in _ext4_show_options()
2950 mount_opt = sbi->s_mount_opt; in _ext4_show_options()
2954 if (!nodefs && !(m->mount_opt & (mount_opt ^ def_mount_opt))) in _ext4_show_options()
2958 (mount_opt & m->mount_opt) != m->mount_opt) || in _ext4_show_options()
[all …]
/linux/tools/testing/selftests/landlock/
A Dfs_test.c271 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt() function
290 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
358 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
1740 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK()
1768 ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK()
4756 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP()
4766 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP()
5393 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
/linux/fs/f2fs/
A Df2fs.h119 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1673 struct f2fs_mount_info mount_opt; /* mount options */ member
A Dsuper.c2297 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2561 sbi->mount_opt = org_mount_opt; in f2fs_remount()

Completed in 108 milliseconds