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()
458 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
465 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
469 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
473 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
477 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
478 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
831 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1353 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1361 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1377 if (test_opt(sbi, DISABLE_CHECKPOINT) && f2fs_lfs_mode(sbi)) { in parse_options()
1382 if (test_opt(sbi, ATGC) && f2fs_lfs_mode(sbi)) { in parse_options()
1387 if (f2fs_is_readonly(sbi) && test_opt(sbi, FLUSH_MERGE)) { in parse_options()
1936 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
1952 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1957 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1959 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1961 if (test_opt(sbi, DISCARD)) { in f2fs_show_options()
1972 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1977 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1981 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1985 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1990 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1995 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1997 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
2001 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
2005 if (test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
2009 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
2013 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
2015 if (test_opt(sbi, READ_EXTENT_CACHE)) in f2fs_show_options()
2019 if (test_opt(sbi, AGE_EXTENT_CACHE)) in f2fs_show_options()
2021 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
2034 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
2045 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
2053 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
2055 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
2057 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
2059 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
2074 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
2077 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
2092 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2292 bool no_read_extent_cache = !test_opt(sbi, READ_EXTENT_CACHE); in f2fs_remount()
2293 bool no_age_extent_cache = !test_opt(sbi, AGE_EXTENT_CACHE); in f2fs_remount()
2294 bool enable_checkpoint = !test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2296 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
2297 bool no_discard = !test_opt(sbi, DISCARD); in f2fs_remount()
2298 bool no_compress_cache = !test_opt(sbi, COMPRESS_CACHE); in f2fs_remount()
2384 if (no_atgc == !!test_opt(sbi, ATGC)) { in f2fs_remount()
2391 if (no_read_extent_cache == !!test_opt(sbi, READ_EXTENT_CACHE)) { in f2fs_remount()
2397 if (no_age_extent_cache == !!test_opt(sbi, AGE_EXTENT_CACHE)) { in f2fs_remount()
2409 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in f2fs_remount()
2421 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2434 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
2455 if ((*flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in f2fs_remount()
2456 !test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_remount()
2477 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2488 if (no_discard == !!test_opt(sbi, DISCARD)) { in f2fs_remount()
2489 if (test_opt(sbi, DISCARD)) { in f2fs_remount()
2501 if (enable_checkpoint == !!test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2502 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2519 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2574 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_need_recovery()
2576 if (test_opt(sbi, NORECOVERY)) in f2fs_need_recovery()
2816 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2817 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2818 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
4451 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4550 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4551 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
4649 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
4650 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
4716 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
4729 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
4867 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()