Lines Matching refs:test_opt
262 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
268 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
351 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi)) { in f2fs_check_quota_options()
358 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
362 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
366 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
370 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
371 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
556 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
840 if (F2FS_IO_SIZE_BITS(sbi) && !test_opt(sbi, LFS)) { in parse_options()
846 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
854 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
870 if (test_opt(sbi, DISABLE_CHECKPOINT) && test_opt(sbi, LFS)) { in parse_options()
1339 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options()
1340 if (test_opt(sbi, FORCE_FG_GC)) in f2fs_show_options()
1347 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1349 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1353 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1358 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1362 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1366 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1371 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1376 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1378 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1382 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1386 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1388 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1390 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1392 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1396 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1400 if (test_opt(sbi, ADAPTIVE)) in f2fs_show_options()
1402 else if (test_opt(sbi, LFS)) in f2fs_show_options()
1405 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1416 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1424 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1426 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1428 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1430 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1448 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1579 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
1580 bool disable_checkpoint = test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1628 disable_checkpoint != test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1655 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
1667 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1678 if ((*flags & SB_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount()
1702 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1715 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
1731 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
1946 test_opt(sbi, USRQUOTA), in f2fs_enable_quotas()
1947 test_opt(sbi, GRPQUOTA), in f2fs_enable_quotas()
1948 test_opt(sbi, PRJQUOTA), in f2fs_enable_quotas()
3291 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
3489 if (!test_opt(sbi, DISABLE_ROLL_FORWARD)) { in f2fs_fill_super()
3532 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
3544 if (test_opt(sbi, BG_GC) && !f2fs_readonly(sb)) { in f2fs_fill_super()