Searched refs:nr_zones (Results 1 – 2 of 2) sorted by relevance
/block/ |
D | blk-zoned.c | 141 unsigned int nr_zones, report_zones_cb cb, void *data) in blkdev_report_zones() argument 150 if (!nr_zones || sector >= capacity) in blkdev_report_zones() 153 return disk->fops->report_zones(disk, sector, nr_zones, cb, data); in blkdev_report_zones() 158 unsigned int nr_zones) in blk_alloc_zone_bitmap() argument 160 return kcalloc_node(BITS_TO_LONGS(nr_zones), sizeof(unsigned long), in blk_alloc_zone_bitmap() 194 need_reset = blk_alloc_zone_bitmap(q->node, q->nr_zones); in blkdev_zone_reset_all_emulated() 199 q->nr_zones, blk_zone_need_reset_cb, in blkdev_zone_reset_all_emulated() 359 if (!rep.nr_zones) in blkdev_report_zones_ioctl() 363 ret = blkdev_report_zones(bdev, rep.sector, rep.nr_zones, in blkdev_report_zones_ioctl() 368 rep.nr_zones = ret; in blkdev_report_zones_ioctl() [all …]
|
D | blk-mq-debugfs-zoned.c | 17 for (i = 0; i < q->nr_zones; i++) in queue_zone_wlock_show()
|