Lines Matching refs:alloc_offsets
1297 u64 *alloc_offsets = NULL; in btrfs_load_block_group_zone_info() local
1331 alloc_offsets = kcalloc(map->num_stripes, sizeof(*alloc_offsets), GFP_NOFS); in btrfs_load_block_group_zone_info()
1332 if (!alloc_offsets) { in btrfs_load_block_group_zone_info()
1365 alloc_offsets[i] = WP_MISSING_DEV; in btrfs_load_block_group_zone_info()
1383 alloc_offsets[i] = WP_CONVENTIONAL; in btrfs_load_block_group_zone_info()
1409 alloc_offsets[i] = WP_MISSING_DEV; in btrfs_load_block_group_zone_info()
1433 alloc_offsets[i] = WP_MISSING_DEV; in btrfs_load_block_group_zone_info()
1436 alloc_offsets[i] = 0; in btrfs_load_block_group_zone_info()
1439 alloc_offsets[i] = caps[i]; in btrfs_load_block_group_zone_info()
1443 alloc_offsets[i] = in btrfs_load_block_group_zone_info()
1471 if (alloc_offsets[0] == WP_MISSING_DEV) { in btrfs_load_block_group_zone_info()
1478 cache->alloc_offset = alloc_offsets[0]; in btrfs_load_block_group_zone_info()
1489 if (alloc_offsets[0] == WP_MISSING_DEV) { in btrfs_load_block_group_zone_info()
1496 if (alloc_offsets[1] == WP_MISSING_DEV) { in btrfs_load_block_group_zone_info()
1503 if (alloc_offsets[0] != alloc_offsets[1]) { in btrfs_load_block_group_zone_info()
1519 cache->alloc_offset = alloc_offsets[0]; in btrfs_load_block_group_zone_info()
1575 kfree(alloc_offsets); in btrfs_load_block_group_zone_info()