Home
last modified time | relevance | path

Searched refs:conv_zones_bitmap (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/block/
H A Dblk-zoned.c434 kfree(disk->conv_zones_bitmap); in disk_free_zone_bitmaps()
435 disk->conv_zones_bitmap = NULL; in disk_free_zone_bitmaps()
442 unsigned long *conv_zones_bitmap; member
492 if (!args->conv_zones_bitmap) { in blk_revalidate_zone_cb()
493 args->conv_zones_bitmap = in blk_revalidate_zone_cb()
495 if (!args->conv_zones_bitmap) in blk_revalidate_zone_cb()
498 set_bit(idx, args->conv_zones_bitmap); in blk_revalidate_zone_cb()
603 swap(disk->conv_zones_bitmap, args.conv_zones_bitmap); in blk_revalidate_disk_zones()
614 kfree(args.conv_zones_bitmap); in blk_revalidate_disk_zones()
/openbmc/linux/drivers/md/
H A Ddm-zone.c144 bitmap_free(md->disk->conv_zones_bitmap); in dm_cleanup_zoned_dev()
145 md->disk->conv_zones_bitmap = NULL; in dm_cleanup_zoned_dev()
185 if (!disk->conv_zones_bitmap) { in dm_zone_revalidate_cb()
186 disk->conv_zones_bitmap = bitmap_zalloc(disk->nr_zones, in dm_zone_revalidate_cb()
188 if (!disk->conv_zones_bitmap) in dm_zone_revalidate_cb()
191 set_bit(idx, disk->conv_zones_bitmap); in dm_zone_revalidate_cb()
/openbmc/linux/include/linux/
H A Dblkdev.h192 unsigned long *conv_zones_bitmap; member
675 if (!disk->conv_zones_bitmap) in disk_zone_is_seq()
677 return !test_bit(disk_zone_no(disk, sector), disk->conv_zones_bitmap); in disk_zone_is_seq()
/openbmc/linux/drivers/nvme/target/
H A Dzns.c60 if (ns->bdev->bd_disk->conv_zones_bitmap) in nvmet_bdev_zns_enable()