Home
last modified time | relevance | path

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

/block/
Dblk-zoned.c145 unsigned int nr_zones, report_zones_cb cb, void *data) in blkdev_report_zones() argument
153 if (!nr_zones || sector >= capacity) in blkdev_report_zones()
156 return disk->fops->report_zones(disk, sector, nr_zones, cb, data); in blkdev_report_zones()
161 unsigned int nr_zones) in blk_alloc_zone_bitmap() argument
163 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap()
197 need_reset = blk_alloc_zone_bitmap(disk->queue->node, disk->nr_zones); in blkdev_zone_reset_all_emulated()
201 ret = disk->fops->report_zones(disk, 0, disk->nr_zones, in blkdev_zone_reset_all_emulated()
354 if (!rep.nr_zones) in blkdev_report_zones_ioctl()
358 ret = blkdev_report_zones(bdev, rep.sector, rep.nr_zones, in blkdev_report_zones_ioctl()
363 rep.nr_zones = ret; in blkdev_report_zones_ioctl()
[all …]
Dblk-mq-debugfs-zoned.c17 for (i = 0; i < q->disk->nr_zones; i++) in queue_zone_wlock_show()