Home
last modified time | relevance | path

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

/Linux-v6.6/fs/btrfs/
Dsuper.c233 if (fs_info->mount_opt & opt) { in check_ro_option()
264 btrfs_set_opt(info->mount_opt, USEBACKUPROOT); in parse_rescue_options()
322 btrfs_set_opt(info->mount_opt, FREE_SPACE_TREE); in btrfs_parse_options()
329 btrfs_set_opt(info->mount_opt, SPACE_CACHE); in btrfs_parse_options()
349 btrfs_set_opt(info->mount_opt, DEGRADED); in btrfs_parse_options()
372 btrfs_clear_opt(info->mount_opt, NODATACOW); in btrfs_parse_options()
373 btrfs_clear_opt(info->mount_opt, NODATASUM); in btrfs_parse_options()
385 btrfs_clear_opt(info->mount_opt, COMPRESS); in btrfs_parse_options()
386 btrfs_clear_opt(info->mount_opt, FORCE_COMPRESS); in btrfs_parse_options()
387 btrfs_set_opt(info->mount_opt, NODATACOW); in btrfs_parse_options()
[all …]
Dfs.h426 unsigned long mount_opt; member
925 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
932 btrfs_set_opt(fs_info->mount_opt, opt); \
939 btrfs_clear_opt(fs_info->mount_opt, opt); \
Dref-verify.c888 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod()
1019 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
Ddisk-io.c2602 btrfs_set_opt(fs_info->mount_opt, CLEAR_CACHE); in init_tree_roots()
2923 btrfs_clear_opt(fs_info->mount_opt, USEBACKUPROOT); in btrfs_clear_oneshot_options()
2924 btrfs_clear_opt(fs_info->mount_opt, CLEAR_CACHE); in btrfs_clear_oneshot_options()
3308 btrfs_clear_opt(fs_info->mount_opt, SPACE_CACHE); in open_ctree()
/Linux-v6.6/fs/ocfs2/
Dsuper.c76 unsigned long mount_opt; member
621 if ((osb->s_mount_opt & tmp) != (parsed_options.mount_opt & tmp)) { in ocfs2_remount()
628 (parsed_options.mount_opt & OCFS2_MOUNT_DATA_WRITEBACK)) { in ocfs2_remount()
637 (parsed_options.mount_opt & OCFS2_MOUNT_INODE64)) { in ocfs2_remount()
704 osb->s_mount_opt = parsed_options.mount_opt; in ocfs2_remount()
1006 osb->s_mount_opt = parsed_options.mount_opt; in ocfs2_fill_super()
1202 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && in ocfs2_check_set_options()
1209 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && in ocfs2_check_set_options()
1216 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL && in ocfs2_check_set_options()
1223 if (!(options->mount_opt & (OCFS2_MOUNT_POSIX_ACL | in ocfs2_check_set_options()
[all …]
/Linux-v6.6/fs/erofs/
Dinternal.h74 unsigned int mount_opt; member
197 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
198 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
199 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
/Linux-v6.6/fs/ext4/
Dsuper.c1849 int mount_opt; member
2130 EXT4_SET_CTX(mount_opt);
2131 EXT4_CLEAR_CTX(mount_opt);
2132 EXT4_TEST_CTX(mount_opt);
2159 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in ext4_parse_param()
2161 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in ext4_parse_param()
2383 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2385 ctx_clear_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2431 ctx_set_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
2433 ctx_clear_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
[all …]
/Linux-v6.6/tools/testing/selftests/landlock/
Dfs_test.c249 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt() function
268 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
328 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
4129 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP()
4139 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP()
4755 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
/Linux-v6.6/fs/f2fs/
Df2fs.h112 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1648 struct f2fs_mount_info mount_opt; /* mount options */ member
Dsuper.c2308 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2562 sbi->mount_opt = org_mount_opt; in f2fs_remount()