Home
last modified time | relevance | path

Searched refs:BIO_MAX_VECS (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.3-rc2/fs/crypto/
A Dbio.c59 bio = bio_alloc(inode->i_sb->s_bdev, BIO_MAX_VECS, REQ_OP_WRITE, in fscrypt_zeroout_range_inline_crypt()
80 if (num_pages == BIO_MAX_VECS || !len || in fscrypt_zeroout_range_inline_crypt()
132 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS); in fscrypt_zeroout_range()
/linux-6.3-rc2/block/
A Dbio.c46 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" },
59 case 129 ... BIO_MAX_VECS: in biovec_slab()
165 BUG_ON(nr_vecs > BIO_MAX_VECS); in bvec_free()
167 if (nr_vecs == BIO_MAX_VECS) in bvec_free()
202 if (*nr_vecs < BIO_MAX_VECS) { in bvec_alloc()
208 *nr_vecs = BIO_MAX_VECS; in bvec_alloc()
A Dfops.c252 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS); in __blkdev_direct_IO()
380 nr_pages = bio_iov_vecs_to_alloc(iter, BIO_MAX_VECS + 1); in blkdev_direct_IO()
381 if (likely(nr_pages <= BIO_MAX_VECS)) { in blkdev_direct_IO()
A Dbounce.c213 if (i++ < BIO_MAX_VECS) in __blk_queue_bounce()
A Dblk-lib.c165 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
A Dblk-crypto-fallback.c220 if (++i == BIO_MAX_VECS) in blk_crypto_fallback_split_bio_if_needed()
A Dblk-map.c269 unsigned int nr_vecs = iov_iter_npages(iter, BIO_MAX_VECS); in bio_map_user_iov()
/linux-6.3-rc2/drivers/nvme/target/
A Dpassthru.c112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl()
266 if (req->sg_cnt > BIO_MAX_VECS) in nvmet_passthru_map_sg()
/linux-6.3-rc2/fs/iomap/
A Ddirect-io.c307 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter()
348 BIO_MAX_VECS); in iomap_dio_bio_iter()
A Dbuffered-io.c1507 bio = bio_alloc_bioset(wpc->iomap.bdev, BIO_MAX_VECS, in iomap_alloc_ioend()
1538 new = bio_alloc(prev->bi_bdev, BIO_MAX_VECS, prev->bi_opf, GFP_NOFS); in iomap_chain_bio()
/linux-6.3-rc2/include/linux/
A Dbio.h13 #define BIO_MAX_VECS 256U macro
19 return min(nr_segs, BIO_MAX_VECS); in bio_max_segs()
/linux-6.3-rc2/fs/f2fs/
A Dsegment.h899 return 8 * BIO_MAX_VECS; in nr_pages_to_skip()
916 desired = BIO_MAX_VECS; in nr_pages_to_write()
/linux-6.3-rc2/fs/nilfs2/
A Dsegbuf.c361 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
/linux-6.3-rc2/fs/
A Dmpage.c584 bio = bio_alloc(bdev, BIO_MAX_VECS, in __mpage_writepage()
/linux-6.3-rc2/fs/ext4/
A Dpage-io.c400 bio = bio_alloc(bh->b_bdev, BIO_MAX_VECS, REQ_OP_WRITE, GFP_NOIO); in io_submit_init_bio()
/linux-6.3-rc2/fs/btrfs/
A Dcompression.c314 bio = btrfs_bio_alloc(BIO_MAX_VECS, REQ_OP_WRITE | write_flags, in btrfs_submit_compressed_write()
593 comp_bio = btrfs_bio_alloc(BIO_MAX_VECS, REQ_OP_READ, BTRFS_I(cb->inode), in btrfs_submit_compressed_read()
A Dscrub.c1606 bio = bio_alloc(sblock->dev->bdev, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_recheck_block_on_raid56()
2415 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_missing_raid56_pages()
3012 bio = bio_alloc(NULL, BIO_MAX_VECS, REQ_OP_READ, GFP_NOFS); in scrub_parity_check_and_repair()
/linux-6.3-rc2/fs/zonefs/
A Dfile.c393 nr_pages = iov_iter_npages(from, BIO_MAX_VECS); in zonefs_file_dio_append()
/linux-6.3-rc2/drivers/md/
A Ddm-crypt.c236 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16)
3257 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr()
3400 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) && in crypt_map()
3402 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
A Ddm-writecache.c2070 g->wc_list_contiguous = BIO_MAX_VECS; in writecache_writeback()
2073 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) { in writecache_writeback()
A Draid5-ppl.c495 bio = bio_alloc_bioset(prev->bi_bdev, BIO_MAX_VECS, in ppl_submit_iounit()
/linux-6.3-rc2/fs/gfs2/
A Dlops.c268 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO); in gfs2_log_alloc_bio()
/linux-6.3-rc2/drivers/md/bcache/
A Drequest.c895 size_limit = min_t(unsigned int, BIO_MAX_VECS * PAGE_SECTORS, in cached_dev_cache_miss()
/linux-6.3-rc2/drivers/block/drbd/
A Ddrbd_int.h1255 #if DRBD_MAX_BIO_SIZE > (BIO_MAX_VECS << PAGE_SHIFT)
/linux-6.3-rc2/fs/erofs/
A Dzdata.c1761 bio = bio_alloc(mdev.m_bdev, BIO_MAX_VECS, in z_erofs_submit_queue()

Completed in 74 milliseconds

12