Home
last modified time | relevance | path

Searched refs:blkdev_nr_zones (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/nvme/target/
Dzns.c63 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()
/linux-5.19.10/fs/zonefs/
Dsuper.c1397 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()
/linux-5.19.10/block/
Dblk-zoned.c117 unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
125 EXPORT_SYMBOL_GPL(blkdev_nr_zones);
Dioctl.c498 return put_uint(argp, blkdev_nr_zones(bdev->bd_disk)); in blkdev_common_ioctl()
/linux-5.19.10/drivers/md/
Ddm-zoned-target.c797 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()
Ddm-zone.c304 q->nr_zones = blkdev_nr_zones(md->disk); in dm_set_zones_restrictions()
/linux-5.19.10/include/linux/
Dblkdev.h294 unsigned int blkdev_nr_zones(struct gendisk *disk);
308 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
/linux-5.19.10/drivers/block/null_blk/
Dzoned.c173 q->nr_zones = blkdev_nr_zones(nullb->disk); in null_register_zoned_dev()