Searched refs:rw_max (Results 1 – 1 of 1) sorted by relevance
3414 unsigned int dev_max, rw_max; in sd_revalidate_disk() local3490 rw_max = logical_to_sectors(sdp, sdkp->opt_xfer_blocks); in sd_revalidate_disk()3493 rw_max = min_not_zero(logical_to_sectors(sdp, dev_max), in sd_revalidate_disk()3502 rw_max = min_not_zero(rw_max, sdp->host->opt_sectors); in sd_revalidate_disk()3505 rw_max = min(rw_max, queue_max_hw_sectors(q)); in sd_revalidate_disk()3514 q->limits.max_sectors = rw_max; in sd_revalidate_disk()