Searched refs:zone_size (Results 1 – 5 of 5) sorted by relevance
/fs/btrfs/ |
D | zoned.c | 175 const sector_t zone_sectors = device->fs_info->zone_size >> SECTOR_SHIFT; in emulate_report_zones() 217 ASSERT(IS_ALIGNED(pos, zinfo->zone_size)); in btrfs_get_dev_zones() 297 fs_info->zone_size = btrfs_dev_extent_length(leaf, dext); in calculate_emulated_zone_size() 361 if (!fs_info->zone_size) { in btrfs_get_dev_zone_info() 367 ASSERT(fs_info->zone_size); in btrfs_get_dev_zone_info() 368 zone_sectors = fs_info->zone_size >> SECTOR_SHIFT; in btrfs_get_dev_zone_info() 375 zone_info->zone_size = zone_sectors << SECTOR_SHIFT; in btrfs_get_dev_zone_info() 378 if (zone_info->zone_size > BTRFS_MAX_ZONE_SIZE) { in btrfs_get_dev_zone_info() 382 zone_info->zone_size, BTRFS_MAX_ZONE_SIZE); in btrfs_get_dev_zone_info() 388 zone_info->zone_size_shift = ilog2(zone_info->zone_size); in btrfs_get_dev_zone_info() [all …]
|
D | zoned.h | 24 u64 zone_size; member 275 return fs_info->zone_size == in btrfs_check_device_zone_type() 295 u64 zone_size; in btrfs_can_zone_reset() local 300 zone_size = device->zone_info->zone_size; in btrfs_can_zone_reset() 301 if (!IS_ALIGNED(physical, zone_size) || !IS_ALIGNED(length, zone_size)) in btrfs_can_zone_reset()
|
D | volumes.c | 1500 return ALIGN(start, device->zone_info->zone_size); in dev_extent_search_start() 1510 u64 zone_size = device->zone_info->zone_size; in dev_extent_hole_check_zoned() local 1515 ASSERT(IS_ALIGNED(*hole_start, zone_size)); in dev_extent_hole_check_zoned() 1542 *hole_start += zone_size; in dev_extent_hole_check_zoned() 1543 *hole_size -= zone_size; in dev_extent_hole_check_zoned() 1652 !IS_ALIGNED(num_bytes, device->zone_info->zone_size)); in find_free_dev_extent_start() 5152 u64 zone_size = fs_devices->fs_info->zone_size; in init_alloc_chunk_ctl_policy_zoned() local 5156 u64 min_chunk_size = min_data_stripes * zone_size; in init_alloc_chunk_ctl_policy_zoned() 5159 ctl->max_stripe_size = zone_size; in init_alloc_chunk_ctl_policy_zoned() 5162 zone_size); in init_alloc_chunk_ctl_policy_zoned() [all …]
|
D | ctree.h | 1032 u64 zone_size; member
|
/fs/adfs/ |
D | map.c | 312 unsigned int zone, zone_size; in adfs_map_layout() local 315 zone_size = (8 << dr->log2secsize) - le16_to_cpu(dr->zone_spare); in adfs_map_layout() 320 dm[0].dm_endbit = 32 + zone_size; in adfs_map_layout() 324 dm[zone].dm_startblk = zone * zone_size - ADFS_DR_SIZE_BITS; in adfs_map_layout() 326 dm[zone].dm_endbit = 32 + zone_size; in adfs_map_layout() 330 size -= (nzones - 1) * zone_size - ADFS_DR_SIZE_BITS; in adfs_map_layout() 360 unsigned int map_addr, zone_size, nzones; in adfs_read_map() local 364 zone_size = (8 << dr->log2secsize) - le16_to_cpu(dr->zone_spare); in adfs_read_map() 370 asb->s_ids_per_zone = zone_size / (asb->s_idlen + 1); in adfs_read_map() 372 map_addr = (nzones >> 1) * zone_size - in adfs_read_map()
|