Searched refs:blkdev_nr_zones (Results 1 – 8 of 8) sorted by relevance
63 ret = blkdev_report_zones(ns->bdev, 0, blkdev_nr_zones(bd_disk), in nvmet_bdev_zns_enable()257 return blkdev_nr_zones(req->ns->bdev->bd_disk) - in nvmet_req_nr_zones_from_slba()402 unsigned int nr_zones = blkdev_nr_zones(bdev->bd_disk); in nvmet_bdev_zone_mgmt_emulate_all()
1397 inode->i_ino = blkdev_nr_zones(sb->s_bdev->bd_disk) + type + 1; in zonefs_init_dir_inode()1543 end = zd->zones + blkdev_nr_zones(sb->s_bdev->bd_disk); in zonefs_create_zgroup()1638 zd->zones = kvcalloc(blkdev_nr_zones(bdev->bd_disk), in zonefs_get_zone_info()1651 if (ret != blkdev_nr_zones(bdev->bd_disk)) { in zonefs_get_zone_info()1653 ret, blkdev_nr_zones(bdev->bd_disk)); in zonefs_get_zone_info()1820 blkdev_nr_zones(sb->s_bdev->bd_disk)); in zonefs_fill_super()1836 inode->i_ino = blkdev_nr_zones(sb->s_bdev->bd_disk); in zonefs_fill_super()
117 unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function125 EXPORT_SYMBOL_GPL(blkdev_nr_zones);
498 return put_uint(argp, blkdev_nr_zones(bdev->bd_disk)); in blkdev_common_ioctl()
797 blkdev_nr_zones(zoned_dev->bdev->bd_disk); in dmz_fixup_devices()808 zoned_dev->nr_zones = blkdev_nr_zones(zoned_dev->bdev->bd_disk); in dmz_fixup_devices()
304 q->nr_zones = blkdev_nr_zones(md->disk); in dm_set_zones_restrictions()
294 unsigned int blkdev_nr_zones(struct gendisk *disk);308 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
173 q->nr_zones = blkdev_nr_zones(nullb->disk); in null_register_zoned_dev()