/linux-master/fs/btrfs/ |
H A D | super.c | 84 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 D | super.h | 13 bool btrfs_check_options(struct btrfs_fs_info *info, unsigned long *mount_opt,
|
H A D | zoned.h | 63 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
|
H A D | fs.h | 482 unsigned long mount_opt; member in struct:btrfs_fs_info 1015 #define btrfs_test_opt(fs_info, opt) ((fs_info)->mount_opt & \
|
H A D | zoned.c | 765 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 D | ref-verify.c | 894 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY); 1027 btrfs_clear_opt(fs_info->mount_opt, REF_VERIFY);
|
H A D | disk-io.c | 3324 if (!btrfs_check_options(fs_info, &fs_info->mount_opt, sb->s_flags)) {
|
/linux-master/fs/ocfs2/ |
H A D | super.c | 76 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/fs/erofs/ |
H A D | internal.h | 76 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 D | super.c | 1857 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/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 251 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));
|
/linux-master/fs/f2fs/ |
H A D | super.c | 2292 org_mount_opt = sbi->mount_opt; 2545 sbi->mount_opt = org_mount_opt;
|
H A D | f2fs.h | 120 #define F2FS_OPTION(sbi) ((sbi)->mount_opt) 1659 struct f2fs_mount_info mount_opt; /* mount options */ member in struct:f2fs_sb_info
|