Searched refs:BIO_MAX_VECS (Results 1 - 25 of 39) sorted by relevance
12
/linux-master/fs/crypto/ |
H A D | bio.c | 59 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 D | vio.h | 21 MAX_BLOCKS_PER_VIO = (BIO_MAX_VECS << PAGE_SHIFT) / VDO_BLOCK_SIZE,
|
/linux-master/block/ |
H A D | bio.c | 45 { .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 D | bounce.c | 156 * - 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 D | blk-lib.c | 162 return min(pages, (sector_t)BIO_MAX_VECS);
|
H A D | bio-integrity.c | 335 nr_vecs = iov_iter_npages(&iter, BIO_MAX_VECS + 1); 336 if (nr_vecs > BIO_MAX_VECS)
|
H A D | fops.c | 246 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 D | blk-map.c | 277 unsigned int nr_vecs = iov_iter_npages(iter, BIO_MAX_VECS);
|
H A D | blk-crypto-fallback.c | 221 if (++i == BIO_MAX_VECS)
|
/linux-master/include/linux/ |
H A D | bio.h | 13 #define BIO_MAX_VECS 256U macro 19 return min(nr_segs, BIO_MAX_VECS);
|
/linux-master/drivers/nvme/target/ |
H A D | passthru.c | 110 * 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 D | direct-io.c | 370 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); 412 BIO_MAX_VECS);
|
/linux-master/fs/erofs/ |
H A D | fscache.c | 180 struct bio_vec bvecs[BIO_MAX_VECS]; 200 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ);
|
H A D | zdata.c | 1669 bio_alloc(mdev.m_bdev, BIO_MAX_VECS,
|
/linux-master/fs/bcachefs/ |
H A D | fs-io-direct.c | 96 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 D | fs-io-buffered.c | 283 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 D | segbuf.c | 367 wi->max_pages = BIO_MAX_VECS;
|
/linux-master/fs/f2fs/ |
H A D | segment.h | 908 return 8 * BIO_MAX_VECS; 925 desired = BIO_MAX_VECS;
|
/linux-master/fs/ext4/ |
H A D | page-io.c | 400 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO);
|
/linux-master/fs/ |
H A D | mpage.c | 603 bio = bio_alloc(bdev, BIO_MAX_VECS,
|
/linux-master/fs/gfs2/ |
H A D | lops.c | 268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO);
|
/linux-master/drivers/md/ |
H A D | dm-crypt.c | 240 #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 D | dm-writecache.c | 2070 g->wc_list_contiguous = BIO_MAX_VECS; 2073 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) {
|
H A D | raid5-ppl.c | 495 bio = bio_alloc_bioset(prev->bi_bdev, BIO_MAX_VECS,
|
/linux-master/drivers/md/bcache/ |
H A D | request.c | 895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS,
|
Completed in 285 milliseconds
12