Home
last modified time | relevance | path

Searched refs:zone_blocks (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/scsi/
Dsd_zbc.c242 return logical_to_sectors(sdkp->device, sdkp->zone_info.zone_blocks); in sd_zbc_zone_sectors()
386 zno * sdkp->zone_info.zone_blocks, true); in sd_zbc_update_wp_offset_workfn()
453 if (wp_offset + nr_blocks > sdkp->zone_info.zone_blocks) { in sd_zbc_prepare_zone_append()
717 u64 zone_blocks; in sd_zbc_check_capacity() local
743 zone_blocks = get_unaligned_be64(&rec[8]); in sd_zbc_check_capacity()
744 if (logical_to_sectors(sdkp->device, zone_blocks) > UINT_MAX) { in sd_zbc_check_capacity()
751 zone_blocks = sdkp->zone_starting_lba_gran; in sd_zbc_check_capacity()
754 if (!is_power_of_2(zone_blocks)) { in sd_zbc_check_capacity()
757 zone_blocks); in sd_zbc_check_capacity()
761 *zblocks = zone_blocks; in sd_zbc_check_capacity()
[all …]
Dsd.h81 u32 zone_blocks; member