Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dsuper.c236 if (fs_info->mount_opt & opt) { in check_ro_option()
267 btrfs_set_opt(info->mount_opt, USEBACKUPROOT); in parse_rescue_options()
325 btrfs_set_opt(info->mount_opt, FREE_SPACE_TREE); in btrfs_parse_options()
332 btrfs_set_opt(info->mount_opt, SPACE_CACHE); in btrfs_parse_options()
352 btrfs_set_opt(info->mount_opt, DEGRADED); in btrfs_parse_options()
375 btrfs_clear_opt(info->mount_opt, NODATACOW); in btrfs_parse_options()
376 btrfs_clear_opt(info->mount_opt, NODATASUM); in btrfs_parse_options()
388 btrfs_clear_opt(info->mount_opt, COMPRESS); in btrfs_parse_options()
389 btrfs_clear_opt(info->mount_opt, FORCE_COMPRESS); in btrfs_parse_options()
390 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.c891 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod()
1024 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
Ddisk-io.c2611 btrfs_set_opt(fs_info->mount_opt, CLEAR_CACHE); in init_tree_roots()
2932 btrfs_clear_opt(fs_info->mount_opt, USEBACKUPROOT); in btrfs_clear_oneshot_options()
2933 btrfs_clear_opt(fs_info->mount_opt, CLEAR_CACHE); in btrfs_clear_oneshot_options()
3318 btrfs_clear_opt(fs_info->mount_opt, SPACE_CACHE); in open_ctree()
/linux-6.6.21/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-6.6.21/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-6.6.21/fs/ext4/
Dsuper.c1850 int mount_opt; member
2131 EXT4_SET_CTX(mount_opt);
2132 EXT4_CLEAR_CTX(mount_opt);
2133 EXT4_TEST_CTX(mount_opt);
2160 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in ext4_parse_param()
2162 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in ext4_parse_param()
2384 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2386 ctx_clear_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2432 ctx_set_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
2434 ctx_clear_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
[all …]
/linux-6.6.21/tools/testing/selftests/landlock/
Dfs_test.c251 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt() function
270 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
330 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1()
4131 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP()
4141 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP()
4760 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
/linux-6.6.21/fs/f2fs/
Df2fs.h112 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1648 struct f2fs_mount_info mount_opt; /* mount options */ member
Dsuper.c2341 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2595 sbi->mount_opt = org_mount_opt; in f2fs_remount()