Searched refs:mount_opt (Results 1 - 13 of 13) sorted by path

/linux-master/fs/btrfs/
H A Ddisk-io.c3324 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) {
H A Dfs.h482 unsigned long mount_opt; member in struct:btrfs_fs_info
1015 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
H A Dref-verify.c894 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
1027 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
H A Dsuper.c84 unsigned long mount_opt; member in struct:btrfs_fs_context
278 btrfs_set_opt(ctx->mount_opt, DEGRADED);
313 btrfs_set_opt(ctx->mount_opt, NODATASUM);
315 btrfs_clear_opt(ctx->mount_opt, NODATACOW);
316 btrfs_clear_opt(ctx->mount_opt, NODATASUM);
321 btrfs_clear_opt(ctx->mount_opt, COMPRESS);
322 btrfs_clear_opt(ctx->mount_opt, FORCE_COMPRESS);
323 btrfs_set_opt(ctx->mount_opt, NODATACOW);
324 btrfs_set_opt(ctx->mount_opt, NODATASUM);
326 btrfs_clear_opt(ctx->mount_opt, NODATACO
624 check_ro_option(struct btrfs_fs_info *fs_info, unsigned long mount_opt, unsigned long opt, const char *opt_name) argument
636 btrfs_check_options(struct btrfs_fs_info *info, unsigned long *mount_opt, unsigned long flags) argument
[all...]
H A Dsuper.h13 bool btrfs_check_options(struct btrfs_fs_info *info, unsigned long *mount_opt,
H A Dzoned.c765 ret = btrfs_check_mountopts_zoned(fs_info, &fs_info->mount_opt);
773 int btrfs_check_mountopts_zoned(struct btrfs_fs_info *info, unsigned long *mount_opt) argument
782 if (btrfs_raw_test_opt(*mount_opt, SPACE_CACHE)) {
787 if (btrfs_raw_test_opt(*mount_opt, NODATACOW)) {
792 if (btrfs_raw_test_opt(*mount_opt, DISCARD_ASYNC)) {
795 btrfs_clear_opt(*mount_opt, DISCARD_ASYNC);
H A Dzoned.h63 int btrfs_check_mountopts_zoned(struct btrfs_fs_info *info, unsigned long *mount_opt);
140 unsigned long *mount_opt)
139 btrfs_check_mountopts_zoned(struct btrfs_fs_info *info, unsigned long *mount_opt) argument
/linux-master/fs/erofs/
H A Dinternal.h76 unsigned int mount_opt; member in struct:erofs_mount_opts
199 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
200 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
201 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
/linux-master/fs/ext4/
H A Dsuper.c1857 int mount_opt; member in struct:mount_opts
2138 EXT4_SET_CTX(mount_opt); variable
2139 EXT4_CLEAR_CTX(mount_opt); variable
2140 EXT4_TEST_CTX(mount_opt); variable
2167 if (m->mount_opt & EXT4_MOUNT_DELALLOC) {
2169 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) {
2391 ctx_set_mount_opt(ctx, m->mount_opt);
2393 ctx_clear_mount_opt(ctx, m->mount_opt);
2439 ctx_set_mount_opt2(ctx, m->mount_opt);
2441 ctx_clear_mount_opt2(ctx, m->mount_opt);
2971 unsigned int mount_opt, def_mount_opt; local
[all...]
/linux-master/fs/f2fs/
H A Df2fs.h120 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1659 struct f2fs_mount_info mount_opt; /* mount options */ member in struct:f2fs_sb_info
H A Dsuper.c2292 org_mount_opt = sbi->mount_opt;
2545 sbi->mount_opt = org_mount_opt;
/linux-master/fs/ocfs2/
H A Dsuper.c76 unsigned long mount_opt; member in struct:mount_options
621 if ((osb->s_mount_opt & tmp) != (parsed_options.mount_opt & tmp)) {
628 (parsed_options.mount_opt & OCFS2_MOUNT_DATA_WRITEBACK)) {
637 (parsed_options.mount_opt & OCFS2_MOUNT_INODE64)) {
704 osb->s_mount_opt = parsed_options.mount_opt;
1006 osb->s_mount_opt = parsed_options.mount_opt;
1202 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA &&
1209 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA &&
1216 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL &&
1223 if (!(options->mount_opt
[all...]
/linux-master/tools/testing/selftests/landlock/
H A Dfs_test.c251 static int mount_opt(const struct mnt_opt *const mnt, const char *const target) function
270 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR))
332 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s3d2));
1710 ASSERT_EQ(0, mount_opt(&mnt_tmp, dir_s1d2));
1738 ASSERT_EQ(-1, mount_opt(&mnt_tmp, dir_s1d2));
4240 ASSERT_EQ(0, mount_opt(&mnt_tmp, LOWER_BASE));
4250 ASSERT_EQ(0, mount_opt(&mnt_tmp, UPPER_BASE));
4867 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR));

Completed in 303 milliseconds