Lines Matching refs:private_bio
232 * in private_bio within drbd_request_endio.
235 error = PTR_ERR(req->private_bio);
1021 /* If this returns false, and req->private_bio is still set,
1024 * If it returns false, but req->private_bio is not set,
1027 * Otherwise, this destroys req->private_bio, if any,
1035 if (req->private_bio) {
1038 bio_put(req->private_bio);
1039 req->private_bio = NULL;
1047 if (req->private_bio == NULL)
1057 if (rbm == RB_PREFER_LOCAL && req->private_bio)
1061 if (req->private_bio) {
1062 bio_put(req->private_bio);
1063 req->private_bio = NULL;
1134 req->private_bio->bi_status = BLK_STS_IOERR;
1135 bio_endio(req->private_bio);
1142 struct bio *bio = req->private_bio;
1213 bio_put(req->private_bio);
1214 req->private_bio = NULL;
1222 if (rw == WRITE && req->private_bio && req->i.size
1329 if (req->private_bio) {
1330 bio_put(req->private_bio);
1331 req->private_bio = NULL;
1341 if (!do_remote_read(req) && !req->private_bio)
1358 if (req->private_bio && !may_do_writes(device)) {
1359 bio_put(req->private_bio);
1360 req->private_bio = NULL;
1367 /* We either have a private_bio, or we can read from remote.
1369 if (req->private_bio == NULL) {
1387 if (req->private_bio) {
1413 * That's why we cannot check on req->private_bio. */
1438 && req->private_bio && req->i.size