Lines Matching refs:private_bio

235 	error = PTR_ERR(req->private_bio);  in drbd_req_complete()
1035 if (req->private_bio) { in do_remote_read()
1038 bio_put(req->private_bio); in do_remote_read()
1039 req->private_bio = NULL; in do_remote_read()
1047 if (req->private_bio == NULL) in do_remote_read()
1057 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read()
1061 if (req->private_bio) { in do_remote_read()
1062 bio_put(req->private_bio); in do_remote_read()
1063 req->private_bio = NULL; in do_remote_read()
1134 req->private_bio->bi_status = BLK_STS_IOERR; in drbd_process_discard_or_zeroes_req()
1135 bio_endio(req->private_bio); in drbd_process_discard_or_zeroes_req()
1142 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio()
1213 bio_put(req->private_bio); in drbd_request_prepare()
1214 req->private_bio = NULL; in drbd_request_prepare()
1222 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1329 if (req->private_bio) { in drbd_send_and_submit()
1330 bio_put(req->private_bio); in drbd_send_and_submit()
1331 req->private_bio = NULL; in drbd_send_and_submit()
1341 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
1358 if (req->private_bio && !may_do_writes(device)) { in drbd_send_and_submit()
1359 bio_put(req->private_bio); in drbd_send_and_submit()
1360 req->private_bio = NULL; in drbd_send_and_submit()
1369 if (req->private_bio == NULL) { in drbd_send_and_submit()
1387 if (req->private_bio) { in drbd_send_and_submit()
1438 && req->private_bio && req->i.size in submit_fast_path()