Home
last modified time | relevance | path

Searched refs:nr_iovecs (Results 1 – 1 of 1) sorted by relevance

/block/
Dbio.c427 struct bio *bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs, struct bio_set *bs) in bio_alloc_bioset() argument
438 if (nr_iovecs > UIO_MAXIOV) in bio_alloc_bioset()
442 nr_iovecs * sizeof(struct bio_vec), in bio_alloc_bioset()
445 inline_vecs = nr_iovecs; in bio_alloc_bioset()
448 if (WARN_ON_ONCE(!bs->bvec_pool && nr_iovecs > 0)) in bio_alloc_bioset()
493 if (nr_iovecs > inline_vecs) { in bio_alloc_bioset()
494 bvl = bvec_alloc(gfp_mask, nr_iovecs, &idx, bs->bvec_pool); in bio_alloc_bioset()
498 bvl = bvec_alloc(gfp_mask, nr_iovecs, &idx, bs->bvec_pool); in bio_alloc_bioset()
505 } else if (nr_iovecs) { in bio_alloc_bioset()
511 bio->bi_max_vecs = nr_iovecs; in bio_alloc_bioset()