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()
59 u64 raid_type; in btrfs_reduce_alloc_profile() local75 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()76 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()77 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
4104 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local4113 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()4114 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()4116 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()4119 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()