Home
last modified time | relevance | path

Searched refs:error_sector (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dsr.c201 long error_sector; in rw_intr() local
221 error_sector = (SCpnt->sense_buffer[3] << 24) | in rw_intr()
230 error_sector <<= 2; in rw_intr()
231 error_sector &= ~(block_sectors - 1); in rw_intr()
232 good_sectors = error_sector - SCpnt->request.sector; in rw_intr()
242 if ((error_sector >> 1) < sr_sizes[device_nr] && in rw_intr()
243 scsi_CDs[device_nr].capacity - error_sector < 4 *75) in rw_intr()
244 sr_sizes[device_nr] = error_sector >> 1; in rw_intr()
Dsd.c606 long error_sector; in rw_intr() local
629 error_sector = (SCpnt->sense_buffer[3] << 24) | in rw_intr()
637 error_sector <<= 1; in rw_intr()
642 error_sector <<= 2; in rw_intr()
647 error_sector <<=3; in rw_intr()
652 error_sector >>= 1; in rw_intr()
657 error_sector -= sd_gendisks[SD_MAJOR_IDX( in rw_intr()
660 error_sector &= ~(block_sectors - 1); in rw_intr()
661 good_sectors = error_sector - SCpnt->request.sector; in rw_intr()