Searched refs:rw_max (Results 1 – 1 of 1) sorted by relevance
3216 unsigned int dev_max, rw_max; in sd_revalidate_disk() local3292 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()3304 rw_max = min_not_zero(rw_max, sdp->host->opt_sectors); in sd_revalidate_disk()3307 rw_max = min(rw_max, queue_max_hw_sectors(q)); in sd_revalidate_disk()3316 q->limits.max_sectors = rw_max; in sd_revalidate_disk()