Lines Matching refs:test_opt

444 	if (test_opt(sbi, RESERVE_ROOT) &&  in limit_reserve_root()
450 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
1211 usrquota = test_opt(sbi, USRQUOTA) || in f2fs_check_quota_consistency()
1213 grpquota = test_opt(sbi, GRPQUOTA) || in f2fs_check_quota_consistency()
1215 prjquota = test_opt(sbi, PRJQUOTA) || in f2fs_check_quota_consistency()
1419 if (test_opt(sbi, RESERVE_ROOT) && in f2fs_check_opt_consistency()
1480 if (!ctx_test_opt(ctx, F2FS_MOUNT_INLINE_XATTR) && !test_opt(sbi, INLINE_XATTR)) { in f2fs_check_opt_consistency()
1664 !test_opt(sbi, READ_EXTENT_CACHE)) { in f2fs_sanity_check_options()
2048 if (test_opt(sbi, DISCARD) && !f2fs_hw_support_discard(sbi)) in f2fs_unfreeze()
2252 if (test_opt(sbi, COMPRESS_CACHE)) in f2fs_show_compress_options()
2268 if (test_opt(sbi, GC_MERGE)) in f2fs_show_options()
2273 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
2275 if (test_opt(sbi, NORECOVERY)) in f2fs_show_options()
2277 if (test_opt(sbi, DISCARD)) { in f2fs_show_options()
2289 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
2293 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
2297 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
2302 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
2307 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
2309 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
2313 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
2317 if (test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
2321 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
2325 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
2327 if (test_opt(sbi, READ_EXTENT_CACHE)) in f2fs_show_options()
2331 if (test_opt(sbi, AGE_EXTENT_CACHE)) in f2fs_show_options()
2333 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
2346 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
2354 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
2362 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
2364 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
2366 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
2368 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
2383 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
2386 if (test_opt(sbi, MERGE_CHECKPOINT)) in f2fs_show_options()
2401 if (test_opt(sbi, ATGC)) in f2fs_show_options()
2416 if (test_opt(sbi, NAT_BITS)) in f2fs_show_options()
2603 bool no_read_extent_cache = !test_opt(sbi, READ_EXTENT_CACHE); in __f2fs_remount()
2604 bool no_age_extent_cache = !test_opt(sbi, AGE_EXTENT_CACHE); in __f2fs_remount()
2605 bool enable_checkpoint = !test_opt(sbi, DISABLE_CHECKPOINT); in __f2fs_remount()
2606 bool no_atgc = !test_opt(sbi, ATGC); in __f2fs_remount()
2607 bool no_discard = !test_opt(sbi, DISCARD); in __f2fs_remount()
2608 bool no_compress_cache = !test_opt(sbi, COMPRESS_CACHE); in __f2fs_remount()
2610 bool no_nat_bits = !test_opt(sbi, NAT_BITS); in __f2fs_remount()
2696 if (no_atgc == !!test_opt(sbi, ATGC)) { in __f2fs_remount()
2703 if (no_read_extent_cache == !!test_opt(sbi, READ_EXTENT_CACHE)) { in __f2fs_remount()
2709 if (no_age_extent_cache == !!test_opt(sbi, AGE_EXTENT_CACHE)) { in __f2fs_remount()
2715 if (no_compress_cache == !!test_opt(sbi, COMPRESS_CACHE)) { in __f2fs_remount()
2727 if (no_nat_bits == !!test_opt(sbi, NAT_BITS)) { in __f2fs_remount()
2733 if ((flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in __f2fs_remount()
2746 !test_opt(sbi, GC_MERGE))) { in __f2fs_remount()
2771 if ((flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in __f2fs_remount()
2782 if (no_discard == !!test_opt(sbi, DISCARD)) { in __f2fs_remount()
2783 if (test_opt(sbi, DISCARD)) { in __f2fs_remount()
2796 if (enable_checkpoint == !!test_opt(sbi, DISABLE_CHECKPOINT)) { in __f2fs_remount()
2797 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in __f2fs_remount()
2813 if ((flags & SB_RDONLY) || test_opt(sbi, DISABLE_CHECKPOINT) || in __f2fs_remount()
2814 !test_opt(sbi, MERGE_CHECKPOINT)) { in __f2fs_remount()
2837 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in __f2fs_remount()
2900 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_need_recovery()
2902 if (test_opt(sbi, NORECOVERY)) in f2fs_need_recovery()
3144 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
3145 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
3146 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
4884 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
4885 if (test_opt(sbi, INLINECRYPT)) in f2fs_fill_super()
4888 if (test_opt(sbi, LAZYTIME)) in f2fs_fill_super()
4983 if (!f2fs_readonly(sb) && !test_opt(sbi, DISABLE_CHECKPOINT) && in f2fs_fill_super()
4984 test_opt(sbi, MERGE_CHECKPOINT)) { in f2fs_fill_super()
5089 if (!test_opt(sbi, DISABLE_ROLL_FORWARD) && in f2fs_fill_super()
5090 !test_opt(sbi, NORECOVERY)) { in f2fs_fill_super()
5159 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
5172 test_opt(sbi, GC_MERGE)) && !f2fs_readonly(sb)) { in f2fs_fill_super()
5337 if (test_opt(sbi, COMPRESS_CACHE)) in kill_f2fs_super()