Lines Matching refs:btrfs_test_opt
279 if (fs_info && (btrfs_test_opt(fs_info, PANIC_ON_FATAL_ERROR))) in __btrfs_panic()
477 if (btrfs_test_opt(info, NODATASUM)) { in btrfs_parse_options()
478 if (btrfs_test_opt(info, NODATACOW)) in btrfs_parse_options()
488 if (!btrfs_test_opt(info, NODATACOW)) { in btrfs_parse_options()
489 if (!btrfs_test_opt(info, COMPRESS) || in btrfs_parse_options()
490 !btrfs_test_opt(info, FORCE_COMPRESS)) { in btrfs_parse_options()
512 saved_compress_type = btrfs_test_opt(info, in btrfs_parse_options()
516 btrfs_test_opt(info, FORCE_COMPRESS); in btrfs_parse_options()
575 if ((btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
578 (!btrfs_test_opt(info, COMPRESS) && in btrfs_parse_options()
718 if (btrfs_test_opt(info, SPACE_CACHE)) { in btrfs_parse_options()
722 if (btrfs_test_opt(info, FREE_SPACE_TREE)) { in btrfs_parse_options()
859 if (btrfs_test_opt(info, NOLOGREPLAY) && !(new_flags & SB_RDONLY)) { in btrfs_parse_options()
866 !btrfs_test_opt(info, FREE_SPACE_TREE) && in btrfs_parse_options()
867 !btrfs_test_opt(info, CLEAR_CACHE)) { in btrfs_parse_options()
872 if (!ret && btrfs_test_opt(info, SPACE_CACHE)) in btrfs_parse_options()
874 if (!ret && btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_parse_options()
1282 if (btrfs_test_opt(info, DEGRADED)) in btrfs_show_options()
1284 if (btrfs_test_opt(info, NODATASUM)) in btrfs_show_options()
1286 if (btrfs_test_opt(info, NODATACOW)) in btrfs_show_options()
1288 if (btrfs_test_opt(info, NOBARRIER)) in btrfs_show_options()
1295 if (btrfs_test_opt(info, COMPRESS)) { in btrfs_show_options()
1297 if (btrfs_test_opt(info, FORCE_COMPRESS)) in btrfs_show_options()
1304 if (btrfs_test_opt(info, NOSSD)) in btrfs_show_options()
1306 if (btrfs_test_opt(info, SSD_SPREAD)) in btrfs_show_options()
1308 else if (btrfs_test_opt(info, SSD)) in btrfs_show_options()
1310 if (btrfs_test_opt(info, NOTREELOG)) in btrfs_show_options()
1312 if (btrfs_test_opt(info, NOLOGREPLAY)) in btrfs_show_options()
1314 if (btrfs_test_opt(info, FLUSHONCOMMIT)) in btrfs_show_options()
1316 if (btrfs_test_opt(info, DISCARD)) in btrfs_show_options()
1320 if (btrfs_test_opt(info, SPACE_CACHE)) in btrfs_show_options()
1322 else if (btrfs_test_opt(info, FREE_SPACE_TREE)) in btrfs_show_options()
1326 if (btrfs_test_opt(info, RESCAN_UUID_TREE)) in btrfs_show_options()
1328 if (btrfs_test_opt(info, CLEAR_CACHE)) in btrfs_show_options()
1330 if (btrfs_test_opt(info, USER_SUBVOL_RM_ALLOWED)) in btrfs_show_options()
1332 if (btrfs_test_opt(info, ENOSPC_DEBUG)) in btrfs_show_options()
1334 if (btrfs_test_opt(info, AUTO_DEFRAG)) in btrfs_show_options()
1336 if (btrfs_test_opt(info, INODE_MAP_CACHE)) in btrfs_show_options()
1338 if (btrfs_test_opt(info, SKIP_BALANCE)) in btrfs_show_options()
1341 if (btrfs_test_opt(info, CHECK_INTEGRITY_INCLUDING_EXTENT_DATA)) in btrfs_show_options()
1343 else if (btrfs_test_opt(info, CHECK_INTEGRITY)) in btrfs_show_options()
1351 if (btrfs_test_opt(info, PANIC_ON_FATAL_ERROR)) in btrfs_show_options()
1356 if (btrfs_test_opt(info, FRAGMENT_DATA)) in btrfs_show_options()
1358 if (btrfs_test_opt(info, FRAGMENT_METADATA)) in btrfs_show_options()
1361 if (btrfs_test_opt(info, REF_VERIFY)) in btrfs_show_options()