Home
last modified time | relevance | path

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

/linux/block/
H A Dbio.c236 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()
913 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
1003 min(bio->bi_max_vecs, queue_max_segments(q))) in bio_add_hw_page()
1116 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_add_page()
1176 WARN_ON_ONCE(bio->bi_max_vecs); in bio_iov_bvec_set()
1251 unsigned short nr_pages = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()
1252 unsigned short entries_left = bio->bi_max_vecs - bio->bi_vcnt; in __bio_iov_iter_get_pages()
/linux/include/linux/
H A Dblk_types.h264 unsigned short bi_max_vecs; /* max bvl_vecs we can hold */ member
280 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs)
/linux/fs/bcachefs/
H A Dfs-io-buffered.c20 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_full()
101 bio->bi_vcnt < bio->bi_max_vecs) { in readpage_bio_extend()
H A Dcompress.c231 BUG_ON(DIV_ROUND_UP(crc->live_size, PAGE_SECTORS) > bio->bi_max_vecs); in bch2_bio_uncompress_inplace()
H A Dio_read.c154 BUG_ON(rbio->bio.bi_vcnt > bio->bi_max_vecs); in promote_start()