Home
last modified time | relevance | path

Searched refs:zone_cache (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/fs/btrfs/
Dzoned.c233 if (zinfo->zone_cache) { in btrfs_get_dev_zones()
247 zone_info = &zinfo->zone_cache[zno + i]; in btrfs_get_dev_zones()
254 memcpy(zones, zinfo->zone_cache + zno, in btrfs_get_dev_zones()
255 sizeof(*zinfo->zone_cache) * *nr_zones); in btrfs_get_dev_zones()
274 if (zinfo->zone_cache) in btrfs_get_dev_zones()
275 memcpy(zinfo->zone_cache + zno, zones, in btrfs_get_dev_zones()
276 sizeof(*zinfo->zone_cache) * *nr_zones); in btrfs_get_dev_zones()
481 zone_info->zone_cache = vzalloc(sizeof(struct blk_zone) * in btrfs_get_dev_zone_info()
483 if (!zone_info->zone_cache) { in btrfs_get_dev_zone_info()
637 vfree(zone_info->zone_cache); in btrfs_destroy_dev_zone_info()
[all …]
Dzoned.h29 struct blk_zone *zone_cache; member