Lines Matching refs:test_opt

312 	if (test_opt(sbi, RESERVE_ROOT) &&  in limit_reserve_root()
318 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
417 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
424 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
428 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
432 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
436 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
437 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
778 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1263 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1271 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1287 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1821 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
1837 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1840 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1842 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1844 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1848 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1853 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1857 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1861 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1866 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1871 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1873 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1877 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1881 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1883 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1885 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1887 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1891 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1900 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1911 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1919 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1921 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1923 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1925 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1944 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1947 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
1962 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2122 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
2123 bool enable_checkpoint = !test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2125 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
2126 bool no_discard = !test_opt(sbi, DISCARD); in f2fs_remount()
2127 bool no_compress_cache = !test_opt(sbi, COMPRESS_CACHE); in f2fs_remount()
2205 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
2212 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
2224 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in f2fs_remount()
2236 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2249 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
2271 if ((*flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in f2fs_remount()
2272 !test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_remount()
2290 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2301 if (no_discard == !!test_opt(sbi, DISCARD)) { in f2fs_remount()
2302 if (test_opt(sbi, DISCARD)) { in f2fs_remount()
2316 if (enable_checkpoint == !!test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2317 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2334 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2575 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2576 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2577 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
3991 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4126 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4127 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
4219 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
4220 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
4282 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
4295 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
4429 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()