Lines Matching refs:test_opt

310 	if (test_opt(sbi, RESERVE_ROOT) &&  in limit_reserve_root()
317 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
456 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
463 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
467 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
471 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
475 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
476 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
775 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1220 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1228 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1244 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1781 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
1797 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1800 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1802 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1804 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1808 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1813 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1817 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1821 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1826 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1831 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1833 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1837 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1841 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1843 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1845 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1847 if (test_opt(sbi, READ_EXTENT_CACHE)) in f2fs_show_options()
1851 if (test_opt(sbi, AGE_EXTENT_CACHE)) in f2fs_show_options()
1853 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1862 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1873 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1881 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1883 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1885 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1887 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1906 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1909 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
1924 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2081 bool no_read_extent_cache = !test_opt(sbi, READ_EXTENT_CACHE); in f2fs_remount()
2082 bool no_age_extent_cache = !test_opt(sbi, AGE_EXTENT_CACHE); in f2fs_remount()
2083 bool disable_checkpoint = test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2085 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
2086 bool no_compress_cache = !test_opt(sbi, COMPRESS_CACHE); in f2fs_remount()
2133 disable_checkpoint != test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2165 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
2172 if (no_read_extent_cache == !!test_opt(sbi, READ_EXTENT_CACHE)) { in f2fs_remount()
2178 if (no_age_extent_cache == !!test_opt(sbi, AGE_EXTENT_CACHE)) { in f2fs_remount()
2190 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in f2fs_remount()
2196 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2209 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
2231 if ((*flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in f2fs_remount()
2232 !test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_remount()
2253 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2265 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2282 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2516 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2517 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2518 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
3953 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4089 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4090 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
4188 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
4189 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
4251 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
4264 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
4398 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()