Lines Matching refs:bio_vec
157 void bvec_free_bs(struct bio_set *bs, struct bio_vec *bv, unsigned int idx)
170 struct bio_vec *bvec_alloc_bs(gfp_t gfp_mask, int nr, unsigned long *idx,
173 struct bio_vec *bvl;
281 struct bio_vec *bvl = NULL;
327 * bio_alloc will allocate a bio and associated bio_vec array that can hold
376 bio = kmalloc(sizeof(struct bio) + nr_iovecs * sizeof(struct bio_vec),
394 struct bio_vec *bv;
449 bio_src->bi_max_vecs * sizeof(struct bio_vec));
524 struct bio_vec *bvec;
541 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1];
640 * Attempt to add a page to the bio_vec maplist. This can fail for a
661 * Attempt to add a page to the bio_vec maplist. This can fail for a
676 struct bio_vec *iovecs;
686 memcpy(bmd->iovecs, bio->bi_io_vec, sizeof(struct bio_vec) * bio->bi_vcnt);
712 bmd->iovecs = kmalloc(sizeof(struct bio_vec) * nr_segs, gfp_mask);
727 static int __bio_copy_iov(struct bio *bio, struct bio_vec *iovecs,
732 struct bio_vec *bvec;
820 struct bio_vec *bvec;
1126 struct bio_vec *bvec;
1232 struct bio_vec *bvec;
1268 struct bio_vec *bvec;
1323 struct bio_vec *bvec = bio->bi_io_vec;
1336 struct bio_vec *bvec = bio->bi_io_vec;
1389 struct bio_vec *bvec = bio->bi_io_vec;
1421 struct bio_vec *bvec;
1537 * @index: bio_vec index
1541 * and an end point indicated by a bio_vec index and an offset
1548 struct bio_vec *bv;
1620 unsigned int back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec);
1666 size = bvs->nr_vecs * sizeof(struct bio_vec);