Home
last modified time | relevance | path

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

/linux/fs/zonefs/
A 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/drivers/nvme/target/
A 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/block/
A Dblk-zoned.c118 unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
126 EXPORT_SYMBOL_GPL(blkdev_nr_zones);
A Dioctl.c497 return put_uint(argp, blkdev_nr_zones(bdev->bd_disk)); in blkdev_common_ioctl()
/linux/include/linux/
A Dblkdev.h126 unsigned int blkdev_nr_zones(struct gendisk *disk);
140 static inline unsigned int blkdev_nr_zones(struct gendisk *disk) in blkdev_nr_zones() function
/linux/drivers/md/
A 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()
A Ddm-zone.c305 q->nr_zones = blkdev_nr_zones(md->disk); in dm_set_zones_restrictions()
/linux/drivers/block/null_blk/
A Dzoned.c170 q->nr_zones = blkdev_nr_zones(nullb->disk); in null_register_zoned_dev()

Completed in 19 milliseconds