| /linux-6.15/fs/btrfs/ |
| H A D | super.c | 85 unsigned long long mount_opt; member 285 btrfs_set_opt(ctx->mount_opt, DEGRADED); in btrfs_parse_param() 392 btrfs_set_opt(ctx->mount_opt, NOSSD); in btrfs_parse_param() 393 btrfs_clear_opt(ctx->mount_opt, SSD); in btrfs_parse_param() 396 btrfs_set_opt(ctx->mount_opt, SSD); in btrfs_parse_param() 404 btrfs_set_opt(ctx->mount_opt, SSD); in btrfs_parse_param() 661 if (mount_opt & opt) { in check_ro_option() 670 unsigned long long *mount_opt, in btrfs_check_options() argument 1404 fs_info->mount_opt = ctx->mount_opt; in btrfs_ctx_to_info() 1415 ctx->mount_opt = fs_info->mount_opt; in btrfs_info_to_ctx() [all …]
|
| H A D | super.h | 14 unsigned long long *mount_opt,
|
| H A D | zoned.h | 62 unsigned long long *mount_opt); 135 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument
|
| H A D | fs.h | 502 unsigned long long mount_opt; member 1064 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
|
| H A D | zoned.c | 759 ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt); in btrfs_check_zoned_mode() 768 unsigned long long *mount_opt) in btrfs_check_mountopts_zoned() argument 777 if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) { in btrfs_check_mountopts_zoned() 782 if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) { in btrfs_check_mountopts_zoned() 787 if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) { in btrfs_check_mountopts_zoned() 790 btrfs_clear_opt(*mount_opt, DISCARD_ASYNC); in btrfs_check_mountopts_zoned()
|
| H A D | ref-verify.c | 900 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod() 1033 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
|
| H A D | disk-io.c | 3407 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) { in open_ctree()
|
| /linux-6.15/fs/ocfs2/ |
| H A D | super.c | 76 unsigned long mount_opt; member 1208 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_init_fs_context() 1294 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1298 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_param() 1304 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_param() 1306 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_param() 1312 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1316 mopt->mount_opt |= result.uint_32; in ocfs2_parse_param() 1372 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_param() 1375 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_param() [all …]
|
| /linux-6.15/fs/erofs/ |
| H A D | internal.h | 66 unsigned int mount_opt; member 178 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option) 179 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option) 180 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
|
| /linux-6.15/fs/ext4/ |
| H A D | super.c | 1833 int mount_opt; member 2113 EXT4_SET_CTX(mount_opt); 2114 EXT4_CLEAR_CTX(mount_opt); 2115 EXT4_TEST_CTX(mount_opt); 2352 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param() 2938 unsigned int mount_opt, def_mount_opt; in _ext4_show_options() local 2945 mount_opt = sbi->s_mount_opt2; in _ext4_show_options() 2948 mount_opt = sbi->s_mount_opt; in _ext4_show_options() 2952 if (!nodefs && !(m->mount_opt & (mount_opt ^ def_mount_opt))) in _ext4_show_options() 2956 (mount_opt & m->mount_opt) != m->mount_opt) || in _ext4_show_options() [all …]
|
| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | fs_test.c | 288 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) in mount_opt() function 307 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt() 375 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2)); in create_layout1() 1759 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK() 1787 ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2)); in TEST_F_FORK() 4911 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE)); in FIXTURE_SETUP() 4921 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE)); in FIXTURE_SETUP() 5548 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
|
| /linux-6.15/fs/f2fs/ |
| H A D | super.c | 2347 org_mount_opt = sbi->mount_opt; in f2fs_remount() 2625 sbi->mount_opt = org_mount_opt; in f2fs_remount()
|
| H A D | f2fs.h | 126 #define F2FS_OPTION(sbi) ((sbi)->mount_opt) 1695 struct f2fs_mount_info mount_opt; /* mount options */ member
|