Lines Matching defs:bio
297 skb_fillup(struct sk_buff *skb, struct bio *bio, struct bvec_iter iter)
302 __bio_for_each_segment(bv, bio, iter, iter)
352 if (f->buf && bio_data_dir(f->buf->bio) == WRITE) {
353 skb_fillup(skb, f->buf->bio, f->iter);
389 bio_advance_iter(buf->bio, &buf->iter, f->iter.bi_size);
826 bufinit(struct buf *buf, struct request *rq, struct bio *bio)
830 buf->bio = bio;
831 buf->iter = bio->bi_iter;
841 struct bio *bio;
857 d->ip.nxbio = rq->bio;
861 __rq_for_each_bio(bio, rq)
869 bio = d->ip.nxbio;
870 bufinit(buf, rq, bio);
871 bio = bio->bi_next;
872 d->ip.nxbio = bio;
873 if (bio == NULL)
1021 bvcpy(struct sk_buff *skb, struct bio *bio, struct bvec_iter iter, long cnt)
1028 __bio_for_each_segment(bv, bio, iter, iter) {
1039 struct bio *bio;
1048 bio = rq->bio;
1049 bok = !fastfail && !bio->bi_status;
1052 } while (blk_update_request(rq, bok ? BLK_STS_OK : BLK_STS_IOERR, bio->bi_iter.bi_size));
1111 buf->bio->bi_status = BLK_STS_IOERR;
1124 buf->bio->bi_status = BLK_STS_IOERR;
1132 buf->bio->bi_status = BLK_STS_IOERR;
1135 bvcpy(skb, f->buf->bio, f->iter, n);
1633 buf->bio->bi_status = BLK_STS_IOERR;