Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dsd_zbc.c237 return logical_to_sectors(sdkp->device, sdkp->zone_info.zone_blocks); in sd_zbc_zone_sectors()
381 zno * sdkp->zone_info.zone_blocks, true); in sd_zbc_update_wp_offset_workfn()
448 if (wp_offset + nr_blocks > sdkp->zone_info.zone_blocks) { in sd_zbc_prepare_zone_append()
709 u64 zone_blocks; in sd_zbc_check_capacity() local
735 zone_blocks = get_unaligned_be64(&rec[8]); in sd_zbc_check_capacity()
736 if (logical_to_sectors(sdkp->device, zone_blocks) > UINT_MAX) { in sd_zbc_check_capacity()
743 zone_blocks = sdkp->zone_starting_lba_gran; in sd_zbc_check_capacity()
746 if (!is_power_of_2(zone_blocks)) { in sd_zbc_check_capacity()
749 zone_blocks); in sd_zbc_check_capacity()
753 *zblocks = zone_blocks; in sd_zbc_check_capacity()
[all …]
Dsd.h81 u32 zone_blocks; member