Searched refs:bi_max_vecs (Results 1 – 3 of 3) sorted by relevance
237 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()1163 WARN_ON_ONCE(bio->bi_max_vecs); in bio_iov_bvec_set()1228 unsigned short nr_pages = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()1229 unsigned short entries_left = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()
310 unsigned short bi_max_vecs; /* max bvl_vecs we can hold */ member326 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs)
803 unsigned int left_vecs = bio->bi_max_vecs - bio->bi_vcnt; in io_is_mergeable()