Searched refs:zone_sectors (Results 1 – 4 of 4) sorted by relevance
124 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() local214 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; member499 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 …]
197 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() local352 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() local782 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 …]
253 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid() local255 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() local1619 unsigned int zone_sectors) in validate_hardware_zoned_model() argument1631 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() local1677 zone_sectors = ti_limits.chunk_sectors; in dm_calculate_queue_limits()[all …]
467 sector_t zone_sectors = bdev_zone_sectors(bdev); in nvmet_bdev_zmgmt_send_work() local489 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