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

/linux-4.1.27/fs/ocfs2/
H A Dsuper.c97 unsigned long mount_opt; member in struct:mount_options
656 if ((osb->s_mount_opt & tmp) != (parsed_options.mount_opt & tmp)) { ocfs2_remount()
663 (parsed_options.mount_opt & OCFS2_MOUNT_DATA_WRITEBACK)) { ocfs2_remount()
672 (parsed_options.mount_opt & OCFS2_MOUNT_INODE64)) { ocfs2_remount()
739 osb->s_mount_opt = parsed_options.mount_opt; ocfs2_remount()
1043 osb->s_mount_opt = parsed_options.mount_opt; ocfs2_fill_super()
1242 if (options->mount_opt & OCFS2_MOUNT_USRQUOTA && ocfs2_check_set_options()
1249 if (options->mount_opt & OCFS2_MOUNT_GRPQUOTA && ocfs2_check_set_options()
1256 if (options->mount_opt & OCFS2_MOUNT_POSIX_ACL && ocfs2_check_set_options()
1263 if (!(options->mount_opt & (OCFS2_MOUNT_POSIX_ACL | ocfs2_check_set_options()
1266 options->mount_opt |= OCFS2_MOUNT_POSIX_ACL; ocfs2_check_set_options()
1268 options->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; ocfs2_check_set_options()
1285 mopt->mount_opt = OCFS2_MOUNT_NOINTR; ocfs2_parse_options()
1308 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; ocfs2_parse_options()
1311 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; ocfs2_parse_options()
1314 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; ocfs2_parse_options()
1322 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; ocfs2_parse_options()
1324 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; ocfs2_parse_options()
1327 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; ocfs2_parse_options()
1330 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; ocfs2_parse_options()
1333 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; ocfs2_parse_options()
1336 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; ocfs2_parse_options()
1339 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; ocfs2_parse_options()
1342 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; ocfs2_parse_options()
1345 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; ocfs2_parse_options()
1348 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; ocfs2_parse_options()
1400 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; ocfs2_parse_options()
1431 mopt->mount_opt |= OCFS2_MOUNT_INODE64; ocfs2_parse_options()
1434 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; ocfs2_parse_options()
1437 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; ocfs2_parse_options()
1440 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; ocfs2_parse_options()
1443 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; ocfs2_parse_options()
1446 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; ocfs2_parse_options()
1447 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; ocfs2_parse_options()
1450 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; ocfs2_parse_options()
1451 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; ocfs2_parse_options()
1476 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; ocfs2_parse_options()
1489 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | ocfs2_parse_options()
/linux-4.1.27/fs/btrfs/
H A Dsuper.c299 if (fs_info && (fs_info->mount_opt & BTRFS_MOUNT_PANIC_ON_FATAL_ERROR)) __btrfs_panic()
401 btrfs_set_opt(info->mount_opt, SPACE_CACHE); btrfs_parse_options()
425 btrfs_set_opt(info->mount_opt, DEGRADED); btrfs_parse_options()
447 btrfs_clear_opt(info->mount_opt, NODATACOW); btrfs_parse_options()
448 btrfs_clear_opt(info->mount_opt, NODATASUM); btrfs_parse_options()
460 btrfs_clear_opt(info->mount_opt, COMPRESS); btrfs_parse_options()
461 btrfs_clear_opt(info->mount_opt, FORCE_COMPRESS); btrfs_parse_options()
462 btrfs_set_opt(info->mount_opt, NODATACOW); btrfs_parse_options()
463 btrfs_set_opt(info->mount_opt, NODATASUM); btrfs_parse_options()
480 btrfs_set_opt(info->mount_opt, COMPRESS); btrfs_parse_options()
481 btrfs_clear_opt(info->mount_opt, NODATACOW); btrfs_parse_options()
482 btrfs_clear_opt(info->mount_opt, NODATASUM); btrfs_parse_options()
486 btrfs_set_opt(info->mount_opt, COMPRESS); btrfs_parse_options()
487 btrfs_clear_opt(info->mount_opt, NODATACOW); btrfs_parse_options()
488 btrfs_clear_opt(info->mount_opt, NODATASUM); btrfs_parse_options()
492 btrfs_clear_opt(info->mount_opt, COMPRESS); btrfs_parse_options()
493 btrfs_clear_opt(info->mount_opt, FORCE_COMPRESS); btrfs_parse_options()
515 btrfs_clear_opt(info->mount_opt, FORCE_COMPRESS); btrfs_parse_options()
525 btrfs_set_opt(info->mount_opt, SSD); btrfs_parse_options()
530 btrfs_clear_opt(info->mount_opt, SSD); btrfs_parse_options()
638 btrfs_set_opt(info->mount_opt, RESCAN_UUID_TREE); btrfs_parse_options()
657 btrfs_set_opt(info->mount_opt, USER_SUBVOL_RM_ALLOWED); btrfs_parse_options()
660 btrfs_set_opt(info->mount_opt, ENOSPC_DEBUG); btrfs_parse_options()
663 btrfs_clear_opt(info->mount_opt, ENOSPC_DEBUG); btrfs_parse_options()
675 btrfs_set_opt(info->mount_opt, RECOVERY); btrfs_parse_options()
678 btrfs_set_opt(info->mount_opt, SKIP_BALANCE); btrfs_parse_options()
684 btrfs_set_opt(info->mount_opt, btrfs_parse_options()
686 btrfs_set_opt(info->mount_opt, CHECK_INTEGRITY); btrfs_parse_options()
690 btrfs_set_opt(info->mount_opt, CHECK_INTEGRITY); btrfs_parse_options()
716 btrfs_set_opt(info->mount_opt, btrfs_parse_options()
719 btrfs_clear_opt(info->mount_opt, btrfs_parse_options()
1458 (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || btrfs_remount_begin()
1476 (!btrfs_raw_test_opt(fs_info->mount_opt, AUTO_DEFRAG) || btrfs_remount_cleanup()
1489 unsigned long old_opts = fs_info->mount_opt; btrfs_remount()
1616 fs_info->mount_opt = old_opts; btrfs_remount()
H A Dctree.h1445 unsigned long mount_opt; member in struct:btrfs_fs_info
2162 #define btrfs_test_opt(root, opt) ((root)->fs_info->mount_opt & \
2169 btrfs_set_opt(root->fs_info->mount_opt, opt); \
2176 btrfs_clear_opt(root->fs_info->mount_opt, opt); \
2206 if (!btrfs_raw_test_opt((info)->mount_opt, opt)) { \
2215 if (btrfs_raw_test_opt((info)->mount_opt, opt)) { \
4140 * If BTRFS_MOUNT_PANIC_ON_FATAL_ERROR is in mount_opt, __btrfs_panic
H A Dtransaction.c2191 btrfs_set_opt(fs_info->mount_opt, INODE_MAP_CACHE); btrfs_apply_pending_changes()
2196 btrfs_clear_opt(fs_info->mount_opt, INODE_MAP_CACHE); btrfs_apply_pending_changes()
H A Ddisk-io.c2951 btrfs_set_opt(fs_info->mount_opt, SSD); open_ctree()
3129 btrfs_set_opt(fs_info->mount_opt, CLEAR_CACHE); open_ctree()
H A Dextent-tree.c591 if (fs_info->mount_opt & BTRFS_MOUNT_SPACE_CACHE) { cache_block_group()
/linux-4.1.27/fs/f2fs/
H A Dsuper.c675 org_mount_opt = sbi->mount_opt; f2fs_remount()
678 sbi->mount_opt.opt = 0; f2fs_remount()
736 sbi->mount_opt = org_mount_opt; f2fs_remount()
H A Df2fs.h55 #define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option)
56 #define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option)
57 #define test_opt(sbi, option) (sbi->mount_opt.opt & F2FS_MOUNT_##option)
673 struct f2fs_mount_info mount_opt; /* mount options */ member in struct:f2fs_sb_info
/linux-4.1.27/fs/ext4/
H A Dsuper.c1349 int mount_opt; member in struct:mount_opts
1620 else if (test_opt(sb, DATA_FLAGS) != m->mount_opt) { handle_mount_opt()
1627 sbi->s_mount_opt |= m->mount_opt; handle_mount_opt()
1632 sbi->s_jquota_fmt != m->mount_opt) { handle_mount_opt()
1644 sbi->s_jquota_fmt = m->mount_opt; handle_mount_opt()
1663 sbi->s_mount_opt |= m->mount_opt; handle_mount_opt()
1665 sbi->s_mount_opt &= ~m->mount_opt; handle_mount_opt()
1808 if (!(m->mount_opt & (sbi->s_mount_opt ^ def_mount_opt))) _ext4_show_options()
1811 (sbi->s_mount_opt & m->mount_opt) != m->mount_opt) || _ext4_show_options()
1812 (!want_set && (sbi->s_mount_opt & m->mount_opt))) _ext4_show_options()

Completed in 339 milliseconds