Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/
Dsr.c299 int block_sectors = 0; in sr_done() local
325 block_sectors = bio_sectors(rq->bio); in sr_done()
326 if (block_sectors < 4) in sr_done()
327 block_sectors = 4; in sr_done()
330 error_sector &= ~(block_sectors - 1); in sr_done()
/Linux-v6.6/drivers/md/
Draid1.c2386 int block_sectors; in narrow_write_error() local
2395 block_sectors = roundup(1 << rdev->badblocks.shift, in narrow_write_error()
2398 sectors = ((sector + block_sectors) in narrow_write_error()
2399 & ~(sector_t)(block_sectors - 1)) in narrow_write_error()
2433 sectors = block_sectors; in narrow_write_error()
Draid10.c2920 int block_sectors; in narrow_write_error() local
2929 block_sectors = roundup(1 << rdev->badblocks.shift, in narrow_write_error()
2932 sectors = ((r10_bio->sector + block_sectors) in narrow_write_error()
2933 & ~(sector_t)(block_sectors - 1)) in narrow_write_error()
2959 sectors = block_sectors; in narrow_write_error()