Lines Matching refs:private_bio
264 error = PTR_ERR(req->private_bio); in drbd_req_complete()
1064 if (req->private_bio) { in do_remote_read()
1067 bio_put(req->private_bio); in do_remote_read()
1068 req->private_bio = NULL; in do_remote_read()
1076 if (req->private_bio == NULL) in do_remote_read()
1086 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read()
1090 if (req->private_bio) { in do_remote_read()
1091 bio_put(req->private_bio); in do_remote_read()
1092 req->private_bio = NULL; in do_remote_read()
1164 req->private_bio->bi_status = BLK_STS_IOERR; in drbd_process_discard_req()
1165 bio_endio(req->private_bio); in drbd_process_discard_req()
1172 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio()
1239 bio_put(req->private_bio); in drbd_request_prepare()
1240 req->private_bio = NULL; in drbd_request_prepare()
1251 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1358 if (req->private_bio) { 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()
1370 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
1387 if (req->private_bio && !may_do_writes(device)) { in drbd_send_and_submit()
1388 bio_put(req->private_bio); in drbd_send_and_submit()
1389 req->private_bio = NULL; in drbd_send_and_submit()
1398 if (req->private_bio == NULL) { in drbd_send_and_submit()
1416 if (req->private_bio) { in drbd_send_and_submit()
1467 && req->private_bio && req->i.size in submit_fast_path()