Home
last modified time | relevance | path

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

/Linux-v5.15/fs/zonefs/
Dsuper.c1290 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()
/Linux-v5.15/drivers/nvme/target/
Dzns.c64 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()
/Linux-v5.15/block/
Dblk-zoned.c118 unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
126 EXPORT_SYMBOL_GPL(blkdev_nr_zones);
Dioctl.c485 return put_uint(argp, blkdev_nr_zones(bdev->bd_disk)); in blkdev_common_ioctl()
/Linux-v5.15/drivers/md/
Ddm-zone.c305 q->nr_zones = blkdev_nr_zones(md->disk); in dm_set_zones_restrictions()
Ddm-zoned-target.c799 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()
/Linux-v5.15/drivers/block/null_blk/
Dzoned.c170 q->nr_zones = blkdev_nr_zones(nullb->disk); in null_register_zoned_dev()
/Linux-v5.15/include/linux/
Dblkdev.h338 unsigned int blkdev_nr_zones(struct gendisk *disk);
352 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function