| /linux/fs/btrfs/ |
| H A D | super.c | 87 unsigned long long mount_opt; member 285 btrfs_clear_opt(ctx->mount_opt, FORCE_COMPRESS); in btrfs_parse_compress() 290 btrfs_set_opt(ctx->mount_opt, COMPRESS); in btrfs_parse_compress() 291 btrfs_clear_opt(ctx->mount_opt, NODATACOW); in btrfs_parse_compress() 292 btrfs_clear_opt(ctx->mount_opt, NODATASUM); in btrfs_parse_compress() 299 btrfs_set_opt(ctx->mount_opt, COMPRESS); in btrfs_parse_compress() 300 btrfs_clear_opt(ctx->mount_opt, NODATACOW); in btrfs_parse_compress() 301 btrfs_clear_opt(ctx->mount_opt, NODATASUM); in btrfs_parse_compress() 310 btrfs_set_opt(ctx->mount_opt, COMPRESS); in btrfs_parse_compress() 311 btrfs_clear_opt(ctx->mount_opt, NODATACOW); in btrfs_parse_compress() [all …]
|
| H A D | fs.h | 585 unsigned long long mount_opt; member 1159 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \ 1166 if (unlikely(fs_info->mount_opt & BTRFS_MOUNT_FULL_RO_MASK)) in btrfs_is_full_ro()
|
| H A D | ref-verify.c | 882 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 D | zoned.c | 793 ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt); in btrfs_check_zoned_mode() 802 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument 811 if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) { in btrfs_check_mountopts_zoned() 816 if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) { in btrfs_check_mountopts_zoned() 821 if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) { in btrfs_check_mountopts_zoned() 824 btrfs_clear_opt(*mount_opt, DISCARD_ASYNC); in btrfs_check_mountopts_zoned()
|
| H A D | disk-io.c | 3512 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) { in open_ctree()
|
| /linux/fs/erofs/ |
| H A D | internal.h | 63 unsigned int mount_opt; member 154 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option) 155 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option) 156 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
|
| /linux/fs/ext4/ |
| H A D | super.c | 1897 int mount_opt; member 2180 EXT4_SET_CTX(mount_opt); 2181 EXT4_CLEAR_CTX(mount_opt); 2182 EXT4_TEST_CTX(mount_opt); 2207 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in ext4_parse_param() 2209 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in ext4_parse_param() 2419 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param() 2421 ctx_clear_mount_opt(ctx, m->mount_opt); in ext4_parse_param() 2467 ctx_set_mount_opt2(ctx, m->mount_opt); in ext4_parse_param() 2469 ctx_clear_mount_opt2(ctx, m->mount_opt); in ext4_parse_param() 2999 unsigned int mount_opt, def_mount_opt; _ext4_show_options() local [all...] |
| /linux/tools/testing/selftests/landlock/ |
| H A D | fs_test.c | 292 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt() function 311 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt() 379 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1() 1670 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK() 1693 ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK() 1767 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in TEST_F_FORK() 6787 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP() 6798 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP() 7434 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
|
| /linux/fs/f2fs/ |
| H A D | f2fs.h | 150 #define F2FS_OPTION(sbi) ((sbi)->mount_opt) 1916 struct f2fs_mount_info mount_opt; /* mount options */ member
|
| H A D | super.c | 2852 org_mount_opt = sbi->mount_opt; in __f2fs_remount() 3125 sbi->mount_opt = org_mount_opt; in __f2fs_remount()
|