Lines Matching refs:btrfs_test_opt
282 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
480 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
481 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
491 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
492 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
493 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
515 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
519 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
584 if ((btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
587 (!btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
727 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
731 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
868 if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { in btrfs_parse_options()
875 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
876 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
881 if (!ret && btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
883 if (!ret && btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1291 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1293 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1295 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1297 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1304 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1306 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1313 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1315 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1317 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1319 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1321 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1323 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1325 if (btrfs_test_opt(info, DISCARD)) in btrfs_show_options()
1329 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_show_options()
1331 else if (btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_show_options()
1335 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1337 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1339 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1341 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1343 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1345 if (btrfs_test_opt(info, INODE_MAP_CACHE)) in btrfs_show_options()
1347 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1350 if (btrfs_test_opt(info, CHECK_INTEGRITY_INCLUDING_EXTENT_DATA)) in btrfs_show_options()
1352 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1360 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1365 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1367 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1370 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()