Searched refs:block_sectors (Results 1 – 3 of 3) sorted by relevance
299 int block_sectors = 0; in sr_done() local325 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()
2386 int block_sectors; in narrow_write_error() local2395 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()
2920 int block_sectors; in narrow_write_error() local2929 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()