Searched refs:logical_to_bytes (Results 1 – 2 of 2) sorted by relevance
210 static inline unsigned int logical_to_bytes(struct scsi_device *sdev, sector_t blocks) in logical_to_bytes() function
1911 good_bytes = logical_to_bytes(sdev, bad_lba - start_lba); in sd_completed_bytes()3122 logical_to_bytes(sdp, sdkp->min_xfer_blocks); in sd_validate_min_xfer_size()3151 logical_to_bytes(sdp, sdkp->opt_xfer_blocks); in sd_validate_opt_xfer_size()3153 logical_to_bytes(sdp, sdkp->min_xfer_blocks); in sd_validate_opt_xfer_size()3286 logical_to_bytes(sdp, sdkp->min_xfer_blocks)); in sd_revalidate_disk()3291 q->limits.io_opt = logical_to_bytes(sdp, sdkp->opt_xfer_blocks); in sd_revalidate_disk()