Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dbio.c237 bvec_free(&bs->bvec_pool, bio->bi_io_vec, bio->bi_max_vecs); in bio_free()
282 bio->bi_max_vecs = max_vecs; in bio_init()
899 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
985 min(bio->bi_max_vecs, queue_max_segments(q))) in bio_add_hw_page()
1108 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_add_page()
1173 WARN_ON_ONCE(bio->bi_max_vecs); in bio_iov_bvec_set()
1238 unsigned short nr_pages = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()
1239 unsigned short entries_left = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()
/openbmc/linux/include/linux/
H A Dblk_types.h311 unsigned short bi_max_vecs; /* max bvl_vecs we can hold */ member
327 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs)