Searched refs:BIO_MAX_VECS (Results 1 - 25 of 39) sorted by relevance

12

/linux-master/fs/crypto/
H A Dbio.c59 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE,
80 if (num_pages == BIO_MAX_VECS || !len ||
136 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS);
/linux-master/drivers/md/dm-vdo/
H A Dvio.h21 MAX_BLOCKS_PER_VIO = (BIO_MAX_VECS << PAGE_SHIFT) / VDO_BLOCK_SIZE,
/linux-master/block/
H A Dbio.c45 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" },
58 case 129 ... BIO_MAX_VECS:
164 BUG_ON(nr_vecs > BIO_MAX_VECS);
166 if (nr_vecs == BIO_MAX_VECS)
199 * The mempool is sized to handle up to BIO_MAX_VECS entries.
201 if (*nr_vecs < BIO_MAX_VECS) {
207 *nr_vecs = BIO_MAX_VECS;
H A Dbounce.c156 * - The original bio could've had more than BIO_MAX_VECS biovecs; if
159 * actually need to allocate is fewer than BIO_MAX_VECS.
214 if (i++ < BIO_MAX_VECS)
H A Dblk-lib.c162 return min(pages, (sector_t)BIO_MAX_VECS);
H A Dbio-integrity.c335 nr_vecs = iov_iter_npages(&iter, BIO_MAX_VECS + 1);
336 if (nr_vecs > BIO_MAX_VECS)
H A Dfops.c246 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS);
376 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS + 1);
377 if (likely(nr_pages <= BIO_MAX_VECS)) {
H A Dblk-map.c277 unsigned int nr_vecs = iov_iter_npages(iter, BIO_MAX_VECS);
H A Dblk-crypto-fallback.c221 if (++i == BIO_MAX_VECS)
/linux-master/include/linux/
H A Dbio.h13 #define BIO_MAX_VECS 256U macro
19 return min(nr_segs, BIO_MAX_VECS);
/linux-master/drivers/nvme/target/
H A Dpassthru.c110 * the mdts based on BIO_MAX_VECS as well
112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << PAGE_SECTORS_SHIFT,
266 if (req->sg_cnt > BIO_MAX_VECS)
/linux-master/fs/iomap/
H A Ddirect-io.c370 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS);
412 BIO_MAX_VECS);
/linux-master/fs/erofs/
H A Dfscache.c180 struct bio_vec bvecs[BIO_MAX_VECS];
200 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ);
H A Dzdata.c1669 bio_alloc(mdev.m_bdev, BIO_MAX_VECS,
/linux-master/fs/bcachefs/
H A Dfs-io-direct.c96 bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS),
134 bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS),
625 bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS),
H A Dfs-io-buffered.c283 BIO_MAX_VECS);
393 (bio->bi_iter.bi_size + len > BIO_MAX_VECS * PAGE_SIZE);
484 w->io = container_of(bio_alloc_bioset(NULL, BIO_MAX_VECS,
/linux-master/fs/nilfs2/
H A Dsegbuf.c367 wi->max_pages = BIO_MAX_VECS;
/linux-master/fs/f2fs/
H A Dsegment.h908 return 8 * BIO_MAX_VECS;
925 desired = BIO_MAX_VECS;
/linux-master/fs/ext4/
H A Dpage-io.c400 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO);
/linux-master/fs/
H A Dmpage.c603 bio = bio_alloc(bdev, BIO_MAX_VECS,
/linux-master/fs/gfs2/
H A Dlops.c268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO);
/linux-master/drivers/md/
H A Ddm-crypt.c240 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16)
3323 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc);
3466 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) &&
3468 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT));
H A Ddm-writecache.c2070 g->wc_list_contiguous = BIO_MAX_VECS;
2073 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) {
H A Draid5-ppl.c495 bio = bio_alloc_bioset(prev->bi_bdev, BIO_MAX_VECS,
/linux-master/drivers/md/bcache/
H A Drequest.c895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS,

Completed in 285 milliseconds

12