Home
last modified time | relevance | path

Searched refs:zone_sectors (Results 1 – 4 of 4) sorted by relevance

/linux/block/
A Dblk-zoned.c124 return (get_capacity(disk) + zone_sectors - 1) >> ilog2(zone_sectors); in blkdev_nr_zones()
195 sector_t zone_sectors = blk_queue_zone_sectors(q); in blkdev_zone_reset_all_emulated() local
214 sector += zone_sectors; in blkdev_zone_reset_all_emulated()
222 sector += zone_sectors; in blkdev_zone_reset_all_emulated()
290 if (sector & (zone_sectors - 1)) in blkdev_zone_mgmt()
313 sector += zone_sectors; in blkdev_zone_mgmt()
473 sector_t zone_sectors; member
499 args->zone_sectors = zone->len; in blk_revalidate_zone_cb()
502 if (zone->len != args->zone_sectors) { in blk_revalidate_zone_cb()
508 if (zone->len > args->zone_sectors) { in blk_revalidate_zone_cb()
[all …]
/linux/fs/btrfs/
A Dzoned.c197 zones[i].start = i * zone_sectors + pos; in emulate_report_zones()
198 zones[i].len = zone_sectors; in emulate_report_zones()
199 zones[i].capacity = zone_sectors; in emulate_report_zones()
324 sector_t zone_sectors; in btrfs_get_dev_zone_info() local
352 zone_sectors = bdev_zone_sectors(bdev); in btrfs_get_dev_zone_info()
356 ASSERT(zone_sectors != 0 && (zone_sectors & (zone_sectors - 1)) == 0); in btrfs_get_dev_zone_info()
768 sector_t zone_sectors; in btrfs_sb_log_location_bdev() local
782 zone_sectors = bdev_zone_sectors(bdev); in btrfs_sb_log_location_bdev()
783 if (!is_power_of_2(zone_sectors)) in btrfs_sb_log_location_bdev()
902 sector_t zone_sectors; in btrfs_reset_sb_log_zones() local
[all …]
/linux/drivers/md/
A Ddm-table.c253 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid() local
255 if (start & (zone_sectors - 1)) { in device_area_is_invalid()
259 zone_sectors, bdevname(bdev, b)); in device_area_is_invalid()
272 if (len & (zone_sectors - 1)) { in device_area_is_invalid()
276 zone_sectors, bdevname(bdev, b)); in device_area_is_invalid()
1604 unsigned int *zone_sectors = data; in device_not_matches_zone_sectors() local
1619 unsigned int zone_sectors) in validate_hardware_zoned_model() argument
1631 if (!zone_sectors || !is_power_of_2(zone_sectors)) in validate_hardware_zoned_model()
1653 unsigned int zone_sectors = 0; in dm_calculate_queue_limits() local
1677 zone_sectors = ti_limits.chunk_sectors; in dm_calculate_queue_limits()
[all …]
/linux/drivers/nvme/target/
A Dzns.c467 sector_t zone_sectors = bdev_zone_sectors(bdev); in nvmet_bdev_zmgmt_send_work() local
489 if (sect & (zone_sectors - 1)) { in nvmet_bdev_zmgmt_send_work()
495 ret = blkdev_zone_mgmt(bdev, op, sect, zone_sectors, GFP_KERNEL); in nvmet_bdev_zmgmt_send_work()

Completed in 12 milliseconds