Lines Matching defs:bvec
210 * Functions for getting the pages from a bvec.
215 struct bio_vec *bvec = (struct bio_vec *) dp->context_ptr;
216 *p = bvec->bv_page;
217 *len = bvec->bv_len;
218 *offset = bvec->bv_offset;
223 struct bio_vec *bvec = (struct bio_vec *) dp->context_ptr;
224 dp->context_ptr = bvec + 1;
227 static void bvec_dp_init(struct dpages *dp, struct bio_vec *bvec)
231 dp->context_ptr = bvec;
455 bvec_dp_init(dp, io_req->mem.ptr.bvec);