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)) { 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()
531 if (test_opt(sbi, RESERVE_ROOT)) { in parse_options()
816 if (F2FS_IO_SIZE_BITS(sbi) && !test_opt(sbi, LFS)) { in parse_options()
823 if (test_opt(sbi, INLINE_XATTR_SIZE)) { in parse_options()
833 if (!test_opt(sbi, INLINE_XATTR)) { in parse_options()
852 if (test_opt(sbi, DISABLE_CHECKPOINT) && test_opt(sbi, LFS)) { in parse_options()
1308 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, BG_GC)) { in f2fs_show_options()
1309 if (test_opt(sbi, FORCE_FG_GC)) in f2fs_show_options()
1316 if (test_opt(sbi, DISABLE_ROLL_FORWARD)) in f2fs_show_options()
1318 if (test_opt(sbi, DISCARD)) in f2fs_show_options()
1320 if (test_opt(sbi, NOHEAP)) in f2fs_show_options()
1325 if (test_opt(sbi, XATTR_USER)) in f2fs_show_options()
1329 if (test_opt(sbi, INLINE_XATTR)) in f2fs_show_options()
1333 if (test_opt(sbi, INLINE_XATTR_SIZE)) in f2fs_show_options()
1338 if (test_opt(sbi, POSIX_ACL)) in f2fs_show_options()
1343 if (test_opt(sbi, DISABLE_EXT_IDENTIFY)) in f2fs_show_options()
1345 if (test_opt(sbi, INLINE_DATA)) in f2fs_show_options()
1349 if (test_opt(sbi, INLINE_DENTRY)) in f2fs_show_options()
1353 if (!f2fs_readonly(sbi->sb) && test_opt(sbi, FLUSH_MERGE)) in f2fs_show_options()
1355 if (test_opt(sbi, NOBARRIER)) in f2fs_show_options()
1357 if (test_opt(sbi, FASTBOOT)) in f2fs_show_options()
1359 if (test_opt(sbi, EXTENT_CACHE)) in f2fs_show_options()
1363 if (test_opt(sbi, DATA_FLUSH)) in f2fs_show_options()
1367 if (test_opt(sbi, ADAPTIVE)) in f2fs_show_options()
1369 else if (test_opt(sbi, LFS)) in f2fs_show_options()
1372 if (test_opt(sbi, RESERVE_ROOT)) in f2fs_show_options()
1383 if (test_opt(sbi, FAULT_INJECTION)) { in f2fs_show_options()
1391 if (test_opt(sbi, QUOTA)) in f2fs_show_options()
1393 if (test_opt(sbi, USRQUOTA)) in f2fs_show_options()
1395 if (test_opt(sbi, GRPQUOTA)) in f2fs_show_options()
1397 if (test_opt(sbi, PRJQUOTA)) in f2fs_show_options()
1415 if (test_opt(sbi, DISABLE_CHECKPOINT)) in f2fs_show_options()
1538 bool no_extent_cache = !test_opt(sbi, EXTENT_CACHE); in f2fs_remount()
1539 bool disable_checkpoint = test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1586 disable_checkpoint != test_opt(sbi, DISABLE_CHECKPOINT); in f2fs_remount()
1613 if (no_extent_cache == !!test_opt(sbi, EXTENT_CACHE)) { in f2fs_remount()
1620 if ((*flags & SB_RDONLY) && test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1632 if ((*flags & MS_RDONLY) || !test_opt(sbi, BG_GC)) { in f2fs_remount()
1656 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_remount()
1669 if ((*flags & MS_RDONLY) || !test_opt(sbi, FLUSH_MERGE)) { in f2fs_remount()
1685 (test_opt(sbi, POSIX_ACL) ? MS_POSIXACL : 0); in f2fs_remount()
1903 test_opt(F2FS_SB(sb), USRQUOTA), in f2fs_enable_quotas()
1904 test_opt(F2FS_SB(sb), GRPQUOTA), in f2fs_enable_quotas()
1905 test_opt(F2FS_SB(sb), PRJQUOTA), in f2fs_enable_quotas()
3162 (test_opt(sbi, POSIX_ACL) ? MS_POSIXACL : 0); in f2fs_fill_super()
3354 if (!test_opt(sbi, DISABLE_ROLL_FORWARD)) { in f2fs_fill_super()
3394 if (test_opt(sbi, DISABLE_CHECKPOINT)) { in f2fs_fill_super()
3406 if (test_opt(sbi, BG_GC) && !f2fs_readonly(sb)) { in f2fs_fill_super()