Lines Matching refs:sector_size
328 if (cd->device->sector_size == 2048) in sr_done()
390 s_size = cd->device->sector_size; in sr_init_command()
462 SCpnt->transfersize = cd->device->sector_size; in sr_init_command()
673 sdev->sector_size = 2048; /* A guess, just in case */ in sr_probe()
727 int sector_size; in get_sectorsize() local
747 sector_size = 2048; /* A guess, just in case */ in get_sectorsize()
762 sector_size = get_unaligned_be32(&buffer[4]); in get_sectorsize()
763 switch (sector_size) { in get_sectorsize()
773 sector_size = 2048; in get_sectorsize()
782 "unsupported sector size %d.", sector_size); in get_sectorsize()
786 cd->device->sector_size = sector_size; in get_sectorsize()
796 blk_queue_logical_block_size(queue, sector_size); in get_sectorsize()