Home
last modified time | relevance | path

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

12

/linux/fs/crypto/
A Dbio.c57 bio = bio_alloc(GFP_NOFS, BIO_MAX_VECS); in fscrypt_zeroout_range_inline_crypt()
79 if (num_pages == BIO_MAX_VECS || !len || in fscrypt_zeroout_range_inline_crypt()
131 BUILD_BUG_ON(ARRAY_SIZE(pages) > BIO_MAX_VECS); in fscrypt_zeroout_range()
/linux/block/
A Dbio.c41 { .nr_vecs = BIO_MAX_VECS, .name = "biovec-max" },
54 case 129 ... BIO_MAX_VECS: in biovec_slab()
160 BUG_ON(nr_vecs > BIO_MAX_VECS); in bvec_free()
162 if (nr_vecs == BIO_MAX_VECS) in bvec_free()
197 if (*nr_vecs < BIO_MAX_VECS) { in bvec_alloc()
203 *nr_vecs = BIO_MAX_VECS; in bvec_alloc()
A Dfops.c254 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.c221 if (i++ < BIO_MAX_VECS) in __blk_queue_bounce()
A Dblk-lib.c300 return min(pages, (sector_t)BIO_MAX_VECS); in __blkdev_sectors_to_bio_pages()
A Dblk-map.c244 bio = bio_kmalloc(gfp_mask, iov_iter_npages(iter, BIO_MAX_VECS)); in bio_map_user_iov()
A Dblk-crypto-fallback.c220 if (++i == BIO_MAX_VECS) in blk_crypto_fallback_split_bio_if_needed()
/linux/drivers/nvme/target/
A Dpassthru.c65 max_hw_sectors = min_not_zero(BIO_MAX_VECS << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl()
204 if (req->sg_cnt > BIO_MAX_VECS) in nvmet_passthru_map_sg()
/linux/fs/squashfs/
A Dblock.c89 if (page_count <= BIO_MAX_VECS) in squashfs_bio_read()
/linux/fs/iomap/
A Ddirect-io.c302 nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS); in iomap_dio_bio_iter()
344 BIO_MAX_VECS); in iomap_dio_bio_iter()
A Dbuffered-io.c1189 bio = bio_alloc_bioset(GFP_NOFS, BIO_MAX_VECS, &iomap_ioend_bioset); in iomap_alloc_ioend()
1219 new = bio_alloc(GFP_NOFS, BIO_MAX_VECS); in iomap_chain_bio()
/linux/include/linux/
A Dbio.h13 #define BIO_MAX_VECS 256U macro
17 return min(nr_segs, BIO_MAX_VECS); in bio_max_segs()
/linux/fs/f2fs/
A Dsegment.h865 return 8 * BIO_MAX_VECS; in nr_pages_to_skip()
882 desired = BIO_MAX_VECS; in nr_pages_to_write()
/linux/fs/nilfs2/
A Dsegbuf.c402 wi->max_pages = BIO_MAX_VECS; in nilfs_segbuf_prepare_write()
/linux/fs/ext4/
A Dpage-io.c401 bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in io_submit_init_bio()
/linux/fs/
A Dmpage.c619 BIO_MAX_VECS, GFP_NOFS|__GFP_HIGH); in __mpage_writepage()
/linux/drivers/md/
A Ddm-crypt.c235 #define DM_CRYPT_MIN_PAGES_PER_CLIENT (BIO_MAX_VECS * 16)
3266 ret = mempool_init(&cc->page_pool, BIO_MAX_VECS, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr()
3408 if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_VECS << PAGE_SHIFT)) && in crypt_map()
3410 dm_accept_partial_bio(bio, ((BIO_MAX_VECS << PAGE_SHIFT) >> SECTOR_SHIFT)); in crypt_map()
A Ddm-writecache.c2046 g->wc_list_contiguous = BIO_MAX_VECS; in writecache_writeback()
2049 if (unlikely(e->wc_list_contiguous == BIO_MAX_VECS)) { in writecache_writeback()
A Draid5-cache.c738 struct bio *bio = bio_alloc_bioset(GFP_NOIO, BIO_MAX_VECS, &log->bs); in r5l_bio_alloc()
1637 ctx->ra_bio = bio_alloc_bioset(GFP_KERNEL, BIO_MAX_VECS, &log->bs); in r5l_recovery_allocate_ra_pool()
A Draid5-ppl.c499 bio = bio_alloc_bioset(GFP_NOIO, BIO_MAX_VECS, in ppl_submit_iounit()
/linux/fs/gfs2/
A Dlops.c268 struct bio *bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in gfs2_log_alloc_bio()
A Dfile.c790 pages = min_t(int, BIO_MAX_VECS, DIV_ROUND_UP(count, PAGE_SIZE)); in should_fault_in_pages()
/linux/fs/btrfs/
A Dscrub.c1425 bio = btrfs_bio_alloc(BIO_MAX_VECS); in scrub_recheck_block_on_raid56()
2228 bio = btrfs_bio_alloc(BIO_MAX_VECS); in scrub_missing_raid56_pages()
2844 bio = btrfs_bio_alloc(BIO_MAX_VECS); in scrub_parity_check_and_repair()
A Dcompression.c466 bio = btrfs_bio_alloc(BIO_MAX_VECS); in alloc_compressed_bio()
/linux/fs/erofs/
A Dzdata.c1304 bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in z_erofs_submit_queue()

Completed in 64 milliseconds

12