Home
last modified time | relevance | path

Searched refs:mount_opt (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-6.6/fs/btrfs/
H A 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, NODATACO in btrfs_parse_options()
[all...]
H A 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); \
H A 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()
H A 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()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dsuper.c484 btrfs_set_opt(info->mount_opt, USEBACKUPROOT); in parse_rescue_options()
526 btrfs_set_opt(info->mount_opt, FREE_SPACE_TREE); in btrfs_parse_options()
528 btrfs_set_opt(info->mount_opt, SPACE_CACHE); in btrfs_parse_options()
546 btrfs_set_opt(info->mount_opt, DEGRADED); in btrfs_parse_options()
569 btrfs_clear_opt(info->mount_opt, NODATACOW); in btrfs_parse_options()
570 btrfs_clear_opt(info->mount_opt, NODATASUM); in btrfs_parse_options()
582 btrfs_clear_opt(info->mount_opt, COMPRESS); in btrfs_parse_options()
583 btrfs_clear_opt(info->mount_opt, FORCE_COMPRESS); in btrfs_parse_options()
584 btrfs_set_opt(info->mount_opt, NODATACOW); in btrfs_parse_options()
585 btrfs_set_opt(info->mount_opt, NODATASU in btrfs_parse_options()
[all...]
H A Dctree.h642 unsigned long mount_opt; member
1314 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
1321 btrfs_set_opt(fs_info->mount_opt, opt); \
1328 btrfs_clear_opt(fs_info->mount_opt, opt); \
1358 if (!btrfs_raw_test_opt((info)->mount_opt, opt)) { \
1367 if (btrfs_raw_test_opt((info)->mount_opt, opt)) { \
3363 * If BTRFS_MOUNT_PANIC_ON_FATAL_ERROR is in mount_opt, __btrfs_panic
H A Dref-verify.c904 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod()
1035 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_build_ref_tree()
H A Dtransaction.c2522 btrfs_set_opt(fs_info->mount_opt, INODE_MAP_CACHE); in btrfs_apply_pending_changes()
2527 btrfs_clear_opt(fs_info->mount_opt, INODE_MAP_CACHE); in btrfs_apply_pending_changes()
H A Ddisk-io.c2673 btrfs_set_opt(fs_info->mount_opt, CLEAR_CACHE); in init_tree_roots()
3451 btrfs_clear_opt(fs_info->mount_opt, USEBACKUPROOT); in open_ctree()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dsuper.c79 unsigned long mount_opt; member
624 if ((osb->s_mount_opt & tmp) != (parsed_options.mount_opt & tmp)) { in ocfs2_remount()
631 (parsed_options.mount_opt & OCFS2_MOUNT_DATA_WRITEBACK)) { in ocfs2_remount()
640 (parsed_options.mount_opt & OCFS2_MOUNT_INODE64)) { in ocfs2_remount()
707 osb->s_mount_opt = parsed_options.mount_opt; in ocfs2_remount()
1011 osb->s_mount_opt = parsed_options.mount_opt; in ocfs2_fill_super()
1207 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && in ocfs2_check_set_options()
1214 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && in ocfs2_check_set_options()
1221 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL && in ocfs2_check_set_options()
1228 if (!(options->mount_opt in ocfs2_check_set_options()
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A 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 in ocfs2_check_set_options()
[all...]
/kernel/linux/linux-5.10/fs/erofs/
H A Dinternal.h57 unsigned int mount_opt; member
106 #define clear_opt(ctx, option) ((ctx)->mount_opt &= ~EROFS_MOUNT_##option)
107 #define set_opt(ctx, option) ((ctx)->mount_opt |= EROFS_MOUNT_##option)
108 #define test_opt(ctx, option) ((ctx)->mount_opt & EROFS_MOUNT_##option)
/kernel/linux/linux-6.6/fs/erofs/
H A 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)
/kernel/linux/linux-6.6/fs/ext4/
H A Dsuper.c1850 int mount_opt; member
2131 EXT4_SET_CTX(mount_opt); variable
2132 EXT4_CLEAR_CTX(mount_opt); variable
2133 EXT4_TEST_CTX(mount_opt); variable
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()
2973 unsigned int mount_opt, def_mount_opt; _ext4_show_options() local
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dsuper.c1910 int mount_opt; member
2174 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in handle_mount_opt()
2176 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in handle_mount_opt()
2310 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { in handle_mount_opt()
2317 sbi->s_mount_opt |= m->mount_opt; in handle_mount_opt()
2322 sbi->s_jquota_fmt != m->mount_opt) { in handle_mount_opt()
2333 sbi->s_jquota_fmt = m->mount_opt; in handle_mount_opt()
2388 sbi->s_mount_opt |= m->mount_opt; in handle_mount_opt()
2390 sbi->s_mount_opt &= ~m->mount_opt; in handle_mount_opt()
2404 sbi->s_mount_opt2 |= m->mount_opt; in handle_mount_opt()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
H A 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()
/kernel/linux/linux-5.10/fs/f2fs/
H A Dsuper.c1886 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2056 sbi->mount_opt = org_mount_opt; in f2fs_remount()
H A Df2fs.h109 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1498 struct f2fs_mount_info mount_opt; /* mount options */ member
/kernel/linux/linux-6.6/fs/f2fs/
H A Dsuper.c2347 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2601 sbi->mount_opt = org_mount_opt; in f2fs_remount()
H A Df2fs.h117 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1652 struct f2fs_mount_info mount_opt; /* mount options */ member

Completed in 71 milliseconds