Lines Matching refs:test_opt
313 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
319 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
418 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
425 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
429 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
433 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
437 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
438 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
779 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1268 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1276 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1292 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1826 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
1842 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1845 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1847 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1849 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1853 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1858 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1862 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1866 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1871 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1876 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1878 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1882 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1886 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1888 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1890 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1892 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1896 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1909 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1920 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1928 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1930 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1932 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1934 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1953 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1956 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
1971 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2131 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
2132 bool enable_checkpoint = !test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2134 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
2135 bool no_discard = !test_opt(sbi, DISCARD); in f2fs_remount()
2136 bool no_compress_cache = !test_opt(sbi, COMPRESS_CACHE); in f2fs_remount()
2214 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
2221 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
2233 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in f2fs_remount()
2245 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2258 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
2280 if ((*flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in f2fs_remount()
2281 !test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_remount()
2299 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2310 if (no_discard == !!test_opt(sbi, DISCARD)) { in f2fs_remount()
2311 if (test_opt(sbi, DISCARD)) { in f2fs_remount()
2325 if (enable_checkpoint == !!test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2326 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2343 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2594 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2595 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2596 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
4023 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4158 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4159 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
4251 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
4252 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
4314 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
4327 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
4463 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()