Lines Matching refs:private_bio

234 	error = PTR_ERR(req->private_bio);  in drbd_req_complete()
1046 if (req->private_bio) { in do_remote_read()
1049 bio_put(req->private_bio); in do_remote_read()
1050 req->private_bio = NULL; in do_remote_read()
1058 if (req->private_bio == NULL) in do_remote_read()
1068 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read()
1072 if (req->private_bio) { in do_remote_read()
1073 bio_put(req->private_bio); in do_remote_read()
1074 req->private_bio = NULL; in do_remote_read()
1146 req->private_bio->bi_status = BLK_STS_IOERR; in drbd_process_discard_or_zeroes_req()
1147 bio_endio(req->private_bio); in drbd_process_discard_or_zeroes_req()
1154 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio()
1223 req->private_bio = bio_alloc_clone(device->ldev->backing_bdev, in drbd_request_prepare()
1226 req->private_bio->bi_private = req; in drbd_request_prepare()
1227 req->private_bio->bi_end_io = drbd_request_endio; in drbd_request_prepare()
1235 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1343 if (req->private_bio) { in drbd_send_and_submit()
1344 bio_put(req->private_bio); in drbd_send_and_submit()
1345 req->private_bio = NULL; in drbd_send_and_submit()
1355 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
1372 if (req->private_bio && !may_do_writes(device)) { in drbd_send_and_submit()
1373 bio_put(req->private_bio); in drbd_send_and_submit()
1374 req->private_bio = NULL; in drbd_send_and_submit()
1383 if (req->private_bio == NULL) { in drbd_send_and_submit()
1401 if (req->private_bio) { in drbd_send_and_submit()
1452 && req->private_bio && req->i.size in submit_fast_path()