Lines Matching refs:private_bio
234 error = PTR_ERR(req->private_bio); in drbd_req_complete()
1034 if (req->private_bio) { in do_remote_read()
1037 bio_put(req->private_bio); in do_remote_read()
1038 req->private_bio = NULL; in do_remote_read()
1046 if (req->private_bio == NULL) in do_remote_read()
1056 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read()
1060 if (req->private_bio) { in do_remote_read()
1061 bio_put(req->private_bio); in do_remote_read()
1062 req->private_bio = NULL; in do_remote_read()
1133 req->private_bio->bi_status = BLK_STS_IOERR; in drbd_process_discard_or_zeroes_req()
1134 bio_endio(req->private_bio); in drbd_process_discard_or_zeroes_req()
1141 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio()
1212 bio_put(req->private_bio); in drbd_request_prepare()
1213 req->private_bio = NULL; in drbd_request_prepare()
1221 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1328 if (req->private_bio) { in drbd_send_and_submit()
1329 bio_put(req->private_bio); in drbd_send_and_submit()
1330 req->private_bio = NULL; in drbd_send_and_submit()
1340 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
1357 if (req->private_bio && !may_do_writes(device)) { in drbd_send_and_submit()
1358 bio_put(req->private_bio); in drbd_send_and_submit()
1359 req->private_bio = NULL; in drbd_send_and_submit()
1368 if (req->private_bio == NULL) { in drbd_send_and_submit()
1386 if (req->private_bio) { in drbd_send_and_submit()
1437 && req->private_bio && req->i.size in submit_fast_path()