Lines Matching refs:test_opt
274 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
280 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
379 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
386 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
390 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
394 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
398 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
399 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
629 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
991 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
999 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1015 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1539 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1541 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1543 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1547 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1552 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1556 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1560 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1565 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1570 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1572 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1576 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1580 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1582 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1584 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1586 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1590 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1599 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1610 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1618 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1620 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1622 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1624 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1643 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1657 if (test_opt(sbi, ATGC)) in f2fs_show_options()
1785 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
1786 bool disable_checkpoint = test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1788 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
1835 disable_checkpoint != test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1862 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
1869 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
1881 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1917 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1930 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
1946 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2165 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2166 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2167 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
3554 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
3769 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
3770 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
3826 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()