Home
last modified time | relevance | path

Searched refs:raid_type (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/tests/
H A Dextent-map-tests.c1003 u64 raid_type; member
1034 map->type = test->raid_type; in test_rmap_block()
1104 .raid_type = BTRFS_BLOCK_GROUP_RAID1, in btrfs_test_extent_map()
1121 .raid_type = 0, in btrfs_test_extent_map()
/linux/fs/btrfs/
H A Ddisk-io.c4110 int raid_type; in btrfs_get_num_tolerated_disk_barrier_failures() local
4119 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_get_num_tolerated_disk_barrier_failures()
4120 if (raid_type == BTRFS_RAID_SINGLE) in btrfs_get_num_tolerated_disk_barrier_failures()
4122 if (!(flags & btrfs_raid_array[raid_type].bg_flag)) in btrfs_get_num_tolerated_disk_barrier_failures()
4125 btrfs_raid_array[raid_type]. in btrfs_get_num_tolerated_disk_barrier_failures()
H A Dblock-group.c117 u64 raid_type; in btrfs_reduce_alloc_profile() local
133 for (raid_type = 0; raid_type < BTRFS_NR_RAID_TYPES; raid_type++) { in btrfs_reduce_alloc_profile()
134 if (num_devices >= btrfs_raid_array[raid_type].devs_min) in btrfs_reduce_alloc_profile()
135 allowed |= btrfs_raid_array[raid_type].bg_flag; in btrfs_reduce_alloc_profile()
/linux/drivers/scsi/esas2r/
H A Datioctl.h337 u8 raid_type; member