Searched refs:logical_to_sectors (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/scsi/ |
D | sd_zbc.c | 92 zone.start = logical_to_sectors(sdp, start_lba); in sd_zbc_parse_report() 93 zone.capacity = logical_to_sectors(sdp, get_unaligned_be64(&buf[8])); in sd_zbc_parse_report() 96 gran = logical_to_sectors(sdp, sdkp->zone_starting_lba_gran); in sd_zbc_parse_report() 115 zone.wp = logical_to_sectors(sdp, get_unaligned_be64(&buf[24])); in sd_zbc_parse_report() 237 return logical_to_sectors(sdkp->device, sdkp->zone_info.zone_blocks); in sd_zbc_zone_sectors() 665 logical_to_sectors(sdkp->device, zone_starting_lba_gran) > in sd_zbc_check_zoned_characteristics() 736 if (logical_to_sectors(sdkp->device, zone_blocks) > UINT_MAX) { in sd_zbc_check_capacity() 883 max_append = min_t(u32, logical_to_sectors(sdkp->device, zone_blocks), in sd_zbc_revalidate_zones()
|
D | sd.h | 205 static inline sector_t logical_to_sectors(struct scsi_device *sdev, sector_t blocks) in logical_to_sectors() function
|
D | sd.c | 1121 unsigned int mask = logical_to_sectors(sdp, 1) - 1; in sd_setup_read_write_cmnd() 1402 sector_t capacity = logical_to_sectors(sdp, sdkp->capacity); in sd_getgeo() 3040 return logical_to_sectors(sdkp->device, get_unaligned_be64(buf)); in sd64_to_sectors() 3282 q->limits.max_dev_sectors = logical_to_sectors(sdp, dev_max); in sd_revalidate_disk() 3292 rw_max = logical_to_sectors(sdp, sdkp->opt_xfer_blocks); in sd_revalidate_disk() 3295 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max), in sd_revalidate_disk() 3320 set_capacity_and_notify(disk, logical_to_sectors(sdp, sdkp->capacity)); in sd_revalidate_disk()
|