Lines Matching refs:test_opt

338 	if (test_opt(sbi, RESERVE_ROOT) &&  in limit_reserve_root()
344 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
443 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
450 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
454 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
458 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
462 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
463 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
848 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
1361 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
1369 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1385 if (test_opt(sbi, ATGC) && f2fs_lfs_mode(sbi)) { in parse_options()
1390 if (f2fs_is_readonly(sbi) && test_opt(sbi, FLUSH_MERGE)) { in parse_options()
1935 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
1951 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
1956 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1958 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
1960 if (test_opt(sbi, DISCARD)) { in f2fs_show_options()
1972 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1976 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1980 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1985 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1990 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1992 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1996 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
2000 if (test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
2004 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
2008 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
2010 if (test_opt(sbi, READ_EXTENT_CACHE)) in f2fs_show_options()
2014 if (test_opt(sbi, AGE_EXTENT_CACHE)) in f2fs_show_options()
2016 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
2029 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
2037 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
2045 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
2047 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
2049 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
2051 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
2066 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
2069 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
2084 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2282 bool no_read_extent_cache = !test_opt(sbi, READ_EXTENT_CACHE); in f2fs_remount()
2283 bool no_age_extent_cache = !test_opt(sbi, AGE_EXTENT_CACHE); in f2fs_remount()
2284 bool enable_checkpoint = !test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
2285 bool no_atgc = !test_opt(sbi, ATGC); in f2fs_remount()
2286 bool no_discard = !test_opt(sbi, DISCARD); in f2fs_remount()
2287 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()
2403 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in f2fs_remount()
2415 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2428 !test_opt(sbi, GC_MERGE))) { in f2fs_remount()
2453 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
2464 if (no_discard == !!test_opt(sbi, DISCARD)) { in f2fs_remount()
2465 if (test_opt(sbi, DISCARD)) { in f2fs_remount()
2477 if (enable_checkpoint == !!test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2478 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
2494 if ((*flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in f2fs_remount()
2495 !test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_remount()
2518 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
2578 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_need_recovery()
2580 if (test_opt(sbi, NORECOVERY)) in f2fs_need_recovery()
2820 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
2821 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
2822 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
4501 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4592 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4593 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
4688 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
4689 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
4761 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
4774 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
4911 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()