Lines Matching refs:bi_max_vecs
201 WARN_ON_ONCE(bio->bi_max_vecs > BIO_MAX_VECS); in bio_free()
204 if (bio->bi_max_vecs == BIO_MAX_VECS) in bio_free()
206 else if (bio->bi_max_vecs > BIO_INLINE_VECS) in bio_free()
207 kmem_cache_free(biovec_slab(bio->bi_max_vecs)->slab, in bio_free()
256 bio->bi_max_vecs = max_vecs; in bio_init()
943 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
1068 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_add_page()
1189 WARN_ON_ONCE(bio->bi_max_vecs); in bio_iov_iter_set()
1310 &bio->bi_vcnt, bio->bi_max_vecs, in bio_iov_iter_get_pages()
1374 if (WARN_ON_ONCE(bio->bi_vcnt >= bio->bi_max_vecs)) in bio_iov_iter_bounce_write()
1414 } while (total_len && bio->bi_vcnt < bio->bi_max_vecs); in bio_iov_iter_bounce_write()
1435 &bio->bi_vcnt, bio->bi_max_vecs - 1, 0, 0); in bio_iov_iter_bounce_read()
1443 } while (len && bio->bi_vcnt < bio->bi_max_vecs - 1); in bio_iov_iter_bounce_read()