Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/
Dsr.c300 long error_sector; in sr_done() local
322 error_sector = in sr_done()
329 error_sector <<= 2; in sr_done()
330 error_sector &= ~(block_sectors - 1); in sr_done()
331 good_bytes = (error_sector - blk_rq_pos(rq)) << 9; in sr_done()
342 if (error_sector < get_capacity(cd->disk) && in sr_done()
343 cd->capacity - error_sector < 4 * 75) in sr_done()
344 set_capacity(cd->disk, error_sector); in sr_done()