Lines Matching refs:bvec
1013 static void pkt_make_local_copy(struct packet_data *pkt, struct bio_vec *bvec)
1021 if (bvec[f].bv_page != pkt->pages[p]) {
1022 void *vfrom = kmap_atomic(bvec[f].bv_page) + bvec[f].bv_offset;
1026 bvec[f].bv_page = pkt->pages[p];
1027 bvec[f].bv_offset = offs;
1029 BUG_ON(bvec[f].bv_offset != offs);
1366 struct bio_vec *bvec = pkt->w_bio->bi_io_vec;
1369 bvec[f].bv_page = pkt->pages[(f * CD_FRAMESIZE) / PAGE_SIZE];
1370 bvec[f].bv_offset = (f * CD_FRAMESIZE) % PAGE_SIZE;
1374 * Fill-in bvec with data from orig_bios.
1396 bvec[f].bv_page = src_bvl->bv_page;
1397 bvec[f].bv_offset = src_bvl->bv_offset + src_offs;
1400 bvec[f].bv_page, bvec[f].bv_offset);
1414 pkt_make_local_copy(pkt, bvec);
1427 pkt->w_bio->bi_io_vec = bvec;
1430 if (!bio_add_page(pkt->w_bio, bvec[f].bv_page, CD_FRAMESIZE, bvec[f].bv_offset))
2595 struct bio_vec *bvec)