Searched refs:zone_cache (Results 1 – 2 of 2) sorted by relevance
239 if (zinfo->zone_cache) { in btrfs_get_dev_zones()254 zone_info = &zinfo->zone_cache[zno + i]; in btrfs_get_dev_zones()261 memcpy(zones, zinfo->zone_cache + zno, in btrfs_get_dev_zones()262 sizeof(*zinfo->zone_cache) * *nr_zones); in btrfs_get_dev_zones()281 if (zinfo->zone_cache) { in btrfs_get_dev_zones()284 memcpy(zinfo->zone_cache + zno, zones, in btrfs_get_dev_zones()285 sizeof(*zinfo->zone_cache) * *nr_zones); in btrfs_get_dev_zones()471 zone_info->zone_cache = vcalloc(zone_info->nr_zones, in btrfs_get_dev_zone_info()473 if (!zone_info->zone_cache) { in btrfs_get_dev_zone_info()628 vfree(zone_info->zone_cache); in btrfs_destroy_dev_zone_info()[all …]
34 struct blk_zone *zone_cache; member