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()
352 btrfs_set_opt(info->mount_opt, DEGRADED); in btrfs_parse_options()
492 btrfs_clear_opt(info->mount_opt, NOSSD); in btrfs_parse_options()
499 btrfs_clear_opt(info->mount_opt, NOSSD); in btrfs_parse_options()
502 btrfs_set_opt(info->mount_opt, NOSSD); in btrfs_parse_options()
633 btrfs_clear_opt(info->mount_opt, in btrfs_parse_options()
638 btrfs_clear_opt(info->mount_opt, in btrfs_parse_options()
753 btrfs_set_opt(info->mount_opt, in btrfs_parse_options()
756 btrfs_clear_opt(info->mount_opt, in btrfs_parse_options()
801 btrfs_set_opt(info->mount_opt, 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()
/openbmc/linux/fs/ocfs2/
H A Dsuper.c76 unsigned long mount_opt; member
1249 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1269 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1272 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1275 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1283 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1288 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1291 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1398 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1401 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_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.c1850 int mount_opt; member
2131 EXT4_SET_CTX(mount_opt);
2132 EXT4_CLEAR_CTX(mount_opt);
2133 EXT4_TEST_CTX(mount_opt);
2384 ctx_set_mount_opt(ctx, m->mount_opt); in ext4_parse_param()
2973 unsigned int mount_opt, def_mount_opt; in _ext4_show_options() local
2980 mount_opt = sbi->s_mount_opt2; in _ext4_show_options()
2983 mount_opt = sbi->s_mount_opt; in _ext4_show_options()
2987 if (!nodefs && !(m->mount_opt & (mount_opt ^ def_mount_opt))) in _ext4_show_options()
2991 (mount_opt & m->mount_opt) != m->mount_opt) || in _ext4_show_options()
[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)
1648 struct f2fs_mount_info mount_opt; /* mount options */ member
H A Dsuper.c2280 org_mount_opt = sbi->mount_opt; in f2fs_remount()
2528 sbi->mount_opt = org_mount_opt; in f2fs_remount()