Lines Matching refs:sbio
1240 struct bio *sbio = r1_bio->bios[i]; in sync_request_write() local
1242 if (test_bit(BIO_UPTODATE, &sbio->bi_flags)) { in sync_request_write()
1246 s = sbio->bi_io_vec[j].bv_page; in sync_request_write()
1257 && test_bit(BIO_UPTODATE, &sbio->bi_flags))) { in sync_request_write()
1258 sbio->bi_end_io = NULL; in sync_request_write()
1263 sbio->bi_vcnt = vcnt; in sync_request_write()
1264 sbio->bi_size = r1_bio->sectors << 9; in sync_request_write()
1265 sbio->bi_idx = 0; in sync_request_write()
1266 sbio->bi_phys_segments = 0; in sync_request_write()
1267 sbio->bi_flags &= ~(BIO_POOL_MASK - 1); in sync_request_write()
1268 sbio->bi_flags |= 1 << BIO_UPTODATE; in sync_request_write()
1269 sbio->bi_next = NULL; in sync_request_write()
1270 sbio->bi_sector = r1_bio->sector + in sync_request_write()
1272 sbio->bi_bdev = conf->mirrors[i].rdev->bdev; in sync_request_write()
1273 size = sbio->bi_size; in sync_request_write()
1276 bi = &sbio->bi_io_vec[j]; in sync_request_write()