Searched refs:raid_type (Results 1 – 3 of 3) sorted by relevance
444 u64 raid_type; member488 map->type = test->raid_type; in test_rmap_block()563 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()580 .raid_type = 0, in btrfs_test_extent_map()
58 u64 raid_type; in btrfs_reduce_alloc_profile() local74 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()75 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()76 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
3857 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local3866 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()3867 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()3869 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()3872 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()