Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/
Dsr.c335 long error_sector; in sr_done() local
357 error_sector = in sr_done()
364 error_sector <<= 2; in sr_done()
365 error_sector &= ~(block_sectors - 1); in sr_done()
366 good_bytes = (error_sector - blk_rq_pos(rq)) << 9; in sr_done()
377 if (error_sector < get_capacity(cd->disk) && in sr_done()
378 cd->capacity - error_sector < 4 * 75) in sr_done()
379 set_capacity(cd->disk, error_sector); in sr_done()