Lines Matching refs:test_opt
291 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
297 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
436 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
443 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
447 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
451 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
455 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
456 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
686 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1054 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1062 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1078 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1602 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1605 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1607 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1609 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1613 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1618 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1622 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1626 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1631 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1636 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1638 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1642 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1646 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1648 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1650 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1652 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1656 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1665 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1676 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1684 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1686 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1688 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1690 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1709 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1723 if (test_opt(sbi, ATGC)) in f2fs_show_options()
1863 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
1864 bool disable_checkpoint = test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1866 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
1913 disable_checkpoint != test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1940 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
1947 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
1959 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1972 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
1996 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2009 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2025 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2244 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2245 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2246 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
3689 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
3910 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
3911 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
3967 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
3980 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()