Searched refs:bvec (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | iov_iter.c | 135 const struct bio_vec *bvec = i->bvec; \ 139 bvec, (K)) \ 140 i->nr_segs -= bvec - i->bvec; \ 141 i->bvec = bvec; \ 605 const struct bio_vec *bvec, *end; in iov_iter_bvec_advance() local 613 for (bvec = i->bvec, end = bvec + i->nr_segs; bvec < end; bvec++) { in iov_iter_bvec_advance() 614 if (likely(size < bvec->bv_len)) in iov_iter_bvec_advance() 616 size -= bvec->bv_len; in iov_iter_bvec_advance() 619 i->nr_segs -= bvec - i->bvec; in iov_iter_bvec_advance() 620 i->bvec = bvec; in iov_iter_bvec_advance() [all …]
|
D | kunit_iov_iter.c | 218 struct bio_vec *bvec, unsigned int bvmax, in iov_kunit_load_bvec() argument 239 bvec[i].bv_len += pr->to; in iov_kunit_load_bvec() 241 bvec_set_page(&bvec[i], page, pr->to - pr->from, pr->from); in iov_kunit_load_bvec() 251 iov_iter_bvec(iter, dir, bvec, i, size); in iov_kunit_load_bvec() 261 struct bio_vec bvec[8]; in iov_kunit_copy_to_bvec() local 277 iov_kunit_load_bvec(test, &iter, READ, bvec, ARRAY_SIZE(bvec), in iov_kunit_copy_to_bvec() 315 struct bio_vec bvec[8]; in iov_kunit_copy_from_bvec() local 331 iov_kunit_load_bvec(test, &iter, WRITE, bvec, ARRAY_SIZE(bvec), in iov_kunit_copy_from_bvec() 610 struct bio_vec bvec[8]; in iov_kunit_extract_pages_bvec() local 619 iov_kunit_load_bvec(test, &iter, READ, bvec, ARRAY_SIZE(bvec), in iov_kunit_extract_pages_bvec()
|
D | scatterlist.c | 1167 const struct bio_vec *bv = iter->bvec; in extract_bvec_to_sg()
|