Searched refs:opt_xfer_blocks (Results 1 – 2 of 2) sorted by relevance
95 u32 opt_xfer_blocks; member
2958 sdkp->opt_xfer_blocks = get_unaligned_be32(&buffer[12]); in sd_read_block_limits()3142 logical_to_bytes(sdp, sdkp->opt_xfer_blocks); in sd_validate_opt_xfer_size()3144 if (sdkp->opt_xfer_blocks == 0) in sd_validate_opt_xfer_size()3147 if (sdkp->opt_xfer_blocks > dev_max) { in sd_validate_opt_xfer_size()3151 sdkp->opt_xfer_blocks, dev_max); in sd_validate_opt_xfer_size()3155 if (sdkp->opt_xfer_blocks > SD_DEF_XFER_BLOCKS) { in sd_validate_opt_xfer_size()3159 sdkp->opt_xfer_blocks, SD_DEF_XFER_BLOCKS); in sd_validate_opt_xfer_size()3263 q->limits.io_opt = logical_to_bytes(sdp, sdkp->opt_xfer_blocks); in sd_revalidate_disk()3264 rw_max = logical_to_sectors(sdp, sdkp->opt_xfer_blocks); in sd_revalidate_disk()