Lines Matching defs:bio
1588 static int _drbd_send_bio(struct drbd_peer_device *peer_device, struct bio *bio)
1594 bio_for_each_segment(bvec, bio, iter) {
1607 static int _drbd_send_zc_bio(struct drbd_peer_device *peer_device, struct bio *bio)
1613 bio_for_each_segment(bvec, bio, iter) {
1646 struct bio *bio)
1649 return (bio->bi_opf & REQ_SYNC ? DP_RW_SYNC : 0) |
1650 (bio->bi_opf & REQ_FUA ? DP_FUA : 0) |
1651 (bio->bi_opf & REQ_PREFLUSH ? DP_FLUSH : 0) |
1652 (bio_op(bio) == REQ_OP_DISCARD ? DP_DISCARD : 0) |
1653 (bio_op(bio) == REQ_OP_WRITE_ZEROES ?
1655 (DP_ZEROES |(!(bio->bi_opf & REQ_NOUNMAP) ? DP_DISCARD : 0))
1659 return bio->bi_opf & REQ_SYNC ? DP_RW_SYNC : 0;
1722 * sure that even if the bio pages may still be modified, it
2238 /* One global retry thread, if we need to push back some bio and have it
2261 struct bio *bio = req->master_bio;
2296 __drbd_make_request(device, bio);