Searched refs:zone_sectors (Results 1 – 3 of 3) sorted by relevance
/drivers/block/ |
D | virtio_blk.c | 86 unsigned int zone_sectors; member 546 get_capacity(vblk->disk) >> ilog2(vblk->zone_sectors)); in virtblk_alloc_report_buffer() 602 if (zone.start + vblk->zone_sectors <= get_capacity(vblk->disk)) in virtblk_parse_zone() 603 zone.len = vblk->zone_sectors; in virtblk_parse_zone() 677 if (WARN_ON_ONCE(!vblk->zone_sectors)) in virtblk_report_zones() 712 vblk->zone_sectors; in virtblk_report_zones() 742 WARN_ON_ONCE(!vblk->zone_sectors); in virtblk_revalidate_zones() 800 virtio_cread(vdev, struct virtio_blk_config, zoned.zone_sectors, in virtblk_probe_zoned_device() 801 &vblk->zone_sectors); in virtblk_probe_zoned_device() 802 if (vblk->zone_sectors == 0 || !is_power_of_2(vblk->zone_sectors)) { in virtblk_probe_zoned_device() [all …]
|
/drivers/md/ |
D | dm-table.c | 258 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid() local 264 zone_sectors, bdev); in device_area_is_invalid() 281 zone_sectors, bdev); in device_area_is_invalid() 1693 unsigned int *zone_sectors = data; in device_not_matches_zone_sectors() local 1697 return bdev_zone_sectors(dev->bdev) != *zone_sectors; in device_not_matches_zone_sectors() 1707 unsigned int zone_sectors) in validate_hardware_zoned_model() argument 1718 if (!zone_sectors) in validate_hardware_zoned_model() 1721 if (dm_table_any_dev_attr(t, device_not_matches_zone_sectors, &zone_sectors)) { in validate_hardware_zoned_model() 1738 unsigned int zone_sectors = 0; in dm_calculate_queue_limits() local 1766 zone_sectors = ti_limits.chunk_sectors; in dm_calculate_queue_limits() [all …]
|
/drivers/nvme/target/ |
D | zns.c | 483 sector_t zone_sectors = bdev_zone_sectors(bdev); in nvmet_bdev_zmgmt_send_work() local 511 ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors, GFP_KERNEL); in nvmet_bdev_zmgmt_send_work()
|