Lines Matching refs:private_bio

33 	req->private_bio = bio_clone_fast(bio_src, GFP_NOIO, &drbd_io_bio_set);  in drbd_req_new()
34 req->private_bio->bi_private = req; in drbd_req_new()
35 req->private_bio->bi_end_io = drbd_request_endio; in drbd_req_new()
237 error = PTR_ERR(req->private_bio); in drbd_req_complete()
1037 if (req->private_bio) { in do_remote_read()
1040 bio_put(req->private_bio); in do_remote_read()
1041 req->private_bio = NULL; in do_remote_read()
1049 if (req->private_bio == NULL) in do_remote_read()
1059 if (rbm == RB_PREFER_LOCAL && req->private_bio) in do_remote_read()
1063 if (req->private_bio) { in do_remote_read()
1064 bio_put(req->private_bio); in do_remote_read()
1065 req->private_bio = NULL; in do_remote_read()
1136 req->private_bio->bi_status = BLK_STS_IOERR; in drbd_process_discard_or_zeroes_req()
1137 bio_endio(req->private_bio); in drbd_process_discard_or_zeroes_req()
1144 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio()
1215 bio_put(req->private_bio); in drbd_request_prepare()
1216 req->private_bio = NULL; in drbd_request_prepare()
1224 if (rw == WRITE && req->private_bio && req->i.size in drbd_request_prepare()
1331 if (req->private_bio) { in drbd_send_and_submit()
1332 bio_put(req->private_bio); in drbd_send_and_submit()
1333 req->private_bio = NULL; in drbd_send_and_submit()
1343 if (!do_remote_read(req) && !req->private_bio) in drbd_send_and_submit()
1360 if (req->private_bio && !may_do_writes(device)) { in drbd_send_and_submit()
1361 bio_put(req->private_bio); in drbd_send_and_submit()
1362 req->private_bio = NULL; in drbd_send_and_submit()
1371 if (req->private_bio == NULL) { in drbd_send_and_submit()
1389 if (req->private_bio) { in drbd_send_and_submit()
1440 && req->private_bio && req->i.size in submit_fast_path()