Lines Matching refs:test_opt

308 	if (test_opt(sbi, RESERVE_ROOT) &&  in limit_reserve_root()
314 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
453 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
460 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
464 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
468 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
472 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
473 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
827 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1316 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1324 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1340 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1345 if (test_opt(sbi, ATGC) && f2fs_lfs_mode(sbi)) { in parse_options()
1878 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
1894 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1897 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1899 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1901 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1905 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1910 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1914 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1918 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1923 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1928 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1930 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1934 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1938 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1940 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1942 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1944 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1948 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1961 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1972 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1980 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1982 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1984 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1986 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
2001 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
2004 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
2019 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2203 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
2204 bool enable_checkpoint = !test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2206 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
2207 bool no_discard = !test_opt(sbi, DISCARD); in f2fs_remount()
2208 bool no_compress_cache = !test_opt(sbi, COMPRESS_CACHE); in f2fs_remount()
2286 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
2293 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
2305 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in f2fs_remount()
2317 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2330 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
2351 if ((*flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in f2fs_remount()
2352 !test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_remount()
2373 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2384 if (no_discard == !!test_opt(sbi, DISCARD)) { in f2fs_remount()
2385 if (test_opt(sbi, DISCARD)) { in f2fs_remount()
2399 if (enable_checkpoint == !!test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2400 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2417 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2659 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2660 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2661 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
4171 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4288 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4289 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
4385 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
4386 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
4448 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
4461 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
4597 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()