Lines Matching refs:zone_starting_lba_gran
95 if (sdkp->zone_starting_lba_gran) { in sd_zbc_parse_report()
96 gran = logical_to_sectors(sdp, sdkp->zone_starting_lba_gran); in sd_zbc_parse_report()
302 if (sdkp->zone_starting_lba_gran) in sd_zbc_report_zones()
633 u64 zone_starting_lba_gran; in sd_zbc_check_zoned_characteristics() local
662 zone_starting_lba_gran = get_unaligned_be64(&buf[24]); in sd_zbc_check_zoned_characteristics()
663 if (zone_starting_lba_gran == 0 || in sd_zbc_check_zoned_characteristics()
664 !is_power_of_2(zone_starting_lba_gran) || in sd_zbc_check_zoned_characteristics()
665 logical_to_sectors(sdkp->device, zone_starting_lba_gran) > in sd_zbc_check_zoned_characteristics()
669 zone_starting_lba_gran); in sd_zbc_check_zoned_characteristics()
672 sdkp->zone_starting_lba_gran = zone_starting_lba_gran; in sd_zbc_check_zoned_characteristics()
732 if (sdkp->zone_starting_lba_gran == 0) { in sd_zbc_check_capacity()
743 zone_blocks = sdkp->zone_starting_lba_gran; in sd_zbc_check_capacity()