Home
last modified time | relevance | path

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

/linux/fs/erofs/
H A Dinternal.h62 unsigned int mount_opt; member
181 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
182 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
183 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
/linux/fs/ext4/
H A Dsuper.c1878 int mount_opt; member
2161 EXT4_SET_CTX(mount_opt);
2162 EXT4_CLEAR_CTX(mount_opt);
2163 EXT4_TEST_CTX(mount_opt);
2188 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in ext4_parse_param()
2190 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in ext4_parse_param()
2400 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2402 ctx_clear_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2448 ctx_set_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
2450 ctx_clear_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
[all …]
/linux/fs/btrfs/
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.h571 unsigned long long mount_opt; member
1146 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
H A Dzoned.c777 ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt); in btrfs_check_zoned_mode()
786 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument
795 if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) { in btrfs_check_mountopts_zoned()
800 if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) { in btrfs_check_mountopts_zoned()
805 if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) { in btrfs_check_mountopts_zoned()
808 btrfs_clear_opt(*mount_opt, DISCARD_ASYNC); in btrfs_check_mountopts_zoned()
H A Ddisk-io.c3274 if (unlikely(fs_info->mount_opt & BTRFS_MOUNT_FULL_RO_MASK)) in fs_is_full_ro()
3416 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) { in open_ctree()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c289 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt()
308 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
376 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
1667 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK()
1690 ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK()
1764 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in TEST_F_FORK()
6593 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in TEST_F_FORK()
6603 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in TEST_F_FORK()
7201 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F()
288 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) mount_opt() function