Searched refs:bi_max_vecs (Results 1 – 4 of 4) sorted by relevance
231 bvec_free(&bs->bvec_pool, bio->bi_io_vec, bio->bi_max_vecs); in bio_free()285 bio->bi_max_vecs = max_vecs; in bio_init()713 WARN_ON_ONCE(bio->bi_pool && bio->bi_max_vecs); in __bio_clone_fast()1036 WARN_ON_ONCE(bio->bi_max_vecs); in __bio_iov_bvec_set()1086 unsigned short nr_pages = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()1087 unsigned short entries_left = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()1131 unsigned short nr_pages = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_append_get_pages()1132 unsigned short entries_left = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_append_get_pages()
263 unsigned short bi_max_vecs; /* max bvl_vecs we can hold */ member279 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs)
115 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
721 unsigned int left_vecs = bio->bi_max_vecs - bio->bi_vcnt; in io_is_mergeable()