Lines Matching refs:test_opt
219 if (test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
226 if (!test_opt(sbi, RESERVE_ROOT) && in limit_reserve_root()
317 if (test_opt(sbi, PRJQUOTA) && !f2fs_sb_has_project_quota(sbi->sb)) { in f2fs_check_quota_options()
325 if (test_opt(sbi, USRQUOTA) && in f2fs_check_quota_options()
329 if (test_opt(sbi, GRPQUOTA) && in f2fs_check_quota_options()
333 if (test_opt(sbi, PRJQUOTA) && in f2fs_check_quota_options()
337 if (test_opt(sbi, GRPQUOTA) || test_opt(sbi, USRQUOTA) || in f2fs_check_quota_options()
338 test_opt(sbi, PRJQUOTA)) { in f2fs_check_quota_options()
539 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
804 if (F2FS_IO_SIZE_BITS(sbi) && !test_opt(sbi, LFS)) { in parse_options()
811 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
819 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
1267 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options()
1268 if (test_opt(sbi, FORCE_FG_GC)) in f2fs_show_options()
1275 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1277 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1279 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1284 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1288 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1292 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1297 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1302 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1304 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1308 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1312 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1314 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1316 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1318 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1322 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1326 if (test_opt(sbi, ADAPTIVE)) in f2fs_show_options()
1328 else if (test_opt(sbi, LFS)) in f2fs_show_options()
1331 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1341 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1349 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1351 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1353 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1355 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1430 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
1501 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
1513 if ((*flags & SB_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount()
1540 if ((*flags & SB_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
1556 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_remount()
1764 test_opt(F2FS_SB(sb), USRQUOTA), in f2fs_enable_quotas()
1765 test_opt(F2FS_SB(sb), GRPQUOTA), in f2fs_enable_quotas()
1766 test_opt(F2FS_SB(sb), PRJQUOTA), in f2fs_enable_quotas()
2838 (test_opt(sbi, POSIX_ACL) ? SB_POSIXACL : 0); in f2fs_fill_super()
3023 if (!test_opt(sbi, DISABLE_ROLL_FORWARD)) { in f2fs_fill_super()
3065 if (test_opt(sbi, BG_GC) && !f2fs_readonly(sb)) { in f2fs_fill_super()