Searched refs:blkdev_nr_zones (Results 1 – 8 of 8) sorted by relevance
1290 inode->i_ino = blkdev_nr_zones(sb->s_bdev->bd_disk) + type + 1; in zonefs_init_dir_inode()1405 end = zd->zones + blkdev_nr_zones(sb->s_bdev->bd_disk); in zonefs_create_zgroup()1500 zd->zones = kvcalloc(blkdev_nr_zones(bdev->bd_disk), in zonefs_get_zone_info()1513 if (ret != blkdev_nr_zones(bdev->bd_disk)) { in zonefs_get_zone_info()1515 ret, blkdev_nr_zones(bdev->bd_disk)); in zonefs_get_zone_info()1682 blkdev_nr_zones(sb->s_bdev->bd_disk)); in zonefs_fill_super()1690 inode->i_ino = blkdev_nr_zones(sb->s_bdev->bd_disk); in zonefs_fill_super()
64 ret = blkdev_report_zones(ns->bdev, 0, blkdev_nr_zones(bd_disk), in nvmet_bdev_zns_enable()241 return blkdev_nr_zones(req->ns->bdev->bd_disk) - in nvmet_req_nr_zones_from_slba()386 unsigned int nr_zones = blkdev_nr_zones(bdev->bd_disk); in nvmet_bdev_zone_mgmt_emulate_all()
118 unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function126 EXPORT_SYMBOL_GPL(blkdev_nr_zones);
497 return put_uint(argp, blkdev_nr_zones(bdev->bd_disk)); in blkdev_common_ioctl()
126 unsigned int blkdev_nr_zones(struct gendisk *disk);140 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
799 blkdev_nr_zones(zoned_dev->bdev->bd_disk); in dmz_fixup_devices()810 zoned_dev->nr_zones = blkdev_nr_zones(zoned_dev->bdev->bd_disk); in dmz_fixup_devices()
305 q->nr_zones = blkdev_nr_zones(md->disk); in dm_set_zones_restrictions()
170 q->nr_zones = blkdev_nr_zones(nullb->disk); in null_register_zoned_dev()
Completed in 19 milliseconds