Searched refs:logical_to_sectors (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/scsi/ |
A D | sd_zbc.c | 95 zone.start = logical_to_sectors(sdp, start_lba); in sd_zbc_parse_report() 96 zone.capacity = logical_to_sectors(sdp, get_unaligned_be64(&buf[8])); in sd_zbc_parse_report() 99 gran = logical_to_sectors(sdp, sdkp->zone_starting_lba_gran); in sd_zbc_parse_report() 118 zone.wp = logical_to_sectors(sdp, get_unaligned_be64(&buf[24])); in sd_zbc_parse_report() 242 return logical_to_sectors(sdkp->device, sdkp->zone_info.zone_blocks); in sd_zbc_zone_sectors() 673 logical_to_sectors(sdkp->device, zone_starting_lba_gran) > in sd_zbc_check_zoned_characteristics() 744 if (logical_to_sectors(sdkp->device, zone_blocks) > UINT_MAX) { in sd_zbc_check_capacity() 891 max_append = min_t(u32, logical_to_sectors(sdkp->device, zone_blocks), in sd_zbc_revalidate_zones()
|
A D | sd.h | 205 static inline sector_t logical_to_sectors(struct scsi_device *sdev, sector_t blocks) in logical_to_sectors() function
|
A D | sd.c | 1126 unsigned int mask = logical_to_sectors(sdp, 1) - 1; in sd_setup_read_write_cmnd() 1407 sector_t capacity = logical_to_sectors(sdp, sdkp->capacity); in sd_getgeo() 3100 return logical_to_sectors(sdkp->device, get_unaligned_be64(buf)); in sd64_to_sectors() 3342 q->limits.max_dev_sectors = logical_to_sectors(sdp, dev_max); in sd_revalidate_disk() 3352 rw_max = logical_to_sectors(sdp, sdkp->opt_xfer_blocks); in sd_revalidate_disk() 3355 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max), in sd_revalidate_disk() 3380 set_capacity_and_notify(disk, logical_to_sectors(sdp, sdkp->capacity)); in sd_revalidate_disk()
|
Completed in 11 milliseconds