Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dzoned.c234 if (zinfo->zone_cache) { in btrfs_get_dev_zones()
248 zone_info = &zinfo->zone_cache[zno + i]; in btrfs_get_dev_zones()
255 memcpy(zones, zinfo->zone_cache + zno, in btrfs_get_dev_zones()
256 sizeof(*zinfo->zone_cache) * *nr_zones); in btrfs_get_dev_zones()
275 if (zinfo->zone_cache) in btrfs_get_dev_zones()
276 memcpy(zinfo->zone_cache + zno, zones, in btrfs_get_dev_zones()
277 sizeof(*zinfo->zone_cache) * *nr_zones); in btrfs_get_dev_zones()
482 zone_info->zone_cache = vzalloc(sizeof(struct blk_zone) * in btrfs_get_dev_zone_info()
484 if (!zone_info->zone_cache) { in btrfs_get_dev_zone_info()
640 vfree(zone_info->zone_cache); in btrfs_destroy_dev_zone_info()
[all …]
Dzoned.h29 struct blk_zone *zone_cache; member