Home
last modified time | relevance | path

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

/openbmc/linux/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, NODATACOW); in btrfs_parse_options()
[all …]
H A Dfs.h428 unsigned long mount_opt; member
927 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
934 btrfs_set_opt(fs_info->mount_opt, opt); \
941 btrfs_clear_opt(fs_info->mount_opt, opt); \
H A Dref-verify.c892 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); in btrfs_ref_tree_mod()
1025 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()
2933 btrfs_clear_opt(fs_info->mount_opt, USEBACKUPROOT); in btrfs_clear_oneshot_options()
2934 btrfs_clear_opt(fs_info->mount_opt, CLEAR_CACHE); in btrfs_clear_oneshot_options()
3319 btrfs_clear_opt(fs_info->mount_opt, SPACE_CACHE); in open_ctree()
/openbmc/linux/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()
1204 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && in ocfs2_check_set_options()
1211 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && in ocfs2_check_set_options()
1218 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL && in ocfs2_check_set_options()
1225 if (!(options->mount_opt & (OCFS2_MOUNT_POSIX_ACL | in ocfs2_check_set_options()
[all …]
/openbmc/linux/fs/erofs/
H A Dinternal.h74 unsigned int mount_opt; member
190 #define clear_opt(opt, option) ((opt)->mount_opt &= ~EROFS_MOUNT_##option)
191 #define set_opt(opt, option) ((opt)->mount_opt |= EROFS_MOUNT_##option)
192 #define test_opt(opt, option) ((opt)->mount_opt & EROFS_MOUNT_##option)
/openbmc/u-boot/test/py/tests/test_fs/
H A Dconftest.py205 mount_opt = 'loop,rw'
207 mount_opt += ',umask=0000'
210 % (mount_opt, device, mount_point), shell=True)
/openbmc/linux/fs/ext4/
H A Dsuper.c1858 int mount_opt; member
2139 EXT4_SET_CTX(mount_opt);
2140 EXT4_CLEAR_CTX(mount_opt);
2141 EXT4_TEST_CTX(mount_opt);
2168 if (m->mount_opt & EXT4_MOUNT_DELALLOC) { in ext4_parse_param()
2170 } else if (m->mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) { in ext4_parse_param()
2392 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2394 ctx_clear_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2440 ctx_set_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
2442 ctx_clear_mount_opt2(ctx, m->mount_opt); in ext4_parse_param()
[all …]
/openbmc/linux/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()
/openbmc/linux/fs/f2fs/
H A Df2fs.h117 #define F2FS_OPTION(sbi) ((sbi)->mount_opt)
1657 struct f2fs_mount_info mount_opt; /* mount options */ member
H A Dsuper.c2305 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2553 sbi->mount_opt = org_mount_opt; in f2fs_remount()