Lines Matching refs:private_bio
252 error = PTR_ERR(req->private_bio); in drbd_req_complete()
1052 if (req->private_bio) { in do_remote_read()
1055 bio_put(req->private_bio); in do_remote_read()
1056 req->private_bio = NULL; in do_remote_read()
1064 if (req->private_bio == NULL) in do_remote_read()
1074 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read()
1078 if (req->private_bio) { in do_remote_read()
1079 bio_put(req->private_bio); in do_remote_read()
1080 req->private_bio = NULL; in do_remote_read()
1151 req->private_bio->bi_status = BLK_STS_IOERR; in drbd_process_discard_or_zeroes_req()
1152 bio_endio(req->private_bio); in drbd_process_discard_or_zeroes_req()
1159 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio()
1228 bio_put(req->private_bio); in drbd_request_prepare()
1229 req->private_bio = NULL; in drbd_request_prepare()
1240 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1347 if (req->private_bio) { in drbd_send_and_submit()
1348 bio_put(req->private_bio); in drbd_send_and_submit()
1349 req->private_bio = NULL; in drbd_send_and_submit()
1359 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
1376 if (req->private_bio && !may_do_writes(device)) { in drbd_send_and_submit()
1377 bio_put(req->private_bio); in drbd_send_and_submit()
1378 req->private_bio = NULL; in drbd_send_and_submit()
1387 if (req->private_bio == NULL) { in drbd_send_and_submit()
1405 if (req->private_bio) { in drbd_send_and_submit()
1456 && req->private_bio && req->i.size in submit_fast_path()